MQSeries.net
Search
Tech Exchange
Education
Certifications
Library
Info Center
SupportPacs
LinkedIn
Search
FAQ
 Â
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
»
still cant search thru the xml message!!!
still cant search thru the xml message!!!
«
View previous topic
::
View next topic
»
Author
Message
rajaram
Posted: Wed Mar 24, 2004 2:32 am
Post subject: still cant search thru the xml message!!!
Acolyte
Joined: 02 Jan 2004
Posts: 53
hi frnds,
I still cant parse thru xml message.Lemme rephrase the quesiton for u guys.
<top level>
<class id=1>
<at id="222">
<text id= "456">Hello World</text>
</at>
</class>
<class id = 2>
<at id ="123">
<text id= "789">Hi </text>
</at>
</class>
<class id=3>
.
.
.
.
.
</top level>
I need to search for the <text> and not the attribute of <text>...based on the value of attribute 'id' of 'at'..ie
if "inputbody"."toplevel"."class"[].at.(XML.Attribute)id = '123' then
set output.mrm.aaa = at.text
end if
Now the problem is i need to search for this in every class without using a while loop.
How do i do that??
Back to top
Missam
Posted: Wed Mar 24, 2004 6:03 am
Post subject:
Chevalier
Joined: 16 Oct 2003
Posts: 424
Quote:
if "inputbody"."toplevel"."
class[]
.at.(XML.Attribute)id = '123'
.
you can't use open list operator like this in if statement.
Quote:
set output.mrm.aaa = at.text
the correlation name output is not valid.there is no semicolon at the end of statement
Quote:
end if
missing semicolon at the end
do you still want this code to work for you.
if you have more than one <class> in your message and you want to check a condition using if statement,you need to loop through every <class>
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Page
1
of
1
MQSeries.net Forum Index
»
WebSphere Message Broker (ACE) Support
»
still cant search thru the xml message!!!
Jump to:
Select a forum
General Discussion
----------------
Read First for All New to IBM MQ, Integration, Messaging, WebSphere - Only Moderators Post Here
General Discussion
Messaging and Integration Technologies FAQ
News/Updates
Links
Job Seekers
Job Postings
General Forums Information
Requirements, Wishlists & Enhancement Requests
----------------
RFEs - Requirements, Wishlists & Enhancement Requests - Open Forum
IBM MQ Support
----------------
General IBM MQ Support
IBM MQ Cloud and SaaS, Cloud Hybrid and Containers
IBM MQ Installation/Configuration Support
Clustering
IBM MQ Telemetry / Low Latency Messaging / Everyplace
Mainframe, CICS, TXSeries
iSeries, OpenVMS, HP-NSS
IBM MQ Performance Monitoring
IBM MQ Security
IBM MQ Development
----------------
IBM MQ Java / JMS
IBM MQ API Support
Multiphase Commit
User Exits
WebSphere Message Broker
----------------
WebSphere Message Broker (ACE) Support
WMB Patterns Repository - Available for Download
WebSphere Application Server
----------------
WebSphere Application Server
Web Services
----------------
WebSphere DataPower
Products that use IBM MQ
----------------
Workflow Engines - IBM MQ Workflow & Business Process Choreographer
WebSphere Process Server (WID/WPS/WAS+)
WebSphere Interchange Server + Adapters
IBM MQ File Transfer Edition
Resources, Files, Samples, Archives, Misc
----------------
Files and Code Samples
Archives - All
Challenge Forum
Sponsored Forums
----------------
Cressida Technology
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.