Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 22:33

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



how can get value "resolution_height"? from xml file?

Discussion on how can get value "resolution_height"? from xml file? within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2006
Posts: 14
Received Thanks: 5
how can get value "resolution_height"? from xml file?

Code:
<?xml version="1.0"?>
<HyperV xmlns="as" version="1.12-windows">
<Machine uuid="{20200419-aaaa-aaaa-aaaa-000000000001}" name="Deneme" OSType="Linux" snapshotFolder="Snapshots" lastStateChange="2020-04-20T21:40:17Z">
 <Hardware version="2">
 <GuestProperties>
        <GuestProperty name="resolution_height" value="800" timestamp="1587374465852501700" flags=""/>
        <GuestProperty name="resolution_width" value="450" timestamp="1587374465714493800" flags=""/>
        <GuestProperty name="selected_map" value="1" timestamp="1580068447643981700" flags=""/>
        </GuestProperties>
  </Hardware>
 </Machine>
</Hyperv>
how can i get "resolution_height" value and change it from a xml file?
akitsukie is offline  
Old 04/21/2020, 11:40   #2
 
Ludder231's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
for reading a value you could use regex or use System.Xml parser

Ludder231 is offline  
Old 04/21/2020, 13:00   #3
 
elite*gold: 0
Join Date: Oct 2006
Posts: 14
Received Thanks: 5
Thanks I tried, but I could not do it on my own example

Quote:
Originally Posted by Ludder231 View Post
for reading a value you could use regex or use System.Xml parser

Thanks I tried but I couldn't
akitsukie is offline  
Old 04/21/2020, 20:26   #4
 
Ludder231's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
Quote:
Originally Posted by akitsukie View Post
Thanks I tried, but I could not do it on my own example



Thanks I tried but I couldn't
i hate the xml serializer so i did it with htmlagilitypack(via nuget)

Ludder231 is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[C#] how can get value "resolution_height"? from xml file?
04/24/2020 - C/C++ - 4 Replies
removed
WEAPONSCRIPT!!!!!!!!!!!!!!!!!!!!!!!!!HOT"""""""""" """""""""""""""""""""
08/06/2011 - WarRock Hacks, Bots, Cheats & Exploits - 7 Replies
detetected



All times are GMT +1. The time now is 22:34.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.