Hi
I have a question concerning name spaces. Navision 4.02
This is my xm example:
<?xml version="1.0" encoding="UTF-8" ?>
<foo-0001:envelope version="1.0" xmlns:foo-0001="http://www.foo.com/xmlns/foo-0001/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.foo.com/xmlns/foo-0001/1 http://www.foo.com/xmlns/foo-0001/1/foo-0001-1-0.xsd">
<foo-0001:messageId>1196247040467</foo-0001:messageId>
</foo-0001:envelope>
Questions:
1: I guess we have to remove the namespace when importing it to navision, as discussed in this forum. Is this correct?
2. Same for Navision 5.0?
3: How to import/export the qualifiers in the tags, for example <messageId> is not enough, it must read
<foo-0001:messageId>. Any ideas?
Thanks in advance
Thomas
Comments
This link should be helpful.
http://www.mibuso.com/forum/viewtopic.php?t=23618
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
So if you have to validate an XML file against an XSD or do any other processing that is dependant on the Namespaces you will probably have to do that via XML DOM Automation objects or live without it for now. Does it suck...yes! Here's hoping this is fixed in 6.0
Epimatic Corp.
http://www.epimatic.com
Regards
Thomas