-
April 5th, 2010, 05:36 PM
#1
Trying to get data from xml file
I am trying to get the data from the following xml file: I want to read back the main status code. 3rd line down. If my test fails it will read -1 if it passes it will ready 0. Thanks in advanced to anyone that replies.
- <display>
<runcmd>glxgears > glxgears.out &</runcmd>
<status>0</status>
- <tests>
- <test name="displayimage">
<description>displays rotating image</description>
<status>0</status>
<errormessage />
- <data>
- <sample>
<FramesPerSecond>3608 frames in 5.0 seconds = 721.593 FPS</FramesPerSecond>
</sample>
</data>
</test>
</tests>
</display>
Steve
-
April 5th, 2010, 08:01 PM
#2
Re: Trying to get data from xml file
This is using Visual Studios 2008
-
April 5th, 2010, 10:50 PM
#3
Re: Trying to get data from xml file
Download the samples from here
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
|