Hi everybody there,
Hope you guys can help me here. I am having an XML that contains CDATA sections and these CDATA sections contain text and the HTML Formating tags for formatting that text something like
<Tag><![CDATA[ <FONT size="10"> <I> Hello & There </I> </FONT>]]>
Now as you see here this CDATA section contains tags as well as may contain some more special characters like '&' here.
I have written an XSL to transform this XML. Now the thing is that i want to process the content of CDATA section as well lets say i want to replace <FONT size="10"> <I> Hello & There </I> </FONT> with <fo:inline font-size="10"> Hello & There </fo:inline>
I am not able to find a way to process the content of CDATA and apply transformation to it.
Please let me know if anybody knows a way to do this. I have ready templates for html formatting tags which may appear in CDATA section but i don't know a way to subject this content to these templates.
Thanks in advance for ur replies
Hope you guys can help me here. I am having an XML that contains CDATA sections and these CDATA sections contain text and the HTML Formating tags for formatting that text something like
<Tag><![CDATA[ <FONT size="10"> <I> Hello & There </I> </FONT>]]>
Now as you see here this CDATA section contains tags as well as may contain some more special characters like '&' here.
I have written an XSL to transform this XML. Now the thing is that i want to process the content of CDATA section as well lets say i want to replace <FONT size="10"> <I> Hello & There </I> </FONT> with <fo:inline font-size="10"> Hello & There </fo:inline>
I am not able to find a way to process the content of CDATA and apply transformation to it.
Please let me know if anybody knows a way to do this. I have ready templates for html formatting tags which may appear in CDATA section but i don't know a way to subject this content to these templates.
Thanks in advance for ur replies