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 » Accessing elements in Java Plugin

Post new topic  Reply to topic
 Accessing elements in Java Plugin « View previous topic :: View next topic » 
Author Message
GYR
PostPosted: Wed May 28, 2003 6:49 am    Post subject: Accessing elements in Java Plugin Reply with quote

Acolyte

Joined: 23 Jan 2002
Posts: 72

I already have a class that reads an XML constructed message passes it into a W3C DOM Parser and subsequently goes down the list creating NodeLists and NamedNodeMaps etc to get attributes, what I do not see is how I can convert this into a similar thing that the WMQI provides, all is seem to see is MBElement class that allows a direct path to a tag but how are the attributes etc accessed, have read the programming manuam and most current redbooks but there is little solace here, anyone who can help appreciated.

regards
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 28, 2003 1:02 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Actually, you probably don't want to parse this yourself.

Consider that you can use the MbSQLStatement to run ESQL statements, and remember that 'create field ... parse' is an ESQL statement.

Otherwise, you'll need to go through each Attribute, and element, and etc, and use one of the createElement methods - which will be lots of code and difficult to get right.

Also, there is supposed to be better and more direct access to the parser utilities from java in v5.
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 » Accessing elements in Java Plugin
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.