Skip to content

dytttf/xpath-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xpath-parser

a xpath expression parser

Examples

from xpath_parser import XpathExpression

xp1 = XpathExpression("//div[@id='list']/a")
xp2 = XpathExpression("./a/@href")
assert xp1.nodes[-1].name == xp2.nodes[0].name

Releases

Packages

Used by

Contributors

Languages