I'm sorry this follow up comes months late but I just addressed some packaging issues with xpath-range last week and this may be fixed.
On Thu, Mar 17, 2016 at 11:14 AM Marija Katic <m.ka...@bbk.ac.uk> wrote: > Hi All, > > I am trying to use xpath-range, version 1.1.0, to get a Range object based > on xpaths and offsets obtained through annotation format. Particularly, I > am calling method: > toRange(start, startOffset, end, endOffset, [root]) > However, it does not seem to work. It throws Type error: ""xpath is > undefined". > I have also tried to hard-code input values as well as to use > document.evaluate on start and end expressions to check if they are null. > > Any help would be very appreciated! > Thank you so much!! > Kind regards, > Maria > _______________________________________________ > annotator-dev mailing list > annotator-dev@lists.okfn.org > https://lists.okfn.org/mailman/listinfo/annotator-dev > Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev >
_______________________________________________ annotator-dev mailing list annotator-dev@lists.okfn.org https://lists.okfn.org/mailman/listinfo/annotator-dev Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev