This repository has been archived by the owner on Mar 15, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
# Totoe | ||
# Genesis | ||
Totoe ([Maori for "to split, devide"](http://www.maoridictionary.co.nz/index.cfm?dictionaryKeywords=totoe)) is a XML parser for GWT. Totoe comes with [JSONPath](http://www.sitepen.com/blog/2008/03/17/jsonpath-support/) support when parsing JSON and XPath and namespace support when parsing XML. It originated from [Pirit](https://github.com/hpehl/piriti) a JSON and XML mapper for GWT. | ||
|
||
[![Build Status](https://travis-ci.org/hpehl/totoe.png?branch=master)](https://travis-ci.org/hpehl/totoe) | ||
## JSON | ||
Totoe uses [JSONPath](http://www.sitepen.com/blog/2008/03/17/jsonpath-support/) to evaluate JSONPath expressions. | ||
|
||
## XML | ||
For the XML parsing Totoe relies on [Sarissa](http://dev.abiss.gr/sarissa/). Sarissa is a great cross browser XML parser for javascript. Essentially Totoe is a GWT port of Sarissa with the goal to offer a similar API as the GWT XML module. Right now the focus is on parsing XML - there are no methods to create, insert or append documents, elements or nodes. Those features might come in later releases. The big advantage over the GWT XML module is IMHO a cleaner API and the support of XPath and namespaces. | ||
|
||
## Features / Limitations | ||
* Support for [JSONPath](http://www.sitepen.com/blog/2008/03/17/jsonpath-support/) expressions | ||
* XML parser with similar API as the GWT XML module | ||
* Support for XPath | ||
* Namespaces support in IE7 and IE8 | ||
* Right now no support to create, insert or append documents, elements or nodes. | ||
|
||
JSON and XML parser for GWT with json/xpath and namespace support | ||
## Totoe-Tester | ||
If you want to take a quick look at Totoes features feel free to go to http://totoe-tester.appspot.com/. There you can enter arbitrary JSON / XML and test your XPath / JSONPath expressions. | ||
|
||
## Build Status | ||
[![Build Status](https://travis-ci.org/hpehl/totoe.png?branch=master)](https://travis-ci.org/hpehl/totoe) |