Changes

Jump to: navigation, search

DOM/XPath Generator

1 byte added, 01:59, 13 January 2006
m
Proposed IDL
</pre>
The resolver of each XPathGenerator object would not be a standard document.createNSResolver(node) object. Instead, the XPathGenerator object will create and maintain the resolver independently. This will allow the resolver generator to add additional namespaces transparently and harmlessly as needed.
Certain consumers may wish to have attributes included in the xpath (for example, /a[href='foo.html'] or /a[href][2] instead of /a[5]). The includeAttributeNS() method exists for this purpose. Also, as consumers are generally expected to reuse the same generator, excludeAttributeNS allows consumers to exclude an attribute previously included, and clearAttributes() excludes all attributes currently in the search queue.
Confirm
146
edits

Navigation menu