[XOM-interest] unable to get xquery to work
Elliotte Harold
elharo at metalab.unc.edu
Fri Apr 4 09:30:12 EDT 2008
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/
More information about the XOM-interest
mailing list