How to apply an xpath query to a document ?

2008-02-10 Thread Pascal Maugeri
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 fragment result in a new String. Could you give me some source code sample or a link ? Thanks in advance Pascal

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 fragment

Re: Help with integrating maven2 plugin and apache

2008-02-10 Thread Todd Nine
Bump, I've been struggling with this for 2 days. Note that my title is incorrect, is should say integrating maven 2 plugin and Eclipse. I've tried downgrading xmlbeans.xbean from 2.2.0 to 2.1.0, which didn't fix my issue. If I choose a version less than 2.1.0, the plugin completely blows up

Re: Help with integrating maven2 plugin and apache

2008-02-10 Thread Jacob Danner
Hi Todd, I'm not an eclipse user (IntelliJ IDEA), but I'll give it a try. Which maven plugin are you using, which version of eclipse? Have you queried the maven or eclipse projects for similar issues? -jacobd On Feb 10, 2008 6:21 PM, Todd Nine [EMAIL PROTECTED] wrote: Bump, I've been

Re: Help with integrating maven2 plugin and apache

2008-02-10 Thread David Jencks
I don't use eclipse. Apparently the eclipse doesn't work well with maven plugins that generate binary code that eclipse is supposed to recognize but not compile itself. In geronimo we've written a plugin that IIUC copies the generated code to a location that eclipse can find. A typical