BizTalk Server Applications Integration - biztalk 2002 - xslt

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Applications Integration > April 2004 > biztalk 2002 - xslt





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author biztalk 2002 - xslt
junaid

2004-03-31, 7:40 am

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
Matt Cable

2004-04-01, 7:38 pm

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



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com