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 » Adding Parent XML Tags

Post new topic  Reply to topic
 Adding Parent XML Tags « View previous topic :: View next topic » 
Author Message
el_pollo_del_mar
PostPosted: Wed Oct 02, 2002 2:25 pm    Post subject: Adding Parent XML Tags Reply with quote

Novice

Joined: 01 Jul 2002
Posts: 13

Is there an easy way to insert a new Parent tag for an XML message within the Broker?

For example, changing:
<A>
</A>
<B>
</B>
<C>
<D>
</D>
</C>

to:
<Parent>
<A>
</A>
<B>
</B>
<C>
<D>
</D>
</C>
</Parent>

I've checked the documentation, but haven't been able to find any mention of this. Any suggestions (preferably not involving custom nodes or plugins)?
Back to top
View user's profile Send private message
lillo
PostPosted: Tue Oct 08, 2002 4:25 am    Post subject: Reply with quote

Master

Joined: 11 Sep 2001
Posts: 224

Code:
SET OutputRoot.XML.Parent = InputBody;


BTW, your input xml is a non valid xml document.

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 » Adding Parent XML Tags
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.