thanks for replying to the writing rowset buffer to XML.

I have Levl0,Level1 and Level2 records to be populated by this code. it populates but I have an issue with the following code.

Local XmlDoc &inXMLDoc;

Local Rowset &rs_Hdr, &rs_Dtl, &rs_LDtl;

&rs_Hdr = GetLevel0();

&inXMLDoc = CreateXmlDoc(“”);

&ret = &inXMLDoc.CopyRowset(&rs_Hdr);

&str = &inXMLDoc.GenXmlString();

&MYFILE = GetFile(“C:\temp\Test.xml”, “W”, %FilePath_Absolute);

&MYFILE.WriteLine(&str);

&MYFILE.Close();

Thanks in Advance,

LavanyaRaghuram

Thanks for posting your question!

Please provide more details. We need to know what issue you are having with the code. Are you getting any error messages?

Thanks

Sachin

Posted by Nitin Pai
Comments (0)
December 17th, 2008

Comments (0)