[PHP] Re: [PHP-XML-DEV] DomXPath and default XML namespaces

2004-12-13 Thread Christian Stocker
On 14.12.2004 6:45 Uhr, Dan Phiffer wrote: Adam Maccabee Trachtenberg wrote: This is an XPath FAQ. Without a ns prefix, XPath doesn't choose elements living in the default ns, but ones living in no namespace. Are there any good references you might point me to? I'm pretty new to this stuff and

[PHP] Re: [PHP-XML-DEV] DomXPath and default XML namespaces

2004-12-13 Thread Adam Maccabee Trachtenberg
On Mon, 13 Dec 2004, Dan Phiffer wrote: I guess what I would expect to work is to allow for blank values as the first argument to registerNamespace, representing the default namespace, but that causes the queries to always return no matches. Is there something I'm missing with this? This is

[PHP] Re: [PHP-XML-DEV] DomXPath and default XML namespaces

2004-12-13 Thread Dan Phiffer
Adam Maccabee Trachtenberg wrote: This is an XPath FAQ. Without a ns prefix, XPath doesn't choose elements living in the default ns, but ones living in no namespace. Are there any good references you might point me to? I'm pretty new to this stuff and beyond my in a Nutshell book don't have many

[PHP] Re: [PHP-XML-DEV] DomXPath and default XML namespaces

2004-12-13 Thread Adam Maccabee Trachtenberg
On Mon, 13 Dec 2004, Dan Phiffer wrote: Adam Maccabee Trachtenberg wrote: This is an XPath FAQ. Without a ns prefix, XPath doesn't choose elements living in the default ns, but ones living in no namespace. Are there any good references you might point me to? I'm pretty new to this stuff