[jdom-interest] getElementsByTagName

Damien Dudouit damien at ssl.co.uk
Thu Feb 28 07:36:50 PST 2002


See the Doc API, org.ldom.Element:

--- extract ---
List getChildren(String name) 
           This returns a List of all the child elements nested directly (one level deep) within this element with the given local name and belonging to no namespace, returned as Element objects. 
List getChildren(String name, Namespace ns) 
           This returns a List of all the child elements nested directly (one level deep) within this element with the given local name and belonging to the given Namespace, returned as Element objects. 

I advise you to have a closer look that doc and possible the FAQ before any other question.

Damien.

>>> Hello,

I'm new on this list and JDOM and I would know if someone implemented a function like 'getElementsByTagName(ElmentName)' with could return a java.util.List of org.jdom.Elements

thanks

Cedric <<<
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20020228/0f6f2546/attachment.htm


More information about the jdom-interest mailing list