LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT Processor

Hi everyone, 

 

Are there any XSLT processors for Labview?  I'm looking for a VI that can process a XML document into another form using a XSL (XML Stylesheet).  There are C, Java and ActiveX implementations but I am looking for one in Labview.  So far, I've found this document but they seem to indicate that it's missing.

http://thinkinging.com/2008/03/01/using-xml-data-in-labview-just-got-easier/

 

Also, is there anything that can simulate the XML serialization here.  In this case, I can describe variables using a bit of description and then read and write the XML output to dynamically create variables / structures easily.

http://www.switchonthecode.com/tutorials/csharp-tutorial-xml-serialization

 

Thanks

Will

0 Kudos
Message 1 of 4
(4,028 Views)
There isn't anything that's pure LabVIEW, if that's what you're asking about. LabVIEW 8.6 uses the Xerces 2.7 parser, but it does not appear to support XSLT, as it seems to be just a parser. Solutions usually resort to using ActiveX or .NET. For example, LabXML uses MSXML. It has an example on using an XSL.
0 Kudos
Message 2 of 4
(4,017 Views)

Thanks,

 

I guess I'll have to use an external ActiveX or .NET implementation.  With some of the implementations, the programmer has to pass a structure to the library; however, this looks like a pain.   An alternative is to run an executable.

 

Do you have any information about XML Serialization? 

 

Will

 

 

0 Kudos
Message 3 of 4
(4,015 Views)
Only insofar as it's a .NET class and you can call it from LabVIEW using .NET. One of the things shown in the article you linked can't be done in LabVIEW since it involves creating a class.
Message 4 of 4
(3,985 Views)