Git Product home page Git Product logo

node-sparkxml's Introduction

Node-SparkXML

Node-SparkXML is a a simple Node.js-based XML parser. It parses according to the "Spark" convention, which is a slight modification of the "Parker" convention.

The Spark convention is a slight modification of the Parker convention. It treats nested child elements as demarcating the beginning of an array if there is only one kind of child (a repeating element)โ€ฆ Parker almost does this, but if there is only one child in the container, it doesn't think it should be an array. The Spark convention ensures that child is always an array even if there's only one of them.

More info can be found at: http://wiki.open311.org/JSON_and_XML_Conversion#The_Spark_Convention http://wiki.open311.org/Parker_vs_Spark

This library was mainly developed for tools around Open311, which uses the Spark convention, but it could be useful in plenty of other cases.

Copyright

Copyright (c) 2012-2016 Code for America. See LICENSE for details.

Thanks to Oiva Eskola https://github.com/oiva and Milo van der Linden https://github.com/milovanderlinden for additional contributions.

node-sparkxml's People

Contributors

greenkeeperio-bot avatar milovanderlinden avatar mr0grog avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.