| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Parser
Parser.XML
Parser.XML.NSTree
Parser.XML.NSTree.NSNode

# Method Parser.XML.NSTree.NSNode()->add_namespace()

Method add_namespace

  `void add_namespace(string ns, void|string symbol, void|int(0..1) chain)`

Description

  Adds a new namespace to this node. The preferred symbol to use to identify the namespace can be provided in the symbol argument. If chain is set, no attempts to overwrite an already defined namespace with the same identifier will be made.