Quantcast
Channel: 3DVIA.com Forums Forum: VSL - Recent Posts
Viewing all articles
Browse latest Browse all 30

sunder3dvia on "How to use this function in VSL??????????"

$
0
0

Hi,

Thanks a lot for your reply..... Here I send you the code what I am trying to do.

void main()
{
XMLParserManager pm=XMLParserManager.Cast(bc.GetManagerByGuid(GetXMLParserManagerGUID()));

XMLAtom parent=pm.CreateXMLAtom("Design");
XMLAtom child=pm.CreateXMLAtom("shape");

parent.AddChild(child);
child.SetData("Oval");

parent.Save("sample.xml");

}

I get execution error ,Where I have highlighted as bold.

I expect this output in the xml file.

<?xml version="1.0" encoding="UTF-8"?>

<Design>
<shape>Oval<shape/>
</Design>


Viewing all articles
Browse latest Browse all 30

Trending Articles