standard.lib.xml.xmlSearchNsByHref

xmlSearchNsByHref is available since version 1.0.

Prototype:

number xmlSearchNsByHref(number doc, number node, string href)

Parameters

doc
the XML document
node
the current node
href
the namespace value

Description:

Search a Ns aliasing a given URI. Recurse on the parents until it finds the defined namespace or return null otherwise.

Return value:

Returns the namespace pointer or null if not found.