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 » DocumentTypedecl in XMLNS

Post new topic  Reply to topic
 DocumentTypedecl in XMLNS « View previous topic :: View next topic » 
Author Message
PankajS
PostPosted: Tue Jul 07, 2009 7:43 am    Post subject: DocumentTypedecl in XMLNS Reply with quote

Voyager

Joined: 27 Dec 2004
Posts: 82

Hi Guys,

I am craeating a message in the compute node. The XML tree is generated perfectly if i comment the DocTypedecl code.
else i 'No XML body found exception'

I am using following code

SET OutputRoot.XMLNS.(XML.XmlDecl) = '';
SET OutputRoot.XMLNS.(XML.XmlDecl).(XML.Version) = '1.0';
SET OutputRoot.XMLNS.(XML.XmlDecl).(XML."Encoding") = 'UTF-8';
SET OutputRoot.XMLNS.(XML.DocTypeDecl)Service ='';
SET OutputRoot.XMLNS.(XML.DocTypeDecl).(XML.SystemId) = 'mySample.dtd';


SET OutputRoot.XMLNS.Service.Details.SName='abc';
SET OutputRoot.XMLNS.Service.Details.SNo='1';
.
.
...
I am expecting
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Service SYSTEM "mySample.dtd">
<Service>
<Details>
<SName>abc</SName>
<SNo>1</SNo>
</Details>
</Service>


Any help on this.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Jul 07, 2009 8:44 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

http://www.mqseries.net/phpBB2/viewtopic.php?p=252190&sid=209639ac4bdd5c47b253516f400d9981
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 » DocumentTypedecl in XMLNS
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.