Re: Question for implementors: XPath model and CDATA sections

At 23:43 02/02/15 +0100, Christian Geuer-Pollmann wrote:
>--On Freitag, 15. Februar 2002 15:02 -0500 Joseph Reagle <reagle@w3.org> 
>wrote:
>
>>I can certainly undertake to respond to any issues related to the specs
>>and  forward requests on, but I'm not sure what one can do with respect
>>to Xalan  since I'm not closely involved with that work. But I think
>>there are a few  implementors here using Xalan, so perhaps they could
>>share their  experiences or come up with an approach?
>
>At the moment, I'm a little bit confused. I don't know whether it's 
>possible to create an obfuscated XPath transform which selects only parts 
>of a sequence of Text/CDATA nodes?

You can always select parts of element content, with something
like substring. But then it's a string, out of context. There
is no way in XPath to know where a CDATA section starts or ends.

Regards,   Martin.

Received on Sunday, 17 February 2002 19:45:06 UTC