🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

org.xpur:xpur

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

org.xpur:xpur

XPur is a cute XML parser for Groovy. It's build on StAX and is capable of handling huge XML files with low memory overhead.

Source
mavenMaven
Version
0.7
Version published
Maintainers
1
Source

== image:https://raw.githubusercontent.com/eyforia/xpur/gh-pages/images/logo-small.png[Logo] XPur - StAX XML parser for Groovy

[[img-build-status]] image::https://travis-ci.org/eyforia/xpur.svg?branch=master[Build Status, link="https://travis-ci.org/eyforia/xpur"]

Minimalistic XML parser for huge XML files, written in http://www.groovy-lang.org[Groovy]

License: https://www.apache.org/licenses/LICENSE-2.0[Apache v2]

=== Usage: Parse https://github.com/eyforia/xpur/blob/master/src/test/resources/org/xpur/cars.xml[cars.xml] - print id, make & model for each car:

[[app-listing]] [source,groovy] .Example.groovy

InputStream source = new FileInputStream("cars.xml") XmlIterator cars = new XmlIterator(source, "car") cars.each { car -> println "${car.id} ${car.make} ${car.model}" }

[source,groovy] .OneLiner.groovy

new XmlIterator(source, "car").each {println "${it.make} ${it.model}"}

[[app-listing]] [source,groovy] .Gradle

implementation 'org.xpur:xpur:0.7'

[[app-listing]] [source,xml] .Maven

org.xpur xpur 0.7 ----

Download: http://repo.maven.apache.org/maven2/org/xpur/

Project Page: http://xpur.org

FAQs

Package last updated on 13 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts