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 » Getting Attribute Values

Post new topic  Reply to topic
 Getting Attribute Values « View previous topic :: View next topic » 
Author Message
RocknRambo
PostPosted: Wed Aug 11, 2004 11:54 am    Post subject: Getting Attribute Values Reply with quote

Partisan

Joined: 24 Sep 2003
Posts: 355

hi all...

I am having a weird issue...

I'll b getting an xml....
in the form of..

<abc C="Y">37</abc>
<def C="Y">no</def>

I just need the Element values NOT the attributes.....
but the output is coming with the attribute values. ..like

<xyz jciag:update="Y">37</xyz>
<wef>no</wef>


the code I'm using as

SET OutputRoot.xml.OUTPUT.xyz = InputRoot.xml.INPUT.abc
SET OutputRoot.xml.OUTPUT.wef = InputRoot.xml.INPUT.abc


any suggestions..please.

sanu
Back to top
View user's profile Send private message
RocknRambo
PostPosted: Wed Aug 11, 2004 12:09 pm    Post subject: Reply with quote

Partisan

Joined: 24 Sep 2003
Posts: 355

sorry..there was type....

the input msg

<abc C="Y">37</abc>
<def C="Y">no</def>

output Msg.

<xyz C="Y">37</xyz>
<wef C="Y">no</wef>


I'm working on WBIMB 5 CSD 3
Back to top
View user's profile Send private message
shanson
PostPosted: Thu Aug 12, 2004 2:38 am    Post subject: Reply with quote

Partisan

Joined: 17 Oct 2003
Posts: 344
Location: IBM Hursley

Your ESQL is copying at the level 'abc' - so you will copy the children of 'abc' also, which includes any attributes. Try:

SET OutputRoot.xml.OUTPUT.xyz VALUE = InputRoot.xml.INPUT.abc
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 » Getting Attribute Values
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.