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 IndexWebSphere DataPowerhelp with XSLT transformation

Post new topicReply to topic
help with XSLT transformation View previous topic :: View next topic
Author Message
amitkothari18
PostPosted: Sat Oct 15, 2011 3:59 am Post subject: help with XSLT transformation Reply with quote

Novice

Joined: 12 Feb 2011
Posts: 24

Hi,

I have a requirement to use datapower to read a xml message from a MQ Queue and then update a database tables based of the values from the xml message. The xml looks like the following:

<CSF_AuditRequest xmlns="http://www.abc.esb.csf/Audit_Services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ESBHeader>
<ESBHeaderVersion>1</ESBHeaderVersion>
<TransactionID>20090610805400200906161</TransactionID>
<SubmitTime>2009-03-18T00:00:00.000000</SubmitTime>
<SourceSystem>ABCD</SourceSystem>
</ESBHeader>
<AuditRequest>
<AuditHeader>
<UniqueID>2009061080540020090616110155532973297</UniqueID>
<CreateTime>2009-03-18T00:00:00.000000</CreateTime>
<HostName>1.2.3.4</HostName>
</AuditHeader>
<AuditPayload/>
</AuditRequest>
</CSF_AuditRequest>

I tried different ways to extract the values in each xml tab but I am not able to find the appropriate XPath definition to extract these values. Any help in this is high appreciated.
Back to top
View user's profile Send private message
amitkothari18
PostPosted: Sat Oct 22, 2011 12:39 am Post subject: Found the solution!! Reply with quote

Novice

Joined: 12 Feb 2011
Posts: 24

Used DataPower "Xpath Tool" with "URI" option selected and it worked fine!!
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere DataPowerhelp with XSLT transformation
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.