{"_id":"xmldom-alpha","_rev":"6-9c05e0c41525bd92aef93e1943182c90","name":"xmldom-alpha","description":"A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).","dist-tags":{"latest":"0.1.28"},"versions":{"0.1.23":{"name":"xmldom-alpha","version":"0.1.23","description":"A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).","keywords":["w3c","dom","xml","parser","javascript","DOMParser","XMLSerializer"],"author":{"name":"jindw","email":"jindw@xidea.org","url":"http://www.xidea.org"},"homepage":"https://github.com/jindw/xmldom","repository":{"type":"git","url":"git://github.com/jindw/xmldom.git"},"main":"./dom-parser.js","scripts":{"test":"proof platform win32 && proof test */*/*.t.js || t/test"},"engines":{"node":">=0.1"},"dependencies":{},"devDependencies":{"proof":"0.0.28"},"maintainers":[{"name":"jindw","email":"jindw@xidea.org"}],"contributors":[{"name":"Yaron Naveh","email":"yaronn01@gmail.com","url":"http://webservices20.blogspot.com/"},{"name":"Harutyun Amirjanyan","email":"amirjanyan@gmail.com","url":"https://github.com/nightwing"},{"name":"Alan Gutierrez","email":"alan@prettyrobots.com","url":"http://www.prettyrobots.com/"}],"bugs":{"url":"http://github.com/jindw/xmldom/issues","email":"jindw@xidea.org"},"licenses":[{"type":"LGPL","url":"http://www.gnu.org/licenses/lgpl.html","MIT":"http://opensource.org/licenses/MIT"}],"gitHead":"b7a4daa6714b28086171cd5ff08f0a21c684fb9a","_id":"xmldom-alpha@0.1.23","_shasum":"d411364556dd4924461e5d9d4b5dcf8fa2ffb203","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"jindw","email":"jindw@xidea.org"},"dist":{"shasum":"d411364556dd4924461e5d9d4b5dcf8fa2ffb203","tarball":"https://registry.npmjs.org/xmldom-alpha/-/xmldom-alpha-0.1.23.tgz","integrity":"sha512-rOj3ADCaAFKhqUAby4NIbSOHfhUJFwdLZrsJMelb3Mtjhjr+CDmdJ/R8hT6mG1nVkwh+gFw8gOPbUC3B3ouHiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxF2WuYqK88lB1IduPV6B6IhheDHXqCtqCdQAhhWuZvwIgUSDzFr4KJvlV4+oPy1JCK96Q+WlGSqvF7+J6Wogjs0c="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/xmldom-alpha-0.1.23.tgz_1463718262067_0.7441594230476767"}},"0.1.24":{"name":"xmldom-alpha","version":"0.1.24","description":"A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).","keywords":["w3c","dom","xml","parser","javascript","DOMParser","XMLSerializer"],"author":{"name":"jindw","email":"jindw@xidea.org","url":"http://www.xidea.org"},"homepage":"https://github.com/jindw/xmldom","repository":{"type":"git","url":"git://github.com/jindw/xmldom.git"},"main":"./dom-parser.js","scripts":{"test":"proof platform win32 && proof test */*/*.t.js || t/test"},"engines":{"node":">=0.1"},"dependencies":{},"devDependencies":{"proof":"0.0.28"},"maintainers":[{"name":"jindw","email":"jindw@xidea.org"}],"contributors":[{"name":"Yaron Naveh","email":"yaronn01@gmail.com","url":"http://webservices20.blogspot.com/"},{"name":"Harutyun Amirjanyan","email":"amirjanyan@gmail.com","url":"https://github.com/nightwing"},{"name":"Alan Gutierrez","email":"alan@prettyrobots.com","url":"http://www.prettyrobots.com/"}],"bugs":{"url":"http://github.com/jindw/xmldom/issues","email":"jindw@xidea.org"},"licenses":[{"type":"LGPL","url":"http://www.gnu.org/licenses/lgpl.html","MIT":"http://opensource.org/licenses/MIT"}],"gitHead":"b53aa82a36160d85faab394035dcd1784764537f","_id":"xmldom-alpha@0.1.24","_shasum":"526d9cff73ef6142afeb5e0e9887ef023a14b0af","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"jindw","email":"jindw@xidea.org"},"dist":{"shasum":"526d9cff73ef6142afeb5e0e9887ef023a14b0af","tarball":"https://registry.npmjs.org/xmldom-alpha/-/xmldom-alpha-0.1.24.tgz","integrity":"sha512-gqHdtZ3HVIl/Lic0uXb65WdyDNudRfw7iADToVJedDavN6YbI9n52DEuyzlYfxVNUYMKKFT6164WiP4v7GStXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICbpQ+z7tgrDbUuqtf9gh5/J26AQTh8m0xNejyCWxSRSAiEAqCujgOdg2gsfE2r4SXdzIOJIv+ZgPzAqaZEJHxiwsh4="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/xmldom-alpha-0.1.24.tgz_1480253704875_0.33558560186065733"}},"0.1.27":{"name":"xmldom-alpha","version":"0.1.27","description":"A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).","keywords":["w3c","dom","xml","parser","javascript","DOMParser","XMLSerializer"],"author":{"name":"jindw","email":"jindw@xidea.org","url":"http://www.xidea.org"},"homepage":"https://github.com/jindw/xmldom","repository":{"type":"git","url":"git://github.com/jindw/xmldom.git"},"main":"./dom-parser.js","scripts":{"test":"proof platform win32 && proof test */*/*.t.js || t/test"},"engines":{"node":">=0.1"},"dependencies":{},"devDependencies":{"proof":"0.0.28"},"maintainers":[{"name":"jindw","email":"jindw@xidea.org"}],"contributors":[{"name":"Yaron Naveh","email":"yaronn01@gmail.com","url":"http://webservices20.blogspot.com/"},{"name":"Harutyun Amirjanyan","email":"amirjanyan@gmail.com","url":"https://github.com/nightwing"},{"name":"Alan Gutierrez","email":"alan@prettyrobots.com","url":"http://www.prettyrobots.com/"}],"bugs":{"url":"http://github.com/jindw/xmldom/issues","email":"jindw@xidea.org"},"licenses":[{"type":"LGPL","url":"http://www.gnu.org/licenses/lgpl.html","MIT":"http://opensource.org/licenses/MIT"}],"gitHead":"0ee90e6092ffeeaada9d81d000a30d7f127413b4","_id":"xmldom-alpha@0.1.27","_shasum":"3791b3637a13cd5f93b8c3660099a03ee9e22033","_from":".","_npmVersion":"4.0.2","_nodeVersion":"5.5.0","_npmUser":{"name":"jindw","email":"jindw@xidea.org"},"dist":{"shasum":"3791b3637a13cd5f93b8c3660099a03ee9e22033","tarball":"https://registry.npmjs.org/xmldom-alpha/-/xmldom-alpha-0.1.27.tgz","integrity":"sha512-8wvVN1QoYHCTYiEhsES9HlGWmT4J8XGO30B8l1c7QqMm6/WF/gw4z1dqpVyJsUc6dW9kG281D3flC1rkO+fkPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+M9eK+e02rfmBLe3WQW3sWs/wXK2iEfwQRQqyY3eGpAiAUoklmfdvUt5dJuzQOHMpsjU/rFoOInp0ZPzqnJ2x1jw=="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/xmldom-alpha-0.1.27.tgz_1480352517620_0.49846827518194914"}},"0.1.28":{"name":"xmldom-alpha","version":"0.1.28","description":"A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).","keywords":["w3c","dom","xml","parser","javascript","DOMParser","XMLSerializer"],"author":{"name":"jindw","email":"jindw@xidea.org","url":"http://www.xidea.org"},"homepage":"https://github.com/jindw/xmldom","repository":{"type":"git","url":"git://github.com/jindw/xmldom.git"},"main":"./dom-parser.js","scripts":{"test":"proof platform win32 && proof test */*/*.t.js || t/test"},"engines":{"node":">=0.1"},"dependencies":{},"devDependencies":{"proof":"0.0.28"},"maintainers":[{"name":"jindw","email":"jindw@xidea.org"}],"contributors":[{"name":"Yaron Naveh","email":"yaronn01@gmail.com","url":"http://webservices20.blogspot.com/"},{"name":"Harutyun Amirjanyan","email":"amirjanyan@gmail.com","url":"https://github.com/nightwing"},{"name":"Alan Gutierrez","email":"alan@prettyrobots.com","url":"http://www.prettyrobots.com/"}],"bugs":{"url":"http://github.com/jindw/xmldom/issues","email":"jindw@xidea.org"},"license":"(LGPL-2.0 or MIT)","gitHead":"ffd8cac8f65a56286bc654946aaaa49620018d49","_id":"xmldom-alpha@0.1.28","_shasum":"4e8451d8df4d7bb303baae0bde783062f9d3d600","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"jindw","email":"jindw@xidea.org"},"dist":{"shasum":"4e8451d8df4d7bb303baae0bde783062f9d3d600","tarball":"https://registry.npmjs.org/xmldom-alpha/-/xmldom-alpha-0.1.28.tgz","integrity":"sha512-u0hPuPt18K/f4bVck3elfDJr2SZ7oyB2pknGNL3uyCCiJ+z6za+skAv7oEiOcSuU4NYfRfc5SyAsowQa0E5W/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxKINMOUk7ZlzBhQre7qusuYpn5ys+05lcnWFkONX34QIhAKgHhquCtmPDXWg0QuiFslDPGpvRfI6qlvNMR0x3QMif"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xmldom-alpha-0.1.28.tgz_1494211888459_0.4063103219959885"}}},"readme":"# XMLDOM [![Build Status](https://secure.travis-ci.org/bigeasy/xmldom.png?branch=master)](http://travis-ci.org/bigeasy/xmldom) [![Coverage Status](https://coveralls.io/repos/bigeasy/xmldom/badge.png?branch=master)](https://coveralls.io/r/bigeasy/xmldom) [![NPM version](https://badge.fury.io/js/xmldom.png)](http://badge.fury.io/js/xmldom)\n\nA JavaScript implementation of W3C DOM for Node.js, Rhino and the browser. Fully\ncompatible with `W3C DOM level2`; and some compatible with `level3`. Supports\n`DOMParser` and `XMLSerializer` interface such as in browser.\n\nInstall:\n-------\n>npm install xmldom\n\nExample:\n====\n```javascript\nvar DOMParser = require('xmldom').DOMParser;\nvar doc = new DOMParser().parseFromString(\n    '<xml xmlns=\"a\" xmlns:c=\"./lite\">\\n'+\n        '\\t<child>test</child>\\n'+\n        '\\t<child></child>\\n'+\n        '\\t<child/>\\n'+\n    '</xml>'\n    ,'text/xml');\ndoc.documentElement.setAttribute('x','y');\ndoc.documentElement.setAttributeNS('./lite','c:x','y2');\nvar nsAttr = doc.documentElement.getAttributeNS('./lite','x')\nconsole.info(nsAttr)\nconsole.info(doc)\n```\nAPI Reference\n=====\n\n * [DOMParser](https://developer.mozilla.org/en/DOMParser):\n\n\t```javascript\n\tparseFromString(xmlsource,mimeType)\n\t```\n\t* **options extension** _by xmldom_(not BOM standard!!)\n\n\t```javascript\n\t//added the options argument\n\tnew DOMParser(options)\n\t\n\t//errorHandler is supported\n\tnew DOMParser({\n\t\t/**\n\t\t * locator is always need for error position info\n\t\t */\n\t\tlocator:{},\n\t\t/**\n\t\t * you can override the errorHandler for xml parser\n\t\t * @link http://www.saxproject.org/apidoc/org/xml/sax/ErrorHandler.html\n\t\t */\n\t\terrorHandler:{warning:function(w){console.warn(w)},error:callback,fatalError:callback}\n\t\t//only callback model\n\t\t//errorHandler:function(level,msg){console.log(level,msg)}\n\t})\n\t\t\n\t```\n\n * [XMLSerializer](https://developer.mozilla.org/en/XMLSerializer)\n \n\t```javascript\n\tserializeToString(node)\n\t```\nDOM level2 method and attribute:\n------\n\n * [Node](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1950641247)\n\t\n\t\tattribute:\n\t\t\tnodeValue|prefix\n\t\treadonly attribute:\n\t\t\tnodeName|nodeType|parentNode|childNodes|firstChild|lastChild|previousSibling|nextSibling|attributes|ownerDocument|namespaceURI|localName\n\t\tmethod:\t\n\t\t\tinsertBefore(newChild, refChild)\n\t\t\treplaceChild(newChild, oldChild)\n\t\t\tremoveChild(oldChild)\n\t\t\tappendChild(newChild)\n\t\t\thasChildNodes()\n\t\t\tcloneNode(deep)\n\t\t\tnormalize()\n\t\t\tisSupported(feature, version)\n\t\t\thasAttributes()\n\n * [DOMImplementation](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-102161490)\n\t\t\n\t\tmethod:\n\t\t\thasFeature(feature, version)\n\t\t\tcreateDocumentType(qualifiedName, publicId, systemId)\n\t\t\tcreateDocument(namespaceURI, qualifiedName, doctype)\n\n * [Document](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#i-Document) : Node\n\t\t\n\t\treadonly attribute:\n\t\t\tdoctype|implementation|documentElement\n\t\tmethod:\n\t\t\tcreateElement(tagName)\n\t\t\tcreateDocumentFragment()\n\t\t\tcreateTextNode(data)\n\t\t\tcreateComment(data)\n\t\t\tcreateCDATASection(data)\n\t\t\tcreateProcessingInstruction(target, data)\n\t\t\tcreateAttribute(name)\n\t\t\tcreateEntityReference(name)\n\t\t\tgetElementsByTagName(tagname)\n\t\t\timportNode(importedNode, deep)\n\t\t\tcreateElementNS(namespaceURI, qualifiedName)\n\t\t\tcreateAttributeNS(namespaceURI, qualifiedName)\n\t\t\tgetElementsByTagNameNS(namespaceURI, localName)\n\t\t\tgetElementById(elementId)\n\n * [DocumentFragment](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-B63ED1A3) : Node\n * [Element](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-745549614) : Node\n\t\t\n\t\treadonly attribute:\n\t\t\ttagName\n\t\tmethod:\n\t\t\tgetAttribute(name)\n\t\t\tsetAttribute(name, value)\n\t\t\tremoveAttribute(name)\n\t\t\tgetAttributeNode(name)\n\t\t\tsetAttributeNode(newAttr)\n\t\t\tremoveAttributeNode(oldAttr)\n\t\t\tgetElementsByTagName(name)\n\t\t\tgetAttributeNS(namespaceURI, localName)\n\t\t\tsetAttributeNS(namespaceURI, qualifiedName, value)\n\t\t\tremoveAttributeNS(namespaceURI, localName)\n\t\t\tgetAttributeNodeNS(namespaceURI, localName)\n\t\t\tsetAttributeNodeNS(newAttr)\n\t\t\tgetElementsByTagNameNS(namespaceURI, localName)\n\t\t\thasAttribute(name)\n\t\t\thasAttributeNS(namespaceURI, localName)\n\n * [Attr](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-637646024) : Node\n\t\n\t\tattribute:\n\t\t\tvalue\n\t\treadonly attribute:\n\t\t\tname|specified|ownerElement\n\n * [NodeList](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-536297177)\n\t\t\n\t\treadonly attribute:\n\t\t\tlength\n\t\tmethod:\n\t\t\titem(index)\n\t\n * [NamedNodeMap](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1780488922)\n\n\t\treadonly attribute:\n\t\t\tlength\n\t\tmethod:\n\t\t\tgetNamedItem(name)\n\t\t\tsetNamedItem(arg)\n\t\t\tremoveNamedItem(name)\n\t\t\titem(index)\n\t\t\tgetNamedItemNS(namespaceURI, localName)\n\t\t\tsetNamedItemNS(arg)\n\t\t\tremoveNamedItemNS(namespaceURI, localName)\n\t\t\n * [CharacterData](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-FF21A306) : Node\n\t\n\t\tmethod:\n\t\t\tsubstringData(offset, count)\n\t\t\tappendData(arg)\n\t\t\tinsertData(offset, arg)\n\t\t\tdeleteData(offset, count)\n\t\t\treplaceData(offset, count, arg)\n\t\t\n * [Text](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1312295772) : CharacterData\n\t\n\t\tmethod:\n\t\t\tsplitText(offset)\n\t\t\t\n * [CDATASection](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-667469212)\n * [Comment](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1728279322) : CharacterData\n\t\n * [DocumentType](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-412266927)\n\t\n\t\treadonly attribute:\n\t\t\tname|entities|notations|publicId|systemId|internalSubset\n\t\t\t\n * Notation : Node\n\t\n\t\treadonly attribute:\n\t\t\tpublicId|systemId\n\t\t\t\n * Entity : Node\n\t\n\t\treadonly attribute:\n\t\t\tpublicId|systemId|notationName\n\t\t\t\n * EntityReference : Node \n * ProcessingInstruction : Node \n\t\n\t\tattribute:\n\t\t\tdata\n\t\treadonly attribute:\n\t\t\ttarget\n\t\t\nDOM level 3 support:\n-----\n\n * [Node](http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-textContent)\n\t\t\n\t\tattribute:\n\t\t\ttextContent\n\t\tmethod:\n\t\t\tisDefaultNamespace(namespaceURI){\n\t\t\tlookupNamespaceURI(prefix)\n\nDOM extension by xmldom\n---\n * [Node] Source position extension; \n\t\t\n\t\tattribute:\n\t\t\t//Numbered starting from '1'\n\t\t\tlineNumber\n\t\t\t//Numbered starting from '1'\n\t\t\tcolumnNumber\n","maintainers":[{"name":"jindw","email":"jindw@xidea.org"}],"time":{"modified":"2022-06-29T05:40:34.427Z","created":"2016-05-20T04:24:26.829Z","0.1.23":"2016-05-20T04:24:26.829Z","0.1.24":"2016-11-27T13:35:05.492Z","0.1.27":"2016-11-28T17:01:58.305Z","0.1.28":"2017-05-08T02:51:28.698Z"},"homepage":"https://github.com/jindw/xmldom","keywords":["w3c","dom","xml","parser","javascript","DOMParser","XMLSerializer"],"repository":{"type":"git","url":"git://github.com/jindw/xmldom.git"},"contributors":[{"name":"Yaron Naveh","email":"yaronn01@gmail.com","url":"http://webservices20.blogspot.com/"},{"name":"Harutyun Amirjanyan","email":"amirjanyan@gmail.com","url":"https://github.com/nightwing"},{"name":"Alan Gutierrez","email":"alan@prettyrobots.com","url":"http://www.prettyrobots.com/"}],"author":{"name":"jindw","email":"jindw@xidea.org","url":"http://www.xidea.org"},"bugs":{"url":"http://github.com/jindw/xmldom/issues","email":"jindw@xidea.org"},"readmeFilename":"readme.md","license":"(LGPL-2.0 or MIT)"}