Hello,
I have tried in vain to find the proper header text to add to a file created with the "Flatten to XML" function, in order to link the file to the LV Schema ("LVXMLSchema.xsd"). I understand it needs to be something like:
....
Flattened text here
....
</LVData>
But this doesn't work. My goal is to be able to edit LV-generated XML files in an XML-enabled text editor such as jEdit (ie. have the editor show what elements are allowed, and automatically parse and list errors). I have tried following the example files in C:\Program Files\National Instruments\LabVIEW 7.1\examples\internet ("TestConfiguration.xml" is properly linked to "TestConfiguration.xsd"), but this doesn't work.
The real issue behind this question is this: We have switched from using .ini files to XML files for storing configuration data for our application. XML is much easier to read, write, and maintain, however, if the type def used to unflatten the XML is modified, then old files become useless, and need to be recreated from scratch. Has anyone found an elegant solution to this? (other than manually editing the files) I would still like to know how to link to the schema, but a more automated solution would be great.
Thanks in advance,
Jaegen