From tom.lister@ants.co.uk Tue Jul 8 16:51:57 2003 Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 2514 invoked from network); 8 Jul 2003 16:51:57 -0000 Received: from unknown (HELO ts2-ms-a.ants.co.uk) (193.201.47.14) by daedalus.apache.org with SMTP; 8 Jul 2003 16:51:57 -0000 Received: from LONSE004.ants.anplc.co.uk (unverified) by ts2-ms-a.ants.co.uk (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Tue, 8 Jul 2003 17:46:23 +0100 Received: by lonse004.ants.anplc.co.uk with Internet Mail Service (5.5.2653.19) id ; Tue, 8 Jul 2003 17:53:31 +0100 Message-ID: From: "Lister, Tom (ANTS)" To: 'Jakarta Commons Users List' Subject: [Digester] element names Date: Tue, 8 Jul 2003 17:54:20 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi I'm need to parse an XML document and cross reference selected elements with a mapping database to resolve different naming conventions between systems. We are using XML via MQ for real time integration. My problem is that when I get the content of an element to call a mapping method call, I also want to pass the name of the element as a second parameter to the method. I can't see a way to get this information. Alternatively a way to pass in a hard coded parameter would also work as I know which elements I am defining rules for. I can't see any way to pass parameters to a method call other than element contents - or have I missed something basic. Do I need to build a custom rule for this? :-) Tom Lister Technical Architecture Group * - 020 7756 5014 * - tom.lister@ants.co.uk *************************************************************************** This communication (including any attachments) contains confidential information. If you are not the intended recipient and you have received this communication in error, you should destroy it without copying, disclosing or otherwise using its contents. Please notify the sender immediately of the error. Internet communications are not necessarily secure and may be intercepted or changed after they are sent. Abbey National Treasury Services plc does not accept liability for any loss you may suffer as a result of interception or any liability for such changes. If you wish to confirm the origin or content of this communication, please contact the sender by using an alternative means of communication. This communication does not create or modify any contract and, unless otherwise stated, is not intended to be contractually binding. Abbey National Treasury Services plc. Registered Office: Abbey National House, 2 Triton Square, Regents Place, London NW1 3AN. Registered in England under Company Registration Number: 2338548. Regulated by the Financial Services Authority (FSA). ***************************************************************************