1) There are there ways to set namespace while using a Sterling maps for output XMLs
To use the different approaches first hit the XML element in cause and hit the tab namespace. On this exercise we are using the root element but this applies to any element.
- Using a full namespace with prefixes on tags
Use this namespace should get the value of the namespace description string.
The namespace prefix must be defined
The namespace prefix must be defined
The result is an XML with following structure
- Using a full namespace without prefixes on tags
To achieve this is quite simple instead of setting the namespace description on Use this namespace one should rather set the namespace prefix it self.
The result is an XML with prefix identification but without actually inserting it onto the XML tags.
- Insert a default namespace
To insert the default namespace is as simple as not identifying any prefix on the map, although not that much intuitive...
And result.
Hope this helps cheers!
Sem comentários:
Enviar um comentário