ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  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 » XMLNS opaque parsing

Post new topic  Reply to topic
 XMLNS opaque parsing « View previous topic :: View next topic » 
Author Message
WBI_user
PostPosted: Mon Feb 09, 2009 12:36 pm    Post subject: XMLNS opaque parsing Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

I am trying how to do XMLNS opaque parsing

The sample given in the info center is
CREATE LASTCHILD OF OutputRoot
DOMAIN('XMLNS')
PARSE (BitStream
ENCODING InputRoot.Properties.Encoding
CCSID InputRoot.Properties.CodedCharSetId
FORMAT 'XMLNS_OPAQUE'
TYPE 'Body');

It also says "The TYPE clause can specify the element name with no namespace (to match any namespace), or with a namespace prefix or full namespace URI (to match a specific namespace). "

I can not find anymore details on this Type parameter anymore.

If my Input message is like
<MyRoot_Tag>
<MyTAG1>
<tag1> (with manay children)
<tag2> (with manay children)
</MyTAG1>
<MyTAG2>
<tag1> (with manay children)
<tag2> (with manay children)
</MyTAG2>
<MyTAG3>
<tag1> (with manay children)
<tag2> (with manay children)
</MyTAG3>
<MyTAG4>
<tag1> (with manay children)
<tag2> (with manay children)
</MyTAG4>

</MyRoot_Tag>

I have 2 questions
1. can I specify more than 1 type? e.g. I want to do opaque parsing on MyTag2 and MyTag3 ?
2. What if I want to do Opaqie parsing for tag2 under MyTag2. How can I do it?
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Feb 09, 2009 2:39 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Short answers are:
- If on v6.0, XMLNS will allow a maximum of one opaquely-parsed tag.
- if on v6.1, you should not be using XMLNS for opaque parsing. XMLNSC allows you to specify more than one tag name.
- In either case, any tag which matches the given name(s) will be opaquely parsed, wherever its occurs, and whatever its parent tag.

All of this information is available here. Search for 'opaque parsing'.
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp
Back to top
View user's profile Send private message
WBI_user
PostPosted: Tue Feb 10, 2009 6:30 am    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

Thanks Kimbert, I am still on V6.0 so I need to wait to get to 61 to take the advantage of Opaque parsing on multiple fields.

Do you happen to know if I want to do opage parsing on tag1 under MyTag3, what should I specify under Type? There are tag1 under MyTag1, MyTag2 and MyTag4 also.

I tied to do Type='MyTag3.tag1', it is not working.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Feb 10, 2009 7:07 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
Do you happen to know if I want to do opage parsing on tag1 under MyTag3, what should I specify under Type?


You need to raise a requirement with IBM:
Quote:
- In either case, any tag which matches the given name(s) will be opaquely parsed, wherever its occurs, and whatever its parent tag.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XMLNS opaque parsing
Jump to:  



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.