[closed] Re: p:set-attributes - attributes with the "xmlns" prefix

/ Toman_Vojtech@emc.com was heard to say:
| The specification of the p:set-attributes step (7.1.20) says:
|
| "Each attribute on the document element of the document that appears on
| the attributes port is copied to each element that matches the match
| expression."
|
| Does this apply also to namespace declarations (xmlns:* attributes)? If
| so, possible collisions in namespace declarations would need to be
| resolved.
|
| The same problem can be encountered also in p:add-attribute and p:rename
| (is it possible to rename an attribute so that its new name contains the
| xmlns prefix?)

No. Namespace declarations are not attributes. Yes, they look like
attributes and yes, they're mixed with attributes in some APIs, but
they are not, in infoset terms, "attributes".

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Everything should be made as simple as
http://nwalsh.com/            | possible, but no simpler.

Received on Friday, 8 February 2008 17:12:05 UTC