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 » DOCTYPE declaration

Post new topic  Reply to topic
 DOCTYPE declaration « View previous topic :: View next topic » 
Author Message
mpong
PostPosted: Thu Nov 05, 2015 11:12 pm    Post subject: DOCTYPE declaration Reply with quote

Disciple

Joined: 22 Jan 2010
Posts: 164

Hello All,

I have ESQL declaration as below

SET OutputRoot.XMLNSC.(XMLNSC.DocumentType)* NAME = 'ledesxml SYSTEM "http://www.ledes.org/ledes2000.dtd"'

Output:
<!DOCTYPE ledesxml SYSTEM &quot;http://www.ledes.org/ledes2000.dtd&quot;>

I have explained target system on the output--> &quot; but they want it as below

<!DOCTYPE ledesxml SYSTEM "http://www.ledes.org/ledes2000.dtd">

Please suggest best way of doing the same
Back to top
View user's profile Send private message
timber
PostPosted: Fri Nov 06, 2015 1:12 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

It pains me to say this, but...you will need to use the XMLNS domain if you need to output an inline DTD.
Code:
SET OutputRoot.XMLNS.(XML.DocTypeDecl)ledesxml = '';
SET OutputRoot.XMLNS.(XML.DocTypeDecl).(XML.SystemId) = 'http://www.ledes.org/ledes2000.dtd';

I have opened an RFE to get the required field type constants added to XMLNSC: http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=79404
If you would like to see this implemented, please add your vote.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Nov 06, 2015 5:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

timber wrote:
It pains me to say this, but...you will need to use the XMLNS domain if you need to output an inline DTD.




timber wrote:
I have opened an RFE to get the required field type constants added to XMLNSC: http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=79404
If you would like to see this implemented, please add your vote.




Vote now, before the XMLNS domain breaks out of Hursley castle and lumbers down to the village. There's going to be a lot of burning bits of wood in the UK at the moment and they don't need another mob armed with burning torches and pitchforks (all conforming to the appropriate Health And Safety guidelines of course)
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » DOCTYPE declaration
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.