Re: dom java xml getAttributeByID
- From: "Rafael Amar" <rafiamar@xxxxxxxxx>
- Date: 4 Jan 2006 05:01:16 -0800
i found the answer.....
for (int i = 0; i < Cycle.getLength(); i++) {
org.w3c.dom.NamedNodeMap ggg =
((org.w3c.dom.Element)Cycle.item(i)).getAttributes();
String gggg = ggg.getNamedItem("ID").toString();
int index =gggg.indexOf("Pete");
if ( index == -1){
not found
}
else{found}
Thanks
Rafael Amar
.
- References:
- dom java xml getAttributeByID
- From: rafiamar
- Re: dom java xml getAttributeByID
- From: Andrew Thompson
- Re: dom java xml getAttributeByID
- From: Rafael Amar
- Re: dom java xml getAttributeByID
- From: Andrew Thompson
- dom java xml getAttributeByID
- Prev by Date: Re: NullPointerException
- Next by Date: Re: executable file
- Previous by thread: Re: dom java xml getAttributeByID
- Next by thread: Getting started
- Index(es):