Skip to Content.
Sympa Menu

xom-interest - [Fwd: Re: [XOM-interest] need ideas for HTML manipulation]

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Luca Passani <passani AT eunet.no>
  • To: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: [Fwd: Re: [XOM-interest] need ideas for HTML manipulation]
  • Date: Thu, 05 May 2005 15:19:17 +0200


ooops. Forgot to send this to the list too

Luca

-------- Original Message --------
Subject: Re: [XOM-interest] need ideas for HTML manipulation
Date: Thu, 05 May 2005 14:52:29 +0200
From: Luca Passani <passani AT eunet.no>
To: Elliotte Harold <elharo AT metalab.unc.edu>
References: <42790624.9000908 AT eunet.no> <4279168D.8090600 AT metalab.unc.edu> <42795993.4080003 AT eunet.no> <42795A4A.8070307 AT metalab.unc.edu> <42796156.3070806 AT eunet.no> <427A09F8.5020207 AT metalab.unc.edu>



Elliotte Harold wrote:


It's a child but not a child element. You need getChildren(), not getChildElements().

I must be missing something simple. JavaDocs at http://www.xom.nu/apidocs/ don't mention
getChildren() for Element or its subclasses and the compiler complaind too:


[javac] symbol : method getChildren()
[javac] location: class nu.xom.Element
[javac] Elements td_els = element.getChildren();
[javac] ^
[javac] 1 error

Thanks

Luca









Archive powered by MHonArc 2.6.24.

Top of Page