#17 XPath does not select anything (namespace problem?)

open
nobody
None
5
2010-03-09
2010-03-09
jpstotz
No

Using the attached xml file as source xml file I am trying to replace/set certain attributes but xmltask does nothing.
Then I tried to print out certain keys but this fails, too:

<xmltask source="internal.xml" dest="out.xml">
<print path="/beans" />
<print path="//beans" />
<print path="//bean" />
<print path="//key" />
</xmltask>

This task does not output anything - but from my understanding of XPath it should output several nodes.
The only XPath selector that returns something is "/*"

xmltask version: 1.16.1
Java 1.6 latest
Environment: Windows XP

Discussion

  • jpstotz
    jpstotz
    2010-03-09

     
    Attachments