Quantcast
Viewing all articles
Browse latest Browse all 5571

Getting value from an XML file and adding conditions to these values

Hello,

 

I'm trying to get the value from an xml file and then adding conditions to those values. The code I have goes something like this:

Image may be NSFW.
Clik here to view.
Capture.PNG

 

for some reason, it is not getting the value.

If the value of the field "vehiclOfNonVehiclFlag" is V, then "N° de chassis: " should appear in the "nrSerieChassisTextField" field. If it's "N", then N° de serie should appear in the "nrSerieChassisTextField" field.

Now the field just remains empty and I have no idea how to resolve this. Here is a snap from the XML file:

 

Image may be NSFW.
Clik here to view.
xml.PNG

The field I am using, "vehiclOfNonVehiclFlag", currently has the value "V" in the xml file.

 

Please help

 

Kind regards


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>