Package: cxml-stp

Function find-namespace

Lambda List

find-namespace (prefix element)

Arguments

  • prefix -- a string
  • element -- an instance of element

Return Value

the namespace URI (a string), or nil

Details

Find the namespace prefix declared on element or its parent and return its namespace URI, or return nil if no such namespace was found.

This functions returns the same result as find-local-namespace if the namespace is declared directly on element. Otherwise it takes into account namespaces declared on parent elements.
 

See also