-
January 7th, 2013, 06:06 AM
#1
Reading Multi level XML file while using C#
What would be the easiest way to manipulate the data being mindful that i am really working with an XML file that I have imported into memory:
<Data>
<Drives>
<label>Area 51</label>
<date>12/10/2012</date>
<Description>testing site</Description>
<Status>valid</Status>
<Membership>
Username="Jsmith"
Bool="or"
username="MGordon"
</Membership>
</Drives>
<Drives>
<label>Apollo</label>
<date>12/04/2010</date>
<Description>fly to the Moon</Description>
<Status>Terminated</Status>
<Membership>
Username="DKerr"
bool="and"
Username="Sremi"
bool="or"
Group="ApolloReadOnly"
</Membership>
</Drives>
<Drives>
<label>Deep Impact</label>
<date>12/06/08</date>
<Description>Exploring Comet Temple</Description>
<Status>Achieved</Status>
<Membership>
<collection>
Username="Gblaine"
Group="SSnype"
group="Wesson"
bool="or"
Computer="Exec-02"
</Collection>
</Membership>
</Drives>
<Data>
Ideally, I would need this:
LabeL Date Description Status Membership
Area 51 12/10/2012 Testing Site valid Jsmtih or MGordon
Apollo 12/04/2010 fly to the Moon Terminated DKerr and Sremi or AppollyReadonly
Deep impact 12/06/12 Exploring.. Achived this collection is true (GBlaine or SSnype or WEsson or computer=EXec-02)
Please keep in mind that I am beginnger at this stage.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|