[Idom2-pas-interest] RE: AWS xml - default namespaces seems to be the issue here
Status: Beta
Brought to you by:
ufechner
From: Marco V. <ma...@dq...> - 2006-02-21 10:03:21
|
Hello, The recurse function that automatically registers namespaces and prefixes is a function that I wrote. As I indicated to Jeffrey it is a "convenience" function that I wrote and it won't work in all circomstances. It works for me because I *know* the xml I use it on does not use default namespaces and never "re-uses" namespace prefixes. Registering a namespace prefix twice with XPath will actually cause an exception I think. I seem to remember seeing it happen once. Yet another case where my function fails. As for handling default namespaces with XPath: Stupid me! Its so obvious that I didn't even come up with the solution. Must be getting old :P Marco |