Support for ECMA Standards

Aug 4, 2010 at 6:50 PM

I am really interested in being able to use javascript's XML DOMParser from Jint. I have a lot of code that deals with XML that gets deployed to client web browsers and it would be great if I could reuse that code on the server side by running the same scripts. The client side code uses the DOMParser object though. Is this supported in Jint, or would I have to use .Net's XML libraries. I would like to avoid the hassle of porting the code over.

Thanks!!

 

Coordinator
Aug 19, 2010 at 6:19 AM
Hi, Did you have a look at htmlx.codeplex.com. It is a project also developped by us, which aims to parse html. You should also be able to parse xml files. Htmlx parser is taken from Envjs (John Resig's project). Otherwise, have you noticed you can use .NET class in Jint and therefore use XmlDocument to parse xml files ?