Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] unable to get xquery to work

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: William Chu <willchu AT gmail.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] unable to get xquery to work
  • Date: Fri, 04 Apr 2008 06:30:12 -0700

William Chu wrote:
Hello,

I am trying to apply a simple xquery to a very basic page.

The query is this: /html


That's your problem, I expect. It should be something like /xhtml:html where xhtml is mapped to the XHTML namespace. If I recall correctly, TagSoup reports all elements in the XHTML namespace.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/




Archive powered by MHonArc 2.6.24.

Top of Page