Xpath StAX parser

Xpath evaluator on StAX parser

License

License

GroupId

GroupId

org.polyglotted
ArtifactId

ArtifactId

xpath-stax
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

Xpath StAX parser
Xpath evaluator on StAX parser
Source Code Management

Source Code Management

https://github.com/polyglotted/xpath-stax

Download xpath-stax

How to add to project

<!-- https://jarcasting.com/artifacts/org.polyglotted/xpath-stax/ -->
<dependency>
    <groupId>org.polyglotted</groupId>
    <artifactId>xpath-stax</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.polyglotted/xpath-stax/
implementation 'org.polyglotted:xpath-stax:1.0.0'
// https://jarcasting.com/artifacts/org.polyglotted/xpath-stax/
implementation ("org.polyglotted:xpath-stax:1.0.0")
'org.polyglotted:xpath-stax:jar:1.0.0'
<dependency org="org.polyglotted" name="xpath-stax" rev="1.0.0">
  <artifact name="xpath-stax" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.polyglotted', module='xpath-stax', version='1.0.0')
)
libraryDependencies += "org.polyglotted" % "xpath-stax" % "1.0.0"
[org.polyglotted/xpath-stax "1.0.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.6.1
com.google.guava : guava jar 12.0
org.codehaus.woodstox : woodstox-core-asl jar 4.1.3

test (2)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 0.9.29
junit : junit-dep jar 4.10

Project Modules

There are no modules declared in this project.

xpath-stax

CircleCI

XPath expression markup built on top of StAX streaming parser

XPath syntax support is very limited on this version and can parse forward only.

The current supported notations are

  • /Root/Node/SubNode - Only fully qualified expressions starting from the root
  • /Root/Node[@attribute] - Supports predicate which find an attribute in any path of the node
  • /Root/Node[@attribute='value'] - Supports predicate which find attribute with matching value (String only supported)
  • /Root/Node/* - Registers all the children of the given node
org.polyglotted

Polyglotted

Versions

Version
1.0.0