Re: MQSI - How to add attributes to input XML
Magendran: My input node was set to MRM. I changed it to XML and now it works I appreciate your help. Sebastian>>> [EMAIL PROTECTED] 4/19/2004 10:00:56 AM >>> Hi Sebastian I tried the ESQL as is and it produced the following results : fred I cannot explain how your flow has produced the following results : fred This XML is not well formed. Are you using MRM or XML Domain as a parser ? Regards Magendran Govender -Original Message-From: Daniel Graper [mailto:[EMAIL PROTECTED]Sent: 19 April 2004 02:59To: [EMAIL PROTECTED]Subject: Re: MQSI - How to add attributes to input XML Magendran: I appreciate your response bit I think there is something missing still. This EQSL produced the following: fred >>> [EMAIL PROTECTED] 4/19/2004 7:53:47 AM >>> SET OutputRoot = InputRoot; SET OutputRoot.XML.people.person.(XML.Attribute)location = 'London'; Regards Magendran Govender -Original Message-From: Daniel Graper [mailto:[EMAIL PROTECTED]Sent: 19 April 2004 01:26To: [EMAIL PROTECTED]Subject: MQSI - How to add attributes to input XML I am having some difficulty trying to add xml attributes to opening tags that are input to one of our message flows. Basically, I need to find out how to take an input document like this: fred and change it to something like this: fred Does anyone have an example of this in a v2.1 compute node? thanks, Sebastian Please click on the following link to read the Old Mutual legal notice: <http://www.oldmutual.co.za/e-mail_legal_notice> Alternatively, send a "blank" e-mail to <mailto:[EMAIL PROTECTED]> Please click on the following link to read the Old Mutual legal notice: <http://www.oldmutual.co.za/e-mail_legal_notice> Alternatively, send a "blank" e-mail to <mailto:[EMAIL PROTECTED]>
Re: MQSI - How to add attributes to input XML
Hi Sebastian I tried the ESQL as is and it produced the following results : fred I cannot explain how your flow has produced the following results : fred This XML is not well formed. Are you using MRM or XML Domain as a parser ? Regards Magendran Govender -Original Message-From: Daniel Graper [mailto:[EMAIL PROTECTED]Sent: 19 April 2004 02:59To: [EMAIL PROTECTED]Subject: Re: MQSI - How to add attributes to input XML Magendran: I appreciate your response bit I think there is something missing still. This EQSL produced the following: fred >>> [EMAIL PROTECTED] 4/19/2004 7:53:47 AM >>> SET OutputRoot = InputRoot; SET OutputRoot.XML.people.person.(XML.Attribute)location = 'London'; Regards Magendran Govender -Original Message-From: Daniel Graper [mailto:[EMAIL PROTECTED]Sent: 19 April 2004 01:26To: [EMAIL PROTECTED]Subject: MQSI - How to add attributes to input XML I am having some difficulty trying to add xml attributes to opening tags that are input to one of our message flows. Basically, I need to find out how to take an input document like this: fred and change it to something like this: fred Does anyone have an example of this in a v2.1 compute node? thanks, Sebastian Please click on the following link to read the Old Mutual legal notice: <http://www.oldmutual.co.za/e-mail_legal_notice> Alternatively, send a "blank" e-mail to <mailto:[EMAIL PROTECTED]> Please click on the following link to read the Old Mutual legal notice: <http://www.oldmutual.co.za/e-mail_legal_notice> Alternatively, send a "blank" e-mail to <mailto:[EMAIL PROTECTED]>
Re: MQSI - How to add attributes to input XML
Magendran: I appreciate your response bit I think there is something missing still. This EQSL produced the following: fred >>> [EMAIL PROTECTED] 4/19/2004 7:53:47 AM >>> SET OutputRoot = InputRoot; SET OutputRoot.XML.people.person.(XML.Attribute)location = 'London'; Regards Magendran Govender -Original Message-From: Daniel Graper [mailto:[EMAIL PROTECTED]Sent: 19 April 2004 01:26To: [EMAIL PROTECTED]Subject: MQSI - How to add attributes to input XML I am having some difficulty trying to add xml attributes to opening tags that are input to one of our message flows. Basically, I need to find out how to take an input document like this: fred and change it to something like this: fred Does anyone have an example of this in a v2.1 compute node? thanks, Sebastian Please click on the following link to read the Old Mutual legal notice: <http://www.oldmutual.co.za/e-mail_legal_notice> Alternatively, send a "blank" e-mail to <mailto:[EMAIL PROTECTED]>
Re: MQSI - How to add attributes to input XML
I think something like this will work: SET OutputRoot.XML.people.person.(XML.Attribute)location = 'London'; -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 2:26 PM To: [EMAIL PROTECTED] Subject: MQSI - How to add attributes to input XML I am having some difficulty trying to add xml attributes to opening tags that are input to one of our message flows. Basically, I need to find out how to take an input document like this: fred and change it to something like this: fred Does anyone have an example of this in a v2.1 compute node? thanks, Sebastian * This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Riyad Bank. Finally, the recipient should check this email and any attachments for the presence of any viruses. Riyad Bank accepts no liability for any damage caused by any virus / error transmitted by this email. *
Re: MQSI - How to add attributes to input XML
SET OutputRoot = InputRoot; SET OutputRoot.XML.people.person.(XML.Attribute)location = 'London'; Regards Magendran Govender -Original Message-From: Daniel Graper [mailto:[EMAIL PROTECTED]Sent: 19 April 2004 01:26To: [EMAIL PROTECTED]Subject: MQSI - How to add attributes to input XML I am having some difficulty trying to add xml attributes to opening tags that are input to one of our message flows. Basically, I need to find out how to take an input document like this: fred and change it to something like this: fred Does anyone have an example of this in a v2.1 compute node? thanks, Sebastian Please click on the following link to read the Old Mutual legal notice: <http://www.oldmutual.co.za/e-mail_legal_notice> Alternatively, send a "blank" e-mail to <mailto:[EMAIL PROTECTED]>
MQSI - How to add attributes to input XML
I am having some difficulty trying to add xml attributes to opening tags that are input to one of our message flows. Basically, I need to find out how to take an input document like this: fred and change it to something like this: fred Does anyone have an example of this in a v2.1 compute node? thanks, Sebastian