Page 1 of 1

How to generate configured NS index to XML file

Posted: 19 Oct 2018, 10:44
by dingyan
Hello, support team:

I'd like to know, is there a way to generate nodes' ns index to XML file as I configure in UA Modeler? Because I'm developping my customized address space constructor(simular with UaNodeSetXmlParser) whitch needs to load nodes' ns index bigger than 1.

I noticed that this issue is mentioned in previous topics(e.g: "XML Export - Namespace incorrect" & "Modeler mixing up namespacenumbers in XML export?"), but in these postes, there is only explanations about "Why the ns index exported to XML file must be 1", and no solution can be found.

Thanks

Re: How to generate configured NS index to XML file

Posted: 23 Oct 2018, 08:20
by Support Team
Hello,

You cannot specify the namespace index for exported XML files. Specifying other indeces can result in invalid NodeSet2 XML files.
When the XML file is imported the importer must map the namespaces of the nodes and values within the file to the namespaces of the server application.