0
I Use This!
Activity Not Available

Project Summary

Why?In a world full of bloat it's hard to move forward. Step aside and look for other ways to deal with XML. Forget W3C, DOM and SAX.

Open your mind.

XML is just a string. You don't need several megabytes of libraries for that. Just cut through and get what you are looking for.

XML Zen is here to help.

If you use Java and share same beliefs, write an email to tomas.varaneckas@gmail.com and join the development.

Read the Motivation for more details.

How?XmlBuilder ExampleCodeString xml = XmlBuilder.newXml()
.openTag("xml").withAttribute("id", 1)
.openTag("thisishow")
.withValue("you can build")
.closeTag()
.openTag("your").withAttribute("xml", "nicely").toString();XML (formatted)

you can build


XmlSlicer ExampleXML


1
2
3




4
5
6


7
8
9


Code//gets "6"
String value = XmlSlicer.cut(xmlString).get("tagB").get("innerTag1").get("tag3").toString();ExplanationThe following code creates a new instance of XmlSlicer for input String (xmlString).

XmlSlicer.cut(xmlString)As slicer can slice into a unique tag, to get the value of /tagB/innerTag1/tag3 we have to get deeper two times before tag3 becomes unique.

First cut (tag2) returns:

4
5
6

7
8
9
Second cut (innerTag1) returns:

4
5
6And the last cut (tag2) gets our value - 6.

Tags

java library parser utility xml xpath

In a Nutshell, xmlzen...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Apache License 2.0
Permitted

Place Warranty

Sub-License

Private Use

Use Patent Claims

Commercial Use

Modify

Distribute

Forbidden

Hold Liable

Use Trademarks

Required

Include Copyright

State Changes

Include License

Include Notice

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    you can subscribe to e-mail newsletters to receive update from the Open Hub blog
  • ...
    55% of companies leverage OSS for production infrastructure
  • ...
    check out hot projects on the Open Hub

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis