|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: cdata-section-elements - not wrapping real xml in
> I guess it's happening b/c I only told the processor that the text of > myElement itself should be cdata, but once there's valid xml inside (ie. > more elements), then it's a new element. (correct me if I'm wrong.) not a new element, but the cdata-section hint only applies to text nodes, clearly you can't have elements inside a CDATA section, that's their whole point. If you are trying to produce <abc><![CDATA[<x>aaa</x>]]></abc> then note that this is the same as <abc><x>aaa</x></abc> so you need to create an abc with just that single text node in your stylesheet, and then use the cdata-elements to request that it be output using CDATA rather than < (although it shouldn't make any difference to the following application which form is used) David -- http://www.dcarlisle.demon.co.uk/matthew XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








