hi all,
I know how to write to xml files, but I'm having trouble doing what I need to do and can't find adequate info on this type of problem.
Here's one xml file below:
<?xml version="1.0" encoding="utf-8"?>
<controls>
<Label Content="Double-click to edit." Location="258, 178" Size="101, 13" ForeColor="-1" />
<LinkLabel Content="Double-click to edit." Location="532, 133" Size="101, 13" LinkColor="-1" />
<LinkLabel Content="Double-click to edit." Location="424, 212" Size="101, 13" LinkColor="-1" />
<Label Content="Double-click to edit." Location="282, 89" Size="101, 13" ForeColor="-1" />
<Label Content="Double-click to edit." Location="528, 178" Size="101, 13" ForeColor="-1" />
<LinkLabel Content="Double-click to edit." Location="528, 133" Size="101, 13" LinkColor="-1" />
<LinkLabel Content="Double-click to edit." Location="528, 149" Size="101, 13" LinkColor="-1" />
<Label Content="Double-click to edit." Location="528, 164" Size="101, 13" ForeColor="-1" />
</controls>
And what I need to do once I've opened this file in my app is:
foreach(control in XmlFile)
{
get Content
get Location
get Size
get ForeColor/LinkColor
// do something...
}
Can somebody please help me out with this? I'd appreciate any help at all.
Thank you
Bael