OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Problem with getElementById()

[ Lists Home | Date Index | Thread Index ]

I want to get an element by its unique id. I set the attribute "id" to the
element. But when I called Document.getElementById(), it returns null. I'm
using Apache Batik DOM implementation. Does anybody ever used it? Or how to
use it in other packages like Xerces? I looked at Xerces API, but didn't
find any useful information.

Thanks a lot!

Gang Li
Design Engineer
EMC Corporation

                               \\\|///
                             \\  - -  //
                            (  @ @  )
-----------------------oOOo-(_)-oOOo-------------------
            Office Number: 508-249-1363
-----------------------------------------------------------------





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS