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 » XMLT NODE: What other options are there?

Post new topic  Reply to topic
 XMLT NODE: What other options are there? « View previous topic :: View next topic » 
Author Message
shediiwork
PostPosted: Tue May 08, 2007 9:21 am    Post subject: XMLT NODE: What other options are there? Reply with quote

Acolyte

Joined: 07 Jun 2005
Posts: 52

Quote:
What value are you deriving from using XSLT to do transformations, when Broker is fully capable of doing it in several other, more efficient, manners?


The above is a quote from a earlier post in this forum. I have a transformation issue, which I am current trying to solve with a Compute node (ESQL). I receive a XML input message which need to be verified for require fields. What are the other methods? I know MAPPING and Message SETS are a few.


Input message - pre-validated
<xml-data>
<datahdr>
<hdrID>
<itemID>
<itemName/>
<itemDesc/>
</itemID>
</hdrID>
</datahdr>
</xml-data>

Input message - validated
<xml-data>
<datamesg/>
<datatype/>
<datahdr>
<hdrID>
<itemID>
<itemName/>
<itemDesc/>
<itemValue/>
</itemID>
</hdrID>
</datahdr>
</xml-data>
Back to top
View user's profile Send private message
madi
PostPosted: Tue May 08, 2007 10:18 am    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

XML Validator Node -- Support pack from IBM

Check it out

--madi
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 08, 2007 10:25 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The only two "out of the box" Validation choices in Broker are modelling your data using MRM, and hand-writing code to check that each field matches business criteria.

I suppose it's possible to use XSLT to do this, but I'd just use MRM instead.

Madi is correct to point out the XML Validation support pack - this will allow you to specify a Schema that defines the business rules to check the XML message against. But, an MRM message set is pretty much just a schema and can be created from a schema. So I'd only use the Support Pack if the decision has been cast in stone not to use the MRM.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
shediiwork
PostPosted: Tue May 08, 2007 1:19 pm    Post subject: Reply with quote

Acolyte

Joined: 07 Jun 2005
Posts: 52

Thanks for the responses. The current solution is to model the message by hand-writing esql code. I could not find the XML Validation support pack when I look for it.

thanks
Shed
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 08, 2007 1:23 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's Support Pack IA9A.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
shediiwork
PostPosted: Tue May 08, 2007 1:55 pm    Post subject: Reply with quote

Acolyte

Joined: 07 Jun 2005
Posts: 52

I got it thanks
Back to top
View user's profile Send private message
shediiwork
PostPosted: Wed May 09, 2007 8:20 am    Post subject: STILL having trouble Reply with quote

Acolyte

Joined: 07 Jun 2005
Posts: 52

Does anyone have an example of esql to check each field present, location and value?
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 » XMLT NODE: What other options are there?
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.