08-02-2011 07:04 AM
Dear All,
My Xml file has the following attributes,
<UserLogSettings>
<LogLaserActions>False</LogLaserActions>
<LogAlways>True</LogAlways>
<Current>True</Current>
<Frequency>True</Frequency>
<Shg>True</Shg>
<Thg>True</Thg>
<Temperature>True</Temperature>
<LogFromDate>1/01/0001 12:00:00 AM</LogFromDate>
<LogToDate>1/01/0001 12:00:00 AM</LogToDate>
<ErrorLoggerSize>2</ErrorLoggerSize>
<Seed>True</Seed>
</UserLogSettings>
I want to read the above xml file and display each attribute separately, How can I do this?
Gaya
08-02-2011 07:39 AM
Hi Gaya,
you could read the text file and parse for the different XML tags. This has been asked before so you should find thread discussing the parsing part...
Or you could dig into OpenG, they provide some powerful XML functions too...
08-02-2011 08:11 AM
08-02-2011 09:48 PM
Thank you for your replies