Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Xpath parsing problem

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Mike Miller <mm8041 AT gmail.com>
  • To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Xpath parsing problem
  • Date: Thu, 3 Mar 2011 10:24:21 -0500

See, life could be Simple ;-) But if I want it to be, I now need to
configure XOM
with another XPATH engine, which results in more challenges. I just want my

document data, is that too much to ask ;-)

Thanks for the input and quick response time, much appreciated,
Mike

On Thu, Mar 3, 2011 at 10:17 AM, Michael Kay <mike AT saxonica.com> wrote:

>
> BTW: I did see an XOM example somewhere, where a person showed you do
>> something
>> like: doc.query("/*:tag1/*:tag2"); so as to wildcard or ignore
>> namespace
>> issues (which is
>> what I wanted to do). But XOM threw an exception about having a colon in
>> the xpath.
>> Is this doable?
>>
>> This is XPath 2.0 syntax. I think XOM still only comes with an XPath 1.0
> engine built-in. You can use an external XPath 2.0 engine though: Saxon
> works with XOM input.
>
>
> Michael Kay
> Saxonica
> _______________________________________________
> XOM-interest mailing list
> XOM-interest AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/xom-interest
>




Archive powered by MHonArc 2.6.24.

Top of Page