api documentation for xml-js (v1.0.2)

A convertor between XML text and Javascript object / JSON text.

table of contents

  1. module xml-js
    1. function xml-js.js2xml (js, options)
    2. function xml-js.json2xml (json, options)
    3. function xml-js.xml2js (xml, userOptions)
    4. function xml-js.xml2json (xml, userOptions)
    5. object xml-js.common
    6. object xml-js.index
  2. module xml-js.common
    1. function xml-js.common.copyOptions (options)
    2. function xml-js.common.ensureFlagExists (item, options)
    3. function xml-js.common.ensureKeyExists (key, options)
    4. function xml-js.common.ensureSpacesExists (options)
    5. function xml-js.common.getCommandLineHelp (command, requiredArgs, optionalArgs)
    6. function xml-js.common.mapCommandLineArgs (requiredArgs, optionalArgs)
    7. function xml-js.common.sanitize (text)
  3. module xml-js.index
    1. function xml-js.index.js2xml (js, options)
    2. function xml-js.index.json2xml (json, options)
    3. function xml-js.index.xml2js (xml, userOptions)
    4. function xml-js.index.xml2json (xml, userOptions)

module xml-js

function xml-js.js2xml (js, options)

function xml-js.json2xml (json, options)

function xml-js.xml2js (xml, userOptions)

function xml-js.xml2json (xml, userOptions)

module xml-js.common

function xml-js.common.copyOptions (options)

function xml-js.common.ensureFlagExists (item, options)

function xml-js.common.ensureKeyExists (key, options)

function xml-js.common.ensureSpacesExists (options)

function xml-js.common.getCommandLineHelp (command, requiredArgs, optionalArgs)

function xml-js.common.mapCommandLineArgs (requiredArgs, optionalArgs)

function xml-js.common.sanitize (text)

module xml-js.index

function xml-js.index.js2xml (js, options)

function xml-js.index.json2xml (json, options)

function xml-js.index.xml2js (xml, userOptions)

function xml-js.index.xml2json (xml, userOptions)

[ this document was created with utility2 ]