L
Lucky
Hi guys!
i've made one Regx that extract values from xml nodes. the problem is
with the node that has CDATA.
XML DATA:
<tag1>qfa f453q4tw34656</tag1>
<tag2>vv4642663735673</tag2>
<Text>
<![CDATA[abcdefghidfalknaf afaoifan favnaåo qwf023ru920348292r
qråq9340 urq4r]]>
</Text>
REGULAR EXPRESSION:
<(?<tag>\w*)>(?<text>.*)</\k<tag>>
Current Result:
the nodes with the CDATA are not getting included in the matches.
Expected Result:
i need values of all nodes regardless what kind of values they have.
Tools:
c#.net 2.0 (VS.NET 2005)
please let me know if you need more details on this. and someone knows
some solution of the problem please let me know.
thanks,
Lucky
i've made one Regx that extract values from xml nodes. the problem is
with the node that has CDATA.
XML DATA:
<tag1>qfa f453q4tw34656</tag1>
<tag2>vv4642663735673</tag2>
<Text>
<![CDATA[abcdefghidfalknaf afaoifan favnaåo qwf023ru920348292r
qråq9340 urq4r]]>
</Text>
REGULAR EXPRESSION:
<(?<tag>\w*)>(?<text>.*)</\k<tag>>
Current Result:
the nodes with the CDATA are not getting included in the matches.
Expected Result:
i need values of all nodes regardless what kind of values they have.
Tools:
c#.net 2.0 (VS.NET 2005)
please let me know if you need more details on this. and someone knows
some solution of the problem please let me know.
thanks,
Lucky