|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
regarding annotations |
« View previous topic :: View next topic » |
Author |
Message
|
rajasri |
Posted: Mon Dec 11, 2006 11:08 pm Post subject: regarding annotations |
|
|
 Centurion
Joined: 11 Jun 2006 Posts: 114
|
Hi all, i have an XSD which has annotations, which contain usefull data. in my broker i need to set a value for a field present in the annotation. Generated sample xml looks like this
<xsd:element name="BLOB_BO">
<xsd:annotation>
<xsd:appinfo>
<bx:boDefinition version="3.0.0">
<bx:appSpecificInfo>cw_mo_JTextConfig = MetaData1</bx:appSpecificInfo>
</bx:boDefinition>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="BLOB" minOccurs="0">
<xsd:annotation>.......
in my ESQL , i need to set a value for <bx:appSpecificInfo> which is present in annotation. My scenario needs this kind of coding. do we have any way?. it is very urgent. |
|
Back to top |
|
 |
elvis_gn |
Posted: Tue Dec 12, 2006 12:06 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi rajasri,
My only doubt is, if your trying to create an xsd or an xml ?
You can populate the field bx:appSpecificInfo using the correct namespace and prefix...or is there something else which u want, and is not evident in your previous post ?
Regards. |
|
Back to top |
|
 |
kimbert |
Posted: Tue Dec 12, 2006 1:24 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
My scenario needs this kind of coding. do we have any way? |
There is no way to pick up user-defined annotations from an XSD using WMB. To do that you would need a validating XML parser with full support for PSVI. If you're desperate you might consider writing a Java plugin node, or doing it via the Java Compute Node. |
|
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
|
|
|
|