UNPKG

xmlplus

Version:

A JavaScript framwork for developing projects efficiently.

14 lines 423 B
xmlplus("xp", function (xp, $_) { $_().imports({ Index: { xml: "<div id='index'>\ <button>foo</button>\ <button>bar</button>\ </div>", fun: function (sys, items, opts) { console.log(sys("//*").length); // 3 sys("//button").call("css", "color", "blue"); } } }); });