Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - DOM XML getAttributeByID [Thread Next] Re: DOM XML getAttributeByIDTo: NULL Date: 1/4/2006 5:02:00 AM 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
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
