Read Xml File

Hi,

I have problem with read xml file from controler. I try to read xml file from controller by GetFile() and locate the xml file to temp directory in FlexPendant by method

fs.GetFile(path, “/TEMP/” + “example.xml”);

But problem is that system on FlexPendant donA’t find file. I use the XmlTextReader()and XmlRead() method. I think that I Get file to FlexPendant from controller I can use
XmlTextReader()and XmlRead() methods ??? Is it possible give here any example??? I found the example with FileStream method, but IA’m not sure is it OK. I tried to use, but I wasnA’t working.

Thank you for answer.

Radim

Hi,

Im sorry I found problem in my program code. I fixed and now it is working correctly.

Radim