Subject: Re: RE: PLEASE HELP: SAX events and CDATA problem when using transformation chaining
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 7 Apr 2003 15:04:07 +0100
|
> <RDF>
> <description><<<<MY TEST>>>></description>
> </RDF>
>
That is exactly equivalent to the version using CDATA marked section.
So why is this output a problem? It should be the same kind of thing as
if attribute quotes change from a="b" to a='b' it is just a difference
at the surface syntax, not in the underlying result tree.
Like all features of xsl:output, cdata-section-elements="description"
is only a hint to the serialiser, which may be ignored, and in
particular if you pass the result tree directly as a tree to another
process, then this XSLt process will not serialise the tree at all, and
so all these hints will not be used.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|