[prev in list] [next in list] [prev in thread] [next in thread]
List: xml-cocoon-dev
Subject: Re: [cforms] DocumentType, was: XML Fragements in widgets
From: Daniel Fagerstrom <danielf () nada ! kth ! se>
Date: 2005-09-29 11:15:12
Message-ID: 433BCCC0.3060507 () nada ! kth ! se
[Download RAW message or body]
Sylvain Wallez wrote:
> Vadim Gritsenko wrote:
>
>>> I've had for months an unfinished and therefore uncommitted XML
>>> datatype on my hard disk and the associated convertors. Want to
>>> finish them?
>>
>> Tried to do a DocumentType (based on DOM Document), but ran into an
>> issue: jxpath returns String instead of Document in ValueJXPathBinding:
>>
>> Object value = jxpc.getValue(this.xpath);
>>
>>
>> Were you able to get around this?
>
> No, I didn't went that far...
>
> Does this mean that jxpc.getValue() collects text nodes rather than
> returning the DOM?
Yes, a disturbing "feature" of JXPath that I have had problems with more
than once. Use jxpc.getNode() instead.
/Daniel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic