> You can also use setXPathNamespaceURIs(Map) in > DocumentFactory to affect selectNodes() and > selectSingleNode() for a DOM tree that you create with > this Factory.
That's another good way of doing this. > Here's a bit of code that I'm using since I'm writting a > DOMServlet API and don't think that the user should > have to mess with any namespace nonsense: I wouldn't recommend this. Namespaces might make XML and XPaths a little bit trickier but I believe it pays off in the end to implement this correctly. Regards, Edwin -- http://www.edankert.com/ N�HY隊X���'���u���[������� ަ�k��!���W�~�鮆�zk��C� [EMAIL PROTECTED],����a{� ��,�H��4�m�����Z��jY�w��ǥrg