LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom XML Processing Information using LV XML API

Hi,

 

I stumbled across a behaviour that might eiter be a bug or intended behaviour. I'd like to know which of both it is indeed...

 

In the attached VI, I create a DOM Doc and try to create custom processing information. But it seems, the standard processing information is created also, although I don't want it.

Please see attached VI

I haven't managed to get rid of the default information (using the API)

 

 

Cheers

Oli

0 Kudos
Message 1 of 3
(2,949 Views)

Hi,

The NI XML New.vi automatically generates the standard information because LabView uses UTF-8 encoding by default. So it isn't a bug.

When using the invoke node "append child" then you get both lines. You should first try to use "remove child" or "replace child".

Best regards,

Thomas B.
National Instruments

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

Hi Thomas,

 

thanks for the suggestion. I've already tried to do so, but failed....

Anyway, I have a workaroung in place... Loading a fixed string into the DOM Document

 

Cheers

Oli

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