xmlpatch-0----Page:7
1  2  3  4  5  6  7  8  9  10  11 

Namespace challenges continue
The receiver adds as the last child node(element) of the element (default behavior)
The target document context namespace is used for the element, i.e. the in-scope namespace from the patched document which has the ”urn:foo” namespace URI is selected for the element. The namespace URIs must be equal, only when there are several similar in-scope declarations, the declaration with the same prefix is selected.
Thus the operation below produces exactly the same result than the previous example:
xmlns:pre="urn:foo"


PPT Version