UNPKG

xmlplus

Version:

A JavaScript framwork for developing projects efficiently.

13 lines 385 B
xmlplus("xp", function (xp, $_) { $_().imports({ Index: { xml: "<div id='index'>\ <button id='foo'>foo</button>\ <button id='bar'>bar</button>\ </div>", fun: function (sys, items, opts) { console.log(sys.index.kids().length); // 2 } } }); });