From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Which is the easiest way to read an XML tag value

Solved!
Go to solution

Hi all,

Im not at all experienced in the use of XML parser library.


How can I extract the value of any TAG?
I use the Get All matched node (See attachment). Get XML gives me:

<title> AAAA </ title>

How can I extract directly the value of the tag (AAAA), without XML tags?

Thanks to all

0 Kudos
Message 1 of 4
(2,634 Views)

Sorry. I forgot the attachment:

 

 

0 Kudos
Message 2 of 4
(2,616 Views)
Solution
Accepted by topic author SlippinJimmy85

You could use the Get Node Text Content.vi from the same palette as the other XML function you are using. 

 

Of with a property node use the "Node value".

0 Kudos
Message 3 of 4
(2,608 Views)

Thanks

0 Kudos
Message 4 of 4
(2,599 Views)