In-browser XML, XPath, XSLT api, packaged with sources in es6 and binaries compiled into UMD/AMD ES5.
Browsers starting from IE11.
Project as successor of AmdHarness-amd-xml covers the XML stack for es6 module based JS projects.
The npm module includes the sources in es6 format which could be consumed by modern browsers via
and binary compiled into ES5 AMD module for IE.
There is no external dependencies, library is one file JS.
polymer-cli is internal development dependency and used only for self-test and ES5 binary compilation. It is not required for library use.
Install as dependency into your npm project.
$ npm i -P "@xmlaspect/browser-xml"
In your project JS
;let xmlDoc = await browserXml;let nodes = browserXml;let renderedString = browserXml;
See more samples in test sources.
Test and build
Install the Polymer-CLI
$ polymer serve --npm --open
$ npm run test
$ npm run build