|
I
think that JXPath doesn’t understand the cocoon:/
scheme. You should use the source resolver, resolve the source, Parse
it, and pass the document to JXPathContext.newContext(); -----Original Message----- Hi cocoon
developers, Im trying to use
JXPath to read the value of xml file in a flow, like that: var context =
org.apache.commons.jxpath.JXPathContext.newContext("cocoon:/xmldata/users.xml"); The xml file is: <autentication> <users> <user id="1"> <userName type="internal"
lang="it">Roberto</userName> <pwd>pippo</pwd> </user> </autentication> The problem is that
the value variable is null. What's wrong with me? Thanx in advance Cheers Roberto |
- Re: JXPath Bart Molenkamp
- Re: JXPath Roberto
- Re: JXPath Roberto
- Re: JXPath Vilya Harvey
- RE: JXPath Bart Molenkamp
- RE: JXPath Bart Molenkamp
- Re: JXPath Roberto
