|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Conditional Transformition for CDATA node
Can you write a match for an element containing CDATA? The thought
is: raw web content in a CDATA element, and some web content will be
well formed. So I might have something like:
<root>
<data>
<div>foo bar<br/>foo bar</div><!-- well formed -->
</data>
<data><![DATA[
<p>not so foo<br>barf<!-- not well formed -->
]>
</data>
</root>
In one case, I'd simply xsl:value-of the data element, and in the
other case, I'd write an identity transformation for it.
Thanks,
Karl..
|
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








