Here is my XML code:
<Car>
<PTY name="XYZ" value="0"></PTY>
</Car>
I want to get the value of attribute value from this XML by using conditions like
if(<Car> == true){
//retrive attribute value
}
PS: i am new to xml!!
Here is my XML code:
<Car>
<PTY name="XYZ" value="0"></PTY>
</Car>
I want to get the value of attribute value from this XML by using conditions like
if(<Car> == true){
//retrive attribute value
}
PS: i am new to xml!!
You can use XmlSerializer for deserialize you string to Car class and simply check property value