Author |
Message
|
satyasheel15 |
Posted: Tue Jun 15, 2004 9:30 am Post subject: How to import XML DTD into a message set in IBM WBI MB V5 |
|
|
Voyager
Joined: 04 Mar 2003 Posts: 86
|
Question:
I have created one XML DTD and I want to import the same into the XML message set.
Please let me know how to do it. |
|
Back to top |
|
 |
Nizam |
Posted: Tue Jun 15, 2004 9:53 am Post subject: |
|
|
Disciple
Joined: 10 Feb 2004 Posts: 160
|
File -> import -> File System -> Browse -> select your dtd and Finish....... |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jun 15, 2004 10:08 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Nizam -
That will only bring the DTD file into the message set project.
Then you have to create a new message description file, and specify that you want to create it from a DTD.
And then specify the DTD and follow the rest of the wizard screens appropriately. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
waugh |
Posted: Wed Jun 16, 2004 4:52 am Post subject: |
|
|
 Master
Joined: 19 Feb 2004 Posts: 225
|
Hey Satya,
step1:
as Nizam said, import the file into the project folder, when you refresh you will see that .dtd file in there
step2:
right click on your message set and choose new message definition file, choose your project folder and select your dtd file and click OK.
then under default tree you will see .mxsd file, in that tree you will find your imported message structure.
I hope this helps. |
|
Back to top |
|
 |
wooda |
Posted: Tue Jun 22, 2004 8:04 am Post subject: |
|
|
 Master
Joined: 21 Nov 2003 Posts: 265 Location: UK
|
If this is something you plan to do more often then there is a command line utility to do this called mqsicreatemsgdefs.exe in the eclipse directory.
This will also import C,COBOL and Schema files. |
|
Back to top |
|
 |
|