I am trying to convert a XML string to a XML object in order to traverse its attributes and child nodes.
Something like this in regular C#: http://msdn.microsoft.com/en-us/library/system.xml.xmldocument.loadxml.aspx
However the System.Xml library of Script# is different than .Net's and I cannot instantiate a new XmlDocument (no public constructor).
Or like this with jQuery: How to parse XML using jQuery?
However I do not know how to call the non-static ParseXml(string) function in ScriptSharp's jQuery.
Edit:
Got the ParseXml function to work with:
XmlDocument doc = jQuery.Instance.ParseXml(objDictionaryItem.Body);
But I get the error in WebKit:
$p1: "Object function (a,b){return new c.fn.init(a,b)} has no method 'parseXml'"
Any thoughts?