How to generate configured NS index to XML file

Questions regarding the use of UaModeler

Moderator: uamodeler

Post Reply
dingyan
Full Member
Full Member
Posts: 9
Joined: 24 Jun 2016, 02:46

How to generate configured NS index to XML file

Post 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

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: How to generate configured NS index to XML file

Post 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.
Best regards
Unified Automation Support Team

Post Reply