UNPKG

xmlplus

Version:

A JavaScript framwork for developing projects efficiently.

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