XMLport trouble with different xmlns.

DolshaDolsha Member Posts: 41
Hi all!

I'll convert xmlport from 9 to 16 NAV.

Part of structure in 9 version:
10011wi87m1v.png

Part of structure in 16 version:
uxb6bnoq0wrl.png

But when i Run my xmlport i'll have error:
90ydh3ldr1e4.png

After Export in 9 version i'll take:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<StaticForm xmlns="urn:customs.ru:Information:CustomsDocuments:StaticForm:5.0.3">
	<CustomsProcedure>ЭК</CustomsProcedure>
	<TransportModeCode>30</TransportModeCode>
	<ReportingDate>2014-04</ReportingDate>
	<Consignor>
		<OrganizationName xmlns="urn:customs.ru:CommonAggregateTypes:5.0.3">***</OrganizationName>
		<RFOrganizationFeatures xmlns="urn:customs.ru:CommonAggregateTypes:5.0.3">

Have any idea how i can fix my xmlport to take this result in 16 version?

P.S. I'll try do this with default namespace, but that global, and when in code i'll try
SF1 := 'urn:customs.ru:CommonAggregateTypes:5.0.3';
i'll have my error like: The prefix '' cannot be redefined from '***' to '***'



Answers

Sign In or Register to comment.