Hi there,
I would like to use "Linq to XML" to create my XML. Could someone assist me how to use this in X ?
When i try to create xml, X++ does not takes Implicit conversion of XName (.NET implicitly takes XName as String) parameter inside XElement class.
Syntax Error :
Here is my simple job which expects the output as <contacts /> tag
server static void linq2xml()
{
System.Xml.Linq.XElement xRoot;
System.Xml.Linq.XName x1 = null;
;
x1 = "Contacts"
xRoot = new System.Xml.Linq.XElement(x1);
print xRoot;
pause;
}
*This post is locked for comments
I have the same question (0)