Java Mailing List Archive

http://www.junlu.com/

Home » JDOM Projects »

[jdom-interest] Parsing HTML elements

Paul Libbrecht

2012-11-20

Replies: Find Java Web Hosting

Author LoginPost Reply

Hello JDOm experts,

I'm hitting a wall here and I am not sure who is responsible.
Just like the previous series of post, I am trying to parse an HTML document.
In this case I use the CyberNeko HTML parser http://nekohtml.sourceforge.net/ which creates a SAX stream hence is easily convertible to a JDOM document.

Now, my big issue is that the document I have (which I cannot easily change right now) contains undeclared namespace-prefixed attribute-names!

Do I have a way to predefine the namespace somewhere?

thanks in advance

Paul
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.