http://bugzilla.wpkg.org/show_bug.cgi?id=186
Summary: Hit and run ideas... Product: WPKG Version: other Platform: PC URL: http://www.thomasfrank.se/xml_to_json.html OS/Version: Windows XP Status: NEW Severity: enhancement Priority: P2 Component: wpkg.js AssignedTo: man...@wpkg.org ReportedBy: k.e.jo...@brighton.ac.uk QAContact: wpkg-users@lists.wpkg.org Created attachment 166 --> http://bugzilla.wpkg.org/attachment.cgi?id=166 A simple three line example Hi, Sorry, as the title suggests this is a hit and run idea but it looked quite interesting. Sorry for not being so public but some family medical issues cropped up so I have other things to attend to... anyway... I ran into this; http://www.thomasfrank.se/xml_to_json.html It's basicly a very short (and cryptic) parser for xml that turns any xml into a JSON'ised/able object based on the element and attribute structure. I just thought it was worth mentioning because it might be rather cool for WPKG.js to not need functions such as getPackageName(packageNode) and just parse the xml directly to an object or collection of objects i.e. be able to use packageNode.Name in the code becuase you're working with a real object. It'll need some thinking (and possibly some adapting) but the code attached shows how simple it is to use! It's seems rather groovy and might be a cool way to make the jscript really intuitive and ultra-maintainable. Have fun folks, Keith -- Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. ------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users