Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Java and parsing XHTML

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: luca <passani AT eunet.no>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Java and parsing XHTML
  • Date: Thu, 09 Sep 2004 12:53:36 +0200



Elliotte Harold wrote:

1. Why use HTTPClient? What you're suggesting could easily be done with the URL class or jjust XOM itself.

2. XHTML is just XML to XOM. It's parsed and searched like any other file. Check the tutorial or the samples package.

is there any XPath support in XOM so far?
is there a simple way to get a list of "img" elements out
of my XHTML document? or do I need to traverse
the whole document myself? What's the most efficient and/or
less memory intensive way to traverse the document?

thanks

Luca






Archive powered by MHonArc 2.6.24.

Top of Page