65
edits
Changes
→Proposed IDL
Implementation: [https://bugzilla.mozilla.org/show_bug.cgi?id=319768 Bug 319768]
I think we should add a generateXPointer function too, since it's trivial to implement once we have implemented generateXPath and the resolver. You just need to serialize the namespace mappings from the resolver following the [http://www.w3.org/TR/xptr-xmlns/ XPointer xmlns() scheme] and use the [http://www.w3.org/TR/xptr-xpointer/ XPointer xpointer() scheme] for the result of generateXPath. -- Peter Van der Beken