Hi, It probably would be a good idea to bind existing xml parser to v8 you use (and you use v8 as a stand-alone script engine, right?). E.g. if you use v8 on windows you can bind MS XML parser, if you use v8 on KDE you can bind Qt XML parser (either SAX reader or heavy artillery of QXMLDomDocument), libxml, expat or whatever. XML parsing is quite a task and I'd suggest using existing libraries than reimplementing ones or use regexp to parse XML v8 code itself is not bloated with extra features ECMA script is not "standardized" to have...
BR, Alex On 7 окт, 02:47, alireza <[email protected]> wrote: > Hi All, > > I need to use v8 to parse an xml document. Now the code will not be > embedded in a webpage so I can't use the browser's xml capabilities. > Any ideas about how this could be done? I looked for some javascript > libraries but couldn't find anything good. > > Thanks for your help. > > alireza --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
