[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Calling Saxon Transform from .NET API

Subject: Calling Saxon Transform from .NET API
From: "Ronnie Royston" <rhroyston@xxxxxxxxx>
Date: Thu, 21 Aug 2008 11:25:28 -0500
 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.