On Mar 28, 2005, at 2:05 PM, Adam Maccabee Trachtenberg wrote:
On Mon, 28 Mar 2005, Dmitry Stogov wrote:
Is there (out of curiosity) anyway to handle multiple attributes with the same local name that are in different namespaces?
No way.
http://www.w3.org/TR/REC-xml-names/#uniqAttrs
If I read this correctly, you can have attributes with the same local name, as long as they are bound to different namespaces. (Or one is in a NS and one is not.)
I think that's what George is getting at, i.e.
<foo xmlns:ns1="a" xmlns:ns2="b" ns1:bar="x" ns2:bar="y" />
You can have two "bar" attributes, as ns1 is "a" and ns2 is "b", so they are distinct.
Right. It's not clear how to support this with the syntax Dmitry demonstrated. It's not an issue for me at the moment, but might be later.
George
-- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php