Posted: Fri Jan 09, 2004 2:30 am Post subject: fdl to dtd
Apprentice
Joined: 03 Dec 2003 Posts: 34
Hi,
I have imported the UPES XML DTD as given in the IBM redbook.
I am using WMQI ver5.1 and want to map data from PersonInfo tag to my output XML:
<ProgramInputData>
<_ACTIVITY>Asynchronous UPES</_ACTIVITY>
<_PROCESS>UPES </_PROCESS>
_PROCESS_MODEL>UPES Sample</_PROCESS_MODEL>
<PersonInfo>
<FirstName>Fred</FirstName>
<LastName>Flintstone</LastName>
</PersonInfo>
</ProgramInputData>
How do i add the above tags to the dtd that i imported in my message set and created a definition file for.
Would i need to create a new dtd for every UPES XML in my message flow.
Hi!
Why do you want to add those tags to the DTD? Add them directly to the mxsd - you can just add elements to the mxsd structure.
By the way, with MB 5, in eclipse, you can generate XSD or DTD from an XML file (you may just save one from your UPES queue).
Quote:
Would i need to create a new dtd for every UPES XML in my message flow
You should use different mxsd-s, no need of DTD, and only if the data structure differs from UPES to UPES.
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