Can anyone help in identifying the difference between below given 2 ESQL statements :-
1) DECLARE refToInvoice TO REFERENCE "InputRoot"."XMLNSC"."SaleEnvelope"."SaleList"."Invoice";
2) DECLARE refToInvoice REFERENCE TO InputRoot.XMLNSC.SaleEnvelope.SaleList.Invoice;
I do not find any difference in the message tree structure after removing " " symbol but just want to know if there is any specific use placing double quotes ?
They are equivalent and will give the same result. Use quotes around element names if they clash with ESQL keywords or contain reserved characters etc. The name in quotes will then be taken literally.
e.g
InputRoot.XMLNSC."top.level"."field"
top.level is a legitimate element name but if left unquoted then the ESQL parser couldn't differentiate between a single element named top.level or a hierarchy of a parent element named top with a child named level.
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