MQSeries.net
Search
Tech Exchange
Education
Certifications
Library
Info Center
SupportPacs
LinkedIn
Search
FAQ
 Â
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
»
XML with mixed content
XML with mixed content
«
View previous topic
::
View next topic
»
Author
Message
marco
Posted: Thu May 19, 2005 4:20 am
Post subject: XML with mixed content
Apprentice
Joined: 16 Feb 2004
Posts: 46
Hi,
I have a fixed string structure and I want to translate it in XML as follows :
change
TEST = test
ELE1 = content
into
<Msg>
<Element1 attr="test">content</Element1>
</Msg>
So I created both messagesets, declared Complex Type "Element1" as Mixed and ordered set and tried it with both a mapping and esql :
SET OutputRoot.MRM.Msg.Element1.(XML.Attribute)"attr" = InputRoot.MRM.TEST;
SET OutputRoot.MRM.Msg.Element1 = InputRoot.MRM.ELE1;
in either cases the result was :
<Msg>
<Element1>content</Element1>
</Msg>
So I think the second line is recreating the element that was created with the first line.
Can anyone help me with this problem ?
Tx
Tom
Back to top
vennela
Posted: Thu May 19, 2005 6:16 am
Post subject:
Jedi Knight
Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India
Moving to WBIMB forum.
Back to top
jefflowrey
Posted: Thu May 19, 2005 6:18 am
Post subject:
Grand Poobah
Joined: 16 Oct 2002
Posts: 19981
Have you tried reversing the order of your statements?
_________________
I am *not* the model of the modern major general.
Back to top
marco
Posted: Fri May 20, 2005 12:30 am
Post subject:
Apprentice
Joined: 16 Feb 2004
Posts: 46
Tx !!!
It worked !!!
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Page
1
of
1
MQSeries.net Forum Index
»
WebSphere Message Broker (ACE) Support
»
XML with mixed content
Jump to:
Select a forum
General Discussion
----------------
Read First for All New to IBM MQ, Integration, Messaging, WebSphere - Only Moderators Post Here
General Discussion
Messaging and Integration Technologies FAQ
News/Updates
Links
Job Seekers
Job Postings
General Forums Information
Requirements, Wishlists & Enhancement Requests
----------------
RFEs - Requirements, Wishlists & Enhancement Requests - Open Forum
IBM MQ Support
----------------
General IBM MQ Support
IBM MQ Cloud and SaaS, Cloud Hybrid and Containers
IBM MQ Installation/Configuration Support
Clustering
IBM MQ Telemetry / Low Latency Messaging / Everyplace
Mainframe, CICS, TXSeries
iSeries, OpenVMS, HP-NSS
IBM MQ Performance Monitoring
IBM MQ Security
IBM MQ Development
----------------
IBM MQ Java / JMS
IBM MQ API Support
Multiphase Commit
User Exits
WebSphere Message Broker
----------------
WebSphere Message Broker (ACE) Support
WMB Patterns Repository - Available for Download
WebSphere Application Server
----------------
WebSphere Application Server
Web Services
----------------
WebSphere DataPower
Products that use IBM MQ
----------------
Workflow Engines - IBM MQ Workflow & Business Process Choreographer
WebSphere Process Server (WID/WPS/WAS+)
WebSphere Interchange Server + Adapters
IBM MQ File Transfer Edition
Resources, Files, Samples, Archives, Misc
----------------
Files and Code Samples
Archives - All
Challenge Forum
Sponsored Forums
----------------
Cressida Technology
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.