04-02-04 12:38 AM
I don't know of any easy way to do it.
I can think of two possible ways though:
1. Create a custom Application Integration Component (AIC) that can insert
the your sytlesheet processing instruction, and deliver it to your
destination (the AIC will take the place of a transport in your Port).
2. Hand build a BizTalk Server map which would contain would contain custom
XSLT code. This would include an instruction like:
<xsl:processing-instruction name="xml-stylesheet">
<xsl:text>type="text/xsl" href="text_so.xsl"</xsl:text>
</xsl:processing-instruction>
Note: Hand-built maps cannot be edited in BizTalk Mapper. This is not a
supported Microsoft process, but if you are familiar with developing XSLT
stylesheets, it not a dificult process. I give some details in a 3/29/2004
posting to the "microsoft.public.biztalk.general" group under the Subject
"Re: Grouping in Mapper (xsl:for-each-group, Muenchian, Other) BizTalk 2002"
- Matt Cable
"junaid" <anonymous@discussions.microsoft.com> wrote in message
news:11a9701c4171c$8f277f30$a001280a@phx
.gbl...
> Hi,
> We are using biztalk 2002 to route XML Sales orders.We
> would like to add this line: <?xml:stylesheet
> type="text/xsl" href="test_so.xsl"?> to the outbound sales
> order which means that:
>
> before adding the line the Sales order looks like this:
> <PROCESS_PO_003>
> <CNTROLAREA>
> <BSR>
> <VERB
> value="PROCESS">PROCESS</VERB>
> <NOUN value="PO">PO</NOUN>
> ...
>
> and we would like to receive sales order as:
>
> <?xml:stylesheet type="text/xsl" href="test_so.xsl"?>
> <PROCESS_PO_003>
> <CNTROLAREA>
> <BSR>
> <VERB
> value="PROCESS">PROCESS</VERB>
> <NOUN value="PO">PO</NOUN>
> <REVISION
> value="003">003</REVISION>
> .....
>
> How it is possible? I have tried using biztalk mapper but
> no luck. Please advice.
>
> kind regards/junaid
[ Post a follow-up to this message ]
|