cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: JX and nodes with appostrophes
Date Mon, 19 Jan 2004 19:37:16 GMT
On 16.01.2004 17:28, Christopher Oliver wrote:

> It appears that your DOM object contains multiple text nodes under the 
> title element. How was it created? 
> Can't you just use #{./title} or #{string(./title)}?

But even with mixed content text() should return all text nodes. And how 
is it related to the postrophes? Sounds weird and more like a bug.

Joerg

> Upayavira wrote:
> 
>> I'm using jxtemplate with an entry like #{./title/text()}. When the 
>> text of the node includes an apostrophe, I need to use 
>> #{./title/text()}#{./title/text()[2]}#{./title/text()[3]} to get the 
>> full text.
>>
>> Is this correct behaviour?
>>
>> Regards, Upayavira

Mime
View raw message