| Tomas Restrepo \(MVP\) 2005-02-20, 6:11 pm |
| Rich,
> I am outputting an XML document to be processed by a software package
> application. The send port maps the data to an XML document and then uses
> the default "XMLtransmit" pipeline from MS to write the document to a file
> directory.
>
> The first line of the resulting document is "<?xml version="1.0"
> encoding="utf-8" ?> ". This expression causes the document to be
rejected
> by the application.
>
> Is it possible to surpress this XML expression within Biztalk or will I be
> required to do post processing of the document after Biztalk outputs the
> file?
Yes, it is possible. Instead of using the default XMLTransmit pipeline,
create your own custom Send pipeline, add the XMLAssembler component to it,
and then configure on it the schemas of the messages you want to send. Also,
set the "Add XML Declarations" property of the XMLAssembler to false.
Then configure your send port to use your newly created pipeline.
--
Tomas Restrepo
tomasr@mvsp.org
|