A namespace declaration is represented by a syntax element with field type XML.NamespaceDecl.
Namespace declarations take one of two forms in the message tree:
<ns1:e1 xmlns:ns1="namespace1"/>
Namespace | http://www.w3.org/2000/xmlns/ |
---|---|
Name | ns1 |
Value | namespace1 |
<e1 xmlns="namespace1"/>
In
the message tree, the syntax element for this namespace declaration
is shown in the following table: Namespace | "" |
---|---|
Name | xmlns |
Value | namespace1 |