L
Lals
Hi,
I am stuck in problem involving transformation where I want to put my
source contents as itself in the target XML
My input xml looks like
<root>
<State name = "abc">
mystate<sub1>xx</sub1>
<p>This is description</p>
</State>
</root>
My output XML will look like ( I want to put all the contents inside
the 'state' tag to 'CDATA' section as itself)
<root>
<State name = "abc">
<!CDATA[
mystate<sub1>xx</sub1>
<p>This is description</p>]]>
</State>
</root>
How can I achieve this transformation using XSLT?
any information will be a great help for me.
thanks in advance
Regards,
Lals
I am stuck in problem involving transformation where I want to put my
source contents as itself in the target XML
My input xml looks like
<root>
<State name = "abc">
mystate<sub1>xx</sub1>
<p>This is description</p>
</State>
</root>
My output XML will look like ( I want to put all the contents inside
the 'state' tag to 'CDATA' section as itself)
<root>
<State name = "abc">
<!CDATA[
mystate<sub1>xx</sub1>
<p>This is description</p>]]>
</State>
</root>
How can I achieve this transformation using XSLT?
any information will be a great help for me.
thanks in advance
Regards,
Lals