Skip to content

oxygenxml-incubator/web-author-xpath-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XPath evaluator plugin (Experimental)

Experimental plugin that adds functions to evaluate XPath functions (compatible with version 22.1+).

It adds two functions on the EditingSupport instance: evaluateXPathAtSelection and evaluateXPath. They take 3 parameters:

Example

editor.getEditingSupport().evaluateXPathAtSelection('./ancestor-or-self::table', null, XPathResult.UNORDERED_NODE_ITERATOR_TYPE).iterateNext()

NOTICES

This library uses the Wicked Good XPath library (https://github.com/google/wicked-good-xpath) which is MIT licensed.

Copyright and License

Copyright 2023 Syncro Soft, SRL.

This project is licensed under MIT License

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •