Gdome2 Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
struct GdomeXPathNSResolver; GdomeXPathNSResolver* gdome_xpnsresolv_mkref (GdomeNode *nodeResolver); void gdome_xpnsresolv_ref (GdomeXPathNSResolver *self, GdomeException *exc); void gdome_xpnsresolv_unref (GdomeXPathNSResolver *self, GdomeException *exc); GdomeDOMString* gdome_xpnsresolv_lookupNamespaceURI (GdomeXPathNSResolver *self, GdomeDOMString *prefix, GdomeException *exc); |
This implements the DOM Level 3 XPath W3C Working Draft 08 February 2002. API SUBJECT TO CHANGE!
The GdomeXPathNSResolver interface permit prefix strings in the expression to be properly bound to namespaceURI strings. GdomeXPathEvaluator can construct an implementation of GdomeXPathNSResolver from a node, or the interface may be implemented by any application.
void gdome_xpnsresolv_ref (GdomeXPathNSResolver *self, GdomeException *exc); |
Increase the reference count of the XPathNSResolver structure.
void gdome_xpnsresolv_unref (GdomeXPathNSResolver *self, GdomeException *exc); |
Decrease the reference count of the XPathNSResolver. Free the structure if XPathNSResolver will have zero reference.
GdomeDOMString* gdome_xpnsresolv_lookupNamespaceURI (GdomeXPathNSResolver *self, GdomeDOMString *prefix, GdomeException *exc); |
Look up the namespace URI associated to the given namespace prefix. The XPath evaluator must never call this with a null or empty argument, because the result of doing this is undefined.