Hi,
I try to extract the Cdata by the follow query:
for $x in doc('input.xml')//App//package//text() return $x
On the follow xml
<?xml version="1.0" encoding="UTF-8"?> <App name="BasexTest_1"> <package name="main/resources/xml"> <![CDATA[ -- dd --]]> <!-- ff --> <file name="input.xml"></file> </package> <!-- ff --> <package name="org/basex/examples/local"> <file name="RunCommands.java"></file> <!-- dd --> <!-- ff --> <folder>lib</folder></package> </App>
and it is not return the cdata ,why ?
Thanks Eitan