Re: How to apply an xpath query to a document ?

2008-02-22 Thread Pascal Maugeri
ugeri [mailto:[EMAIL PROTECTED] > *Sent:* Thursday, February 14, 2008 2:58 AM > *To:* user@xmlbeans.apache.org > *Subject:* Re: How to apply an xpath query to a document ? > > Hi Jacob > > Is this from the plain XPath/Xquery sample? If so I'm not getting the > > sa

RE: How to apply an xpath query to a document ?

2008-02-14 Thread Wing Yew Poon
user@xmlbeans.apache.org Subject: Re: How to apply an xpath query to a document ? Hi Jacob Is this from the plain XPath/Xquery sample? If so I'm not getting the same issue, which makes me wonder if its something in your environment. well I don't know. Actually I&

Re: How to apply an xpath query to a document ?

2008-02-14 Thread Pascal Maugeri
Hi Jacob Is this from the plain XPath/Xquery sample? If so I'm not getting the > same issue, which makes me wonder if its something in your > environment. well I don't know. Actually I've followed the README: 1. Set XMLBEANS_HOME in your environment 2. Ant must be on your PATH 3. xbean_xpath.ja

Re: How to apply an xpath query to a document ?

2008-02-13 Thread Jacob Danner
Hi Pascal, Is this from the plain XPath/Xquery sample? If so I'm not getting the same issue, which makes me wonder if its something in your environment. If not, what is the code thats causing this (query, xsd, java, etc.) Thanks, -jacobd On Feb 13, 2008 8:10 AM, Pascal Maugeri <[EMAIL PROTECTED]>

Re: How to apply an xpath query to a document ?

2008-02-13 Thread Pascal Maugeri
Jacob I get the following error when I try to run the sample: [echo] == running XQueryXPath [java] Running ExecQuery.selectEmpsByStateCursor [java] [java] Exception in thread "main" java.lang.NullPointerException [java] at net.sf.saxon.quer

Re: How to apply an xpath query to a document ?

2008-02-10 Thread Jacob Danner
Take a peek at http://xmlbeans.apache.org/samples/XQueryXPath.html -jacobd On Feb 10, 2008 7:56 AM, Pascal Maugeri <[EMAIL PROTECTED]> wrote: > Hi > > I need to do this simple operation: having a XML document (as a String for > instance) I want to apply to it an XPath query and to get the XML fra