|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Question on DTD generated by MQSI |
« View previous topic :: View next topic » |
Author |
Message
|
AlexeiSkate |
Posted: Fri May 17, 2002 6:58 am Post subject: Question on DTD generated by MQSI |
|
|
Centurion
Joined: 10 Apr 2002 Posts: 123
|
Let say I used MQSI to define a message layout for an incoming message with the following elements:
MyMessage
BBFY String
Fund String
When I use MQSI to generate a dtd for the message, I would get something like this for the element BBFY:
<!ELEMENT BBFY (%STRING;)>
<!ATTLIST BBFY
Dt NMTOKENS #FIXED "STRING"
MrmId CDATA #FIXED "100006">
My questions are
1) Where did the atrributes Dt and MrmId come from ? Are these automatcially generated by MQSI for each element ?
2) Why are those two attributes assigned a fixed string value ? If my BBFY is coming in as '2002', is the value going to be overwritten by either "STRING" or "100006" ?
3) If I want to assign a default value to BBFY, do I then need to define an attribute for BBFY ?
Thanks for any input. |
|
Back to top |
|
 |
CodeCraft |
Posted: Sat May 18, 2002 12:26 am Post subject: |
|
|
Disciple
Joined: 05 Sep 2001 Posts: 195
|
100006 is the component id for BBFY used as a key (along with the project) for the various components in the MRM database tables.
I can't answer the other questions directly, would probably need to see your message set to tie the DTD output to the actual message definition.
I guess the wider questions is, what are you trying to get from using the DTD, what do you think it will do for you?
The attribute list for BBFY should be describing properties of BBFY and perhaps it's relationship with it's parent type as defined in the MRM model. If you look at the XML in an "mrp" file for the set, you will see many more of these, and it may help tie them up logically for you. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|