Subject: RE: [xsl] Calling Saxon Transform from .NET API From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sun, 24 Aug 2008 17:16:55 +0100 |
The saxon-resources download includes sample C# code for invoking Saxon on .NET (see the samples/cs directory). It shouldn't be very difficult to translate this to VB - it involves the same calls, just trivially-different surface syntax. Michael Kay Saxonica > -----Original Message----- > From: Ronnie Royston [mailto:rhroyston@xxxxxxxxx] > Sent: 21 August 2008 17:25 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] Calling Saxon Transform from .NET API > > Saxon documentation refers to a .NET API, but I don't have > the skills to comprehend and articulate the corresponding VB > code. Any help from this esteemed group of masters would be > appreciated. > > I normally run from the command line, transform knowledge.xml > testxsl.xsl customer="Mr. Customer" project="Hello World". > The output doc is defined in the stylesheet. I've figured > out how to use the ShellExecute WinAPI function to run a .bat > file to do a command-line transformation, but that's a crappy > work-around that I would be ashamed to publish. > > Using VB, I need to transform with the Saxon Engine handing 2 > parameters, "customer" and "project". Determining if Saxon > is installed on machine using VB is another battle for another day... > > Can someone send me a sample VB subroutine (code) that would > transform using SaxonB? > > I know it's not exactly a pure XSLT question, but I know > there's talented programmers here that could do this is about > 30 seconds... > So, pardon the slightly off topicness of the post, and thank you. > > - Ronnie Royston
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Calling Saxon Transform from , Ronnie Royston | Thread | [xsl] Using variables in xpath attr, Matt Lee |
Re: [xsl] relative URI in href, Florent Georges | Date | Re: [xsl] relative URI in href, Rolf Schumacher |
Month |