biztalk 2002 - xslt
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 Applications Integration > biztalk 2002 - xslt




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

    biztalk 2002 - xslt  
junaid


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


 
03-31-04 12:40 PM

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 ]



    Re: biztalk 2002 - xslt  
Matt Cable


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


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:47 AM.      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