Releases: DetachHead/kotlinxpath
Releases · DetachHead/kotlinxpath
2.0
add support for xpaths that start with a single /
(the root of the document) by adding a +
at the start of the builder.
eg.
xpath {+div/p}.toString() //outputs "/div/p"
unfortunately there's no unaryDiv
operator overload so this is the best i could do.
btw: any
(//
) and anyNode
(//*
) shortcuts use it
1.0
Merge pull request #54 from DetachHead/release Release