friends anyone know how to find one node contain cdata or pcdata as innertext, any one help me.
<link>sample text</link>
<link><![CDATA[cdatacontent]]></link>
In this node link contains both CDATA and PCDATA, how to find difference
friends anyone know how to find one node contain cdata or pcdata as innertext, any one help me.
<link>sample text</link>
<link><![CDATA[cdatacontent]]></link>
In this node link contains both CDATA and PCDATA, how to find difference
any possible way to solve via xslt ?
No, because they represent the same data.
See here:
Text in a CDATA section looks exactly the same to the XSLT processor as text outside a CDATA section. For example,
<![CDATA[xxx]]>
looks exactly likexxx
<![CDATA[<>]]>
looks exactly like<>
This is because they are intended to be equivalent ways of writing the same thing.