← Prev in month ← Prev in thread

Problem with getElementById()

From
li, gang <>
To
"''" <>
Date
2002-09-24T15:49:01Z
ID
<9642811A28825940893525D544D11ADB45F2ED@srunitas>
Thread
Problem with getElementById()
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
-----------------------------------------------------------------
← Prev in month ← Prev in thread