LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

escape character xml

Dear all,
I wrote some VIs to deal with xml files.
In particular I have one VI to write the xml and another one to read it back, after validating it.

Unfortunately



got translated like this



which creates of course errors while parsing the xml file.

It looks like the ":" needs to be escaped...
Does anyone have any idea?

Many thanks in advance,
Marco

PS I really would like to 'attach' VIs and xml, but I click 'Add Attachments' and nothing happens... maybe it's ok, it's my first post here <:-)
0 Kudos
Message 1 of 5
(2,464 Views)

So, xml got wiped out...

In attachment (now many buttons apperead) you find:

 

  1. the run_write_config.vi VI

The vi produces the xml file as output

 

The point is that you get the xml without ":" at the 2nd and 3rd line:  ":"  in "xmlns:xsi" and "xsi:noNamespaceSchemaLocation" (second and third line)

 

Again, any help is welcomed!

 

Regards,

             Marco Bomben

0 Kudos
Message 2 of 5
(2,460 Views)
It appears that you are using JKI's Easy XML library. You'll probably get a faster response if you post over at JKI's support forum for that library.
Message 3 of 5
(2,443 Views)

Yes, you're right. I will post there.

 

Many thanks,

                     Marco

0 Kudos
Message 4 of 5
(2,418 Views)
0 Kudos
Message 5 of 5
(2,414 Views)