Skip to content

santhosh-tekuri/xpathparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xpathparser

License GoDoc Go Report Card Build Status codecov.io

Package xpathparser provides lexer and parser for XPath 1.0.

This Package parses given XPath expression to expression model.

Example

An example of using this package:

expr := xpathparser.MustParse("(/a/b)[5]")
fmt.Println(expr)

This package does not evaluate xpath. For evaluating xpaths use https://github.com/santhosh-tekuri/xpath