LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabXML namespaceURI

Hello,

 

I want to validate my XML file with the LabXML toolkit. I tried to use the MSXML.llb\MSXML open XML-file.vi. My questions is: What is to enter on the Schema-Cluster? 

schemaLocation = Path to XML file

namespaceURI = ?

Prefix = ?

 

(By the way: Is there no possibility to validate the xml file via xsi:noNamespaceSchemaLocation="*.xsd" element? To use the validateOnParse property doesnt work. It always gives a true.)

 

LabVIEW version is 7.1

 

Thanks for answer,

shavo

Message Edited by shavo on 11-26-2008 01:35 AM
0 Kudos
Message 1 of 2
(2,576 Views)

The schemaLocation and namespaceURI are provided to the Add method for the IXMLDOMSchemaCollection class. As far as I can tell Prefix is not used, and it looks like a leftover.

 

The validateOnParse does work. Reading this property isn't much use. The value is set to control whether the file will be validated when read. To check for any validation errors you need to look at the parserError property. Something like this:

Message 2 of 2
(2,556 Views)