Concept Framework 2.2 documentation Contents | Index

standard.lib.xml.xmlSearchNs

Name Version Deprecated
xmlSearchNs version 1.0 no

Prototype:
number xmlSearchNs(number doc, number node, string namespace)

Parameters:
doc      the XML document
node      the current node
namespace      the namespace prefix

Description:
Search a Ns registered under a given name space for a document. recurse on the parents until it finds the defined namespace or return NULL otherwise. namespace can be an empty string, this is a search for the default namespace. We don't allow to cross entities boundaries. If you don't declare the namespace within those you will be in troubles !!! A warning is generated to cover this case.

Returns:
Returns the namespace pointer or null if not found.

Documented by Eduard Suica by adapting from http://xmlsoft.org/, generation time: Sun Jan 27 18:15:20 2013 GMT(c)2013 Devronium Applications