Answer the question
In order to leave comments, you need to log in
How to get value from CDATA using xpath?
Hello.
I have an xml file with the following lines
<ROW>
<COLUMN NAME="STOREDATE"><![CDATA[10.10.19]]></COLUMN>
<COLUMN NAME="BEGINPROCESSTIME"><![CDATA[19.12.09 13:35:47,000000000]]></COLUMN>
<COLUMN NAME="PROCESSTIME"><![CDATA[19.12.09 13:35:48,188000000]]></COLUMN>
</ROW>
ROW/COLUMN[@NAME='STOREDATE']
Get result
using expression<COLUMN NAME="STOREDATE"><![CDATA[10.10.19]]></COLUMN>
ROW/COLUMN[@NAME='STOREDATE']/text()
but as a result I got an empty string Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question