Discussions
Activity
Best Of...
Sign In
·
Register
Home
›
NAV Three Tier
Howdy, Stranger!
It looks like you're new here. Sign in or register to get started.
Sign In
Register
Quick Links
Categories
Recent Discussions
Activity
Best Of...
Unanswered
Categories
All Categories
73
General
73
Announcements
66.6K
Microsoft Dynamics NAV
18.7K
NAV Three Tier
38.4K
NAV/Navision Classic Client
3.6K
Navision Attain
2.4K
Navision Financials
115
Navision DOS
854
Navision e-Commerce
1K
NAV Tips & Tricks
772
NAV Dutch speaking only
615
NAV Courses, Exams & Certification
2K
Microsoft Dynamics-Other
1.5K
Dynamics AX
310
Dynamics CRM
110
Dynamics GP
10
Dynamics SL
1.5K
Other
993
SQL General
384
SQL Performance
34
SQL Tips & Tricks
34
Design Patterns (General & Best Practices)
Architectural Patterns
10
Design Patterns
5
Implementation Patterns
53
3rd Party Products, Services & Events
1.7K
General
1.1K
General Chat
1.6K
Website
79
Testing
1.2K
Download section
23
How Tos section
260
Feedback
12
NAV TechDays 2013 Sessions
13
NAV TechDays 2012 Sessions
Defining Node name in XML Port
marvinq
Member
Posts:
69
2011-04-26
edited 2011-04-26
in
NAV Three Tier
Hi,
I have got a XML file with a node called <cbc:UBLVersionID>, how can I define this as a node in XMLPorts?
Writing cbc:UBLVersionID does not seem to work.
0
Comments
marvinq
Member
Posts:
69
2011-04-26
If I rename my node in the XML file to <UBLVersionID> (without cbc:) then everything works when defining UBLVersionID as node name in NAV.
This is of course not a solution. Any ideas why it does not work?
0
ara3n
Member
Posts:
9,256
2011-04-26
Hello
You need to remove all the namespaces out of your xml file. There are many post on this on how to remove these prefixes and then process the xml file.
You process will be like this. Once you get the file you call this function that removes the namespaces then pass the new xmlfile into your xmlport.
Ahmed Rashed Amini
Independent Consultant/Developer
blog:
https://dynamicsuser.net/nav/b/ara3n
0
pdj
Member
Posts:
643
2011-04-26
I guess marvinq needs to export the file...
In that case you could get inspiration from the Danish hotfix providing OIOUBL support... 8)
Regards
Peter
0
marvinq
Member
Posts:
69
2011-04-26
No, I need to import.
I get the idea, just seems odd that it is necessary to remove the namespaces manually.
Thanks for advice.
0
Sign In
or
Register
to comment.
Comments
This is of course not a solution. Any ideas why it does not work?
You need to remove all the namespaces out of your xml file. There are many post on this on how to remove these prefixes and then process the xml file.
You process will be like this. Once you get the file you call this function that removes the namespaces then pass the new xmlfile into your xmlport.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
In that case you could get inspiration from the Danish hotfix providing OIOUBL support... 8)
Peter
I get the idea, just seems odd that it is necessary to remove the namespaces manually.
Thanks for advice.