Skip to content

polygon-city/xmldom-to-xml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML DOM to XML

Convert XML DOM to a string

Usage

var xmldom2xml = require("xmldom-to-xml");
var DOMParser = require("xmldom").DOMParser;
var domParser = new DOMParser();

var xmlDOM = domParser.parseFromString("some-xml-string");
var xml = xmldom2xml(xmlDOM.getElementsByTagName("some-xml-element"));

About

Convert XML DOM to a string

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published