|
|
|
date: Wed, 22 Aug 2007 15:22:40 +0100,
group: microsoft.public.biztalk.sdk
back
Re: creating a usable component
On Wed, 22 Aug 2007 15:22:40 +0100, "Andrew Brook"
wrote:
>I'd basically like to produce a .NET component that given an input XML file
>(or stream) will return an output XML file (or stream) with transformations
>applied. I'm currently working on the transformation side of things, but i'm
>hoping that what I produce can then be slipped into other .NET projects that
>I have. Just to clarify, i'm not using biztalk server here, i'm just hoping
>to use the mapping side of things.
When you are done with your map inside the mapper, you can rightclick
the .btm file in solution explorer and choose "validate map". In the
output pane, you will get a tlink to the generated xslt. This xslt can
be used in your own component, using the standard XSLT transform
methods.
--
eliasen, representing himself and not the company he works for.
Private blog: http://blog.eliasen.dk
Private email: jan@eliasen.dk
date: Wed, 22 Aug 2007 17:24:17 +0200
author: Jan Eliasen am
Re: creating a usable component
Jan,
Apologies for a long delay in responding here.
Even though the XSLT is useful - it would be far easier if I could use the
generated DLL somehow (apart from using bizatalk server). For example, my
transformation includes some c# - this would not be represented in the
resulting XSLT I assume?
thanks,
Andrew
"Jan Eliasen" <eliasen@nospam.nospam> wrote in message
news:97loc3drkr0rjr31sj2oc7i1hbu1g6buet@4ax.com...
> On Wed, 22 Aug 2007 15:22:40 +0100, "Andrew Brook"
> wrote:
>
>>I'd basically like to produce a .NET component that given an input XML
>>file
>>(or stream) will return an output XML file (or stream) with
>>transformations
>>applied. I'm currently working on the transformation side of things, but
>>i'm
>>hoping that what I produce can then be slipped into other .NET projects
>>that
>>I have. Just to clarify, i'm not using biztalk server here, i'm just
>>hoping
>>to use the mapping side of things.
> When you are done with your map inside the mapper, you can rightclick
> the .btm file in solution explorer and choose "validate map". In the
> output pane, you will get a tlink to the generated xslt. This xslt can
> be used in your own component, using the standard XSLT transform
> methods.
>
> --
> eliasen, representing himself and not the company he works for.
>
> Private blog: http://blog.eliasen.dk
>
> Private email: jan@eliasen.dk
date: Tue, 30 Oct 2007 12:33:54 -0000
author: Andrew Brook
Re: creating a usable component
thanks - i've actually looked at the generated XSL and it does constain the
c# - interesting, i suppose MSXML can understand that when it finds it...
otherwise it wouldn't work :)
I also tried to add the DLL into another project and was encourage until i
realised i didn't know how to call it, i suppose it would have been asking
too much for there to be a Transform function which took the path of the XML
you'd like to process :)
I don't suppose you know of any starting points on the web where I may be
able to find out the information for calling using DLL from another project?
thanks,
Andrew
"Jan Eliasen" <eliasen@nospam.nospam> wrote in message
news:rmg3j3dq6nds2nj6kmjeu844h3u5tm82is@4ax.com...
> On Tue, 30 Oct 2007 12:33:54 -0000, "Andrew Brook"
> wrote:
>
>>Apologies for a long delay in responding here.
>>
>>Even though the XSLT is useful - it would be far easier if I could use the
>>generated DLL somehow (apart from using bizatalk server). For example, my
>>transformation includes some c# - this would not be represented in the
>>resulting XSLT I assume?
> Actually, it would.
>
> And programmatically, you can use the dll generated instead, if you
> want to - I just don't know the code to do it..
>
> --
> eliasen, representing himself and not the company he works for.
>
> Private blog: http://blog.eliasen.dk
>
> Private email: jan@eliasen.dk
date: Thu, 8 Nov 2007 08:44:46 -0000
author: Andrew Brook
|
|