<I posted this earlier on the developer's list, but got no response. Hopefully, there is somebody with an onaswer on this list ...>
Hi, I have a problem in understanding how the DOMNamedNodeMap::getNamedItemNS( <namespace>, <localname> ) method is supposed to be used. Consider the following sample xml file: ==== <?xml version="1.0"?> <note xmlns="http://www.w3schools.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com note.xsd"> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note> ==== I would like to obtain the schema location, "http://www.w3schools.com note.xsd" If I set <namespace> to "http://www.w3.org/2001/XMLSchema-instance" and <localname> to "schemaLocation" (both as XMLCh strings) the call to getNamedItemNS( <namespace>, <localname> ) returns a nil pointer. How am I supposed to use this function? Your help is greatly appreciated. Regards, Bertwim
