Pike v8.0 release 1738

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


Method add_namespace

void add_namespace(string ns, void|string symbol, void|bool 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.