I am trying to create the like in the bold above in my xml generation
but am really struggling to create the default namespace using ESQL. Can someone help me out with this one? Thanks.
ESQL does not support default namespaces. It only supports default namespace declaration...
What that means is that you can declare a default namespace but all elements in scope of that default namespace still need a namespace prefix (pointing to the default namespace)...
I am trying to create the like in the bold above in my xml generation
but am really struggling to create the default namespace using ESQL. Can someone help me out with this one?
We can, but only when you tell us what your problem is. All we know so far is that you are struggling!
fjp_saper said:
Quote:
ESQL does not support default namespaces. It only supports default namespace declaration
What he means is
- Every element in the message tree has its own namespace. It does not inherit its namespace from its scope like an XML element does.
- Using ESQL or Java you can *generate* any xmlns attribute you like, using XMLNSC.NamespaceDecl. But you still have to assign the correct namespace to every element in the message tree. In your message tree. all children of sap_orders01 must be in the 'hello1' namespace, and it is your responsibility to make sure of that before the message gets to the output node.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum