Forcing BizTalk to write out a DOCTYPE tag
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Forcing BizTalk to write out a DOCTYPE tag




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Forcing BizTalk to write out a DOCTYPE tag  
fheinema


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-06 11:02 PM

We have a partner that needs the DOCTYPE element written out in the XML file
we are sending them.  Is there a way to force BizTalk 2004 to include the
DOCTYPE tag?  I tried adding in information on the schema properties for
"Document Type" and "Document Version" but it does not write out a DOCTYPE
tag.
--
Fred Heinemann





[ Post a follow-up to this message ]



    RE: Forcing BizTalk to write out a DOCTYPE tag  
Stephen W. Thomas


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-06 11:02 PM

Hello.

So you have an element in your schema called DOCTYPE and you just want to
make sure it always shows up with either a value or blank?

What I usually do is use a script functoid and have it return “”.  Then,
 map
that to the node.  I think you can also use a string concatenation with just
a single blank parameter.

Point being you need some functoid to create the node for you.

Stephen W. Thomas
http://www.biztalkgurus.com
http://geekswithblogs.net/sthomas/


"fheinema" wrote:

> We have a partner that needs the DOCTYPE element written out in the XML fi
le
> we are sending them.  Is there a way to force BizTalk 2004 to include the
> DOCTYPE tag?  I tried adding in information on the schema properties for
> "Document Type" and "Document Version" but it does not write out a DOCTYPE
> tag.
> --
> Fred Heinemann





[ Post a follow-up to this message ]



    Re: Forcing BizTalk to write out a DOCTYPE tag  
Scott Colestock


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-06 11:01 PM

He is dealing with DTDs - to add a DOCTYPE, your best bet might be to use a
send pipeline to add this to the raw content.
(You could write a custom serializer, as has been discussed before, but that
might be overkill for this.)

Scott Colestock
www.traceofthought.net


"Stephen W. Thomas" <StephenWThomas@discussions.microsoft.com> wrote in
message news:F484AA67-D044-438C-AD9A-A162117743AF@microsoft.com...[vbcol=seagreen]
> Hello.
>
> So you have an element in your schema called DOCTYPE and you just want to
> make sure it always shows up with either a value or blank?
>
> What I usually do is use a script functoid and have it return "".  Then,
> map
> that to the node.  I think you can also use a string concatenation with
> just
> a single blank parameter.
>
> Point being you need some functoid to create the node for you.
>
> Stephen W. Thomas
> http://www.biztalkgurus.com
> http://geekswithblogs.net/sthomas/
>
>
> "fheinema" wrote:
> 







[ Post a follow-up to this message ]



    Re: Forcing BizTalk to write out a DOCTYPE tag  
fheinema


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-06 11:04 PM

So there is no setting in the pipeline properties to add a DOCTYPE element
in?  I know there is one for the xml processing instruction.  I was hoping
there was another property I could set to add that in.

--
Fred Heinemann


"Scott Colestock" wrote:

> He is dealing with DTDs - to add a DOCTYPE, your best bet might be to use 
a
> send pipeline to add this to the raw content.
> (You could write a custom serializer, as has been discussed before, but th
at
> might be overkill for this.)
>
> Scott Colestock
> www.traceofthought.net
>
>
> "Stephen W. Thomas" <StephenWThomas@discussions.microsoft.com> wrote in
> message news:F484AA67-D044-438C-AD9A-A162117743AF@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Re: Forcing BizTalk to write out a DOCTYPE tag  
Scott Colestock


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-06 11:04 PM

Not that I'm aware of -

Scott Colestock
www.traceofthought.net

"fheinema" <fheinema@discussions.microsoft.com> wrote in message
news:3BD2AB3E-E798-4046-BDAF-1AF7E3B59D17@microsoft.com...[vbcol=seagreen]
> So there is no setting in the pipeline properties to add a DOCTYPE element
> in?  I know there is one for the xml processing instruction.  I was hoping
> there was another property I could set to add that in.
>
> --
> Fred Heinemann
>
>
> "Scott Colestock" wrote:
> 







[ Post a follow-up to this message ]



    Re: Forcing BizTalk to write out a DOCTYPE tag  
Younes Amar


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-25-06 04:37 PM

Hi,
You can use  Grid Properties to set the "Doctype Public" and "Doctype
System"
properties in the mapper.

Younes

"Scott Colestock" <scolestock@community.nospam> wrote in message
news:O5aStmQIGHA.216@TK2MSFTNGP15.phx.gbl...
> Not that I'm aware of -
>
> Scott Colestock
> www.traceofthought.net
>
> "fheinema" <fheinema@discussions.microsoft.com> wrote in message
> news:3BD2AB3E-E798-4046-BDAF-1AF7E3B59D17@microsoft.com... 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:02 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register