LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get attributes of the XML header?

Solved!
Go to solution

Hallo!

 

Does anybody know peraps, what is the Xpath expression to receive header attribute from XML file? I mean p.e. there is "<?xml version="1.0" encoding="ISO-8859-1"?> (...)
and so on, I need to get           version = "1.0"             
they are so called pseudo attributes and expressions like //@version do not work 😞 I would be thankful for any ideas!
 
K.
0 Kudos
Message 1 of 3
(2,473 Views)
Solution
Accepted by topic author Aleph.ka

I don't think XPath can do it. However you can simply use a file io to read it.

TailOfGon
Certified LabVIEW Architect 2013
0 Kudos
Message 2 of 3
(2,459 Views)

Thanks very much, I decided to use regular Expressions!

 

K.

0 Kudos
Message 3 of 3
(2,442 Views)