[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] problem with processing CDATA tags in xml
Hi all, I have a problem processing following tag: The original tag before transformation was: <Value><![CDATA[G<sub>p(max)</sub> is the maximum power gain, if K > 1. If K < 1 then G<sub>p(max</sub> = MSG.]]></Value> After transformation it becomes like below (which is the input from which I need to continue processing) <Value>G<sub>p(max)</sub> is the maximum power gain, if K > 1. If K < 1 then G<sub>p(max)</sub> = MSG.</Value> My customer wants to use <sub> and <sup> tags so in the rendition it's formatted nicely. Normally this did not cause any problems but now they have a mix of <sub> tags and '>' (greather then) and '<' (smaller then)... When I use <xsl:value-of select="." disable-output-escaping="yes"/> I get invalid xml for this particular case. Does anyone have a bright idea how to solve these kinds of problems in a nice way? Thx in advance, Robby
|
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
|