Skip to content

Releases: DetachHead/kotlinxpath

2.0

11 Nov 09:59
Compare
Choose a tag to compare

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

11 Oct 15:29
cc99f57
Compare
Choose a tag to compare
1.0
Merge pull request #54 from DetachHead/release

Release