ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Extract of Tag Name from XML

Post new topic  Reply to topic
 Extract of Tag Name from XML « View previous topic :: View next topic » 
Author Message
vmurdesh
PostPosted: Wed Jul 10, 2002 12:28 pm    Post subject: Extract of Tag Name from XML Reply with quote

Novice

Joined: 09 May 2002
Posts: 18

I am trying to Extract the Tag Name from XML in a COMPUTE node:
<Billing day="01" month="12">
</Billing>

What is the syntax for this? i tried some combinations from the manual like..

DECLARE label = CHAR;
SET label = FIELDNAME(InputRoot.XML.(XML.Element)[1];
(i need to extract 'Billing' in label)
which does not work

Thanks in advance
vm.
Back to top
View user's profile Send private message
lillo
PostPosted: Wed Jul 10, 2002 1:38 pm    Post subject: Reply with quote

Master

Joined: 11 Sep 2001
Posts: 224

Just use the following ESQL code:

DECLARE label CHARACTER;
SET label = FIELDNAME(InputRoot.XML.*[1]);

I hope this help you.

Cheers
_________________
Lillo
IBM Certified Specialist - WebSphere MQ
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Extract of Tag Name from XML
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.