Concept Framework 1.0 documentation Contents | Index

standard.lib.xml.xmlNewNs

Name Version Deprecated
xmlNewNs version 1.0 no

Prototype:
number xmlNewNs(number node, string href, string prefix)

Parameters:
node      the XML node handle
href      the URI associated
prefix      the prefix for the namespace

Description:
Creation of a new Namespace. This function will refuse to create a namespace with a similar prefix than an existing one present on this node. We use href as an empty string in the case of an element creation where the namespace was not defined.

Returns:
Returns a new namespace handle or null if failed.

Documented by Eduard Suica by adapting from http://xmlsoft.org/, generation time: Thu Oct 15 20:02:08 2009 GMT(c)2009 RadGs Software