XmlPort NAV 2016 prefix property

Hello,

I want to import a xml file into NAV 2016, using a xmlport.

My xml file has nodes with namespaces, like ns30:UBLExtension.

I have declared the node UBLExtension, I have also declared the prefix ns1 with value ns30, and assigned it on the UBLExtension, on the prefix property and it worked fine.

I also have on my xml file tags without namespace like ExtensionContent.

My question is:

When I try to import the file, it comes out with the message "The prefix is not defined in the Namespaces property of the XMLPort." Is the prefix property mandatory?

I can't declare an empty prefix and assigned it to the nodes without namespaces.

Can a xmlport have nodes with prefix property filled and empty?

Thanks

Best Answer

Answers

Sign In or Register to comment.