Are you using an "ID" attribute, or "id"? From memory, at one stage dom4j did not process the latter. - Thomas.
At 10:59 15/07/2002 -0400, Tom Oehser wrote: >Hi, > >I am converting existing w3c-dom stuff to dom4j. > >In the w3c stuff, there is code using "getElementById()". > >When I parse into dom4j, both "elementByID()" and the >"getElementById()" of DOMs from DOMWriter give null. > >The documentation says something about the tree not >being capable of knowing what attribute to use- but >I can't figure out what is necessary to make it work, >or, best, make the DOM from DOMWriter work, the way >the existing DOM code works... > > >-Tom > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >dom4j-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/dom4j-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user