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 » constructing of xml tree using input plugin node

Post new topic  Reply to topic
 constructing of xml tree using input plugin node « View previous topic :: View next topic » 
Author Message
narendrach
PostPosted: Fri Sep 23, 2005 11:53 am    Post subject: constructing of xml tree using input plugin node Reply with quote

Voyager

Joined: 29 Jun 2005
Posts: 78

i am creating input plugin node which takes file name as a property
and reads the file and constructs an xml tree as
<Structure>
<fileName></filename>
<fileContent></fileContent>
<Structure>

and send it to the next compute node .how can i create a xml tree in my plugin node ..
please give sample example.. for constructing a xml message tree
_________________
Narendra CH
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Sat Sep 24, 2005 4:09 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You won't construct an XML tree.

You'll construct a series of linked MbNodes, that have the XML parser associated with them.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
narendrach
PostPosted: Sat Sep 24, 2005 11:53 am    Post subject: Reply with quote

Voyager

Joined: 29 Jun 2005
Posts: 78

that is my custom plugin node not Mb Plugin node
and this node comes at the starting of the flow ...
and my requirement is...
in my custom node i must read a file from a directory
and create a xml tree in the format which i had specified above
and the content and name should be be in the message tree as a child tags and pass the tree to the next MbNodes
_________________
Narendra CH
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Sat Sep 24, 2005 1:18 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Okay, you do have another choice.

You can create a bitstream that matches the "xml tree" you want to build (but it will not be a tree, it will be a flat section of bytes). Then you can associate that with the XML or XMLNS parser, and then the next node will have the option of parsing down the different pieces of the logical message tree.

The only thing that will be different from any other sample Input node will be that you are going to add some fixed text to the front and back of the contents of the file.
_________________
I am *not* the model of the modern major general.
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 » constructing of xml tree using input plugin node
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.