EDN Admin
Well-known member
Hi,<br/>
<br/>
I am trying to get the CDATA content of an XML node using XSL. <br/>
The XML currently looks like this:<br/>
<br/>
<body><br/>
<![CDATA[ This is a dummytext. <br/>
<div class="abc <br/>
<img>some img </img><br/>
<br/>
<br/>
dummy text <br/>
<br/>
]]><br/>
<br/>
</body><br/>
<br/>
My scenario is to check whether the cdata contains div tag or not.<br/>
If the div tag is there i have to check it contains image to display otherwise remove the div tag and display
<br/>
only the text out side of the div tag..<br/>
<br/>
Can we do it using XSLT?
View the full article
<br/>
I am trying to get the CDATA content of an XML node using XSL. <br/>
The XML currently looks like this:<br/>
<br/>
<body><br/>
<![CDATA[ This is a dummytext. <br/>
<div class="abc <br/>
<img>some img </img><br/>
<br/>
<br/>
dummy text <br/>
<br/>
]]><br/>
<br/>
</body><br/>
<br/>
My scenario is to check whether the cdata contains div tag or not.<br/>
If the div tag is there i have to check it contains image to display otherwise remove the div tag and display
<br/>
only the text out side of the div tag..<br/>
<br/>
Can we do it using XSLT?
View the full article