|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Accessing elements in Java Plugin |
« View previous topic :: View next topic » |
Author |
Message
|
GYR |
Posted: Wed May 28, 2003 6:49 am Post subject: Accessing elements in Java Plugin |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed May 28, 2003 1:02 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|