XmlView
Bookmarklet, esm JS, and XSLT for presenting XML or JSON as super-sortable HTML table.
Bookmarklet, XSLT rule will help to present XML in browser as a table.
Live demo | Live docs and discussion
API
XmlView.js
Use
Include in project
There are no dependencies, add to your project either by
npm i -P @xmlaspect/xml-view
or use directly from CDN
import XmlView from 'https://unpkg.com/@xmlaspect/xml-view@1.0.2/XmlView.js';
Add transformation
in XML
add XSLT as in AsTable.xml :
<?xml-stylesheet type="text/xsl" href="../AsTable.xsl"?>