Hi,

I execute the follow query

for $x in doc('input.xml')//App//package//comment() return $x

on the follow XML file

<?xml version="1.0" encoding="UTF-8"?>
<App name="BasexTest_1">
 <package name="main/resources/xml">
    <!-- 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 I expect to get the comment but the resault is empty , why ?

Thanks
Eitan Elmalam