Defining Node name in XML Port

marvinq
Member Posts: 69
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.
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
-
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 -
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.0 -
I guess marvinq needs to export the file...
In that case you could get inspiration from the Danish hotfix providing OIOUBL support... 8)Regards
Peter0 -
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
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
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions