[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Execute Stylesheet
Hello, Hi, Sean, No need to be embarrassed. It's one of those simple but non-obvious things that has probably tripped up lots of folks. You could have the file work against any XML file, of course, but the usual solution to this problem is to have the XSL transform work against itself (since it is also XML). So, with Saxon 9, the command line could look like this: java -jar path-to-saxon\saxon9.jar -s:your_stylesheet.xsl -xsl:your_stylesheet.xsl -o:your_output.txt Of course, you may be using the class rather than the jar, and you may need quotation marks if your path has a space in it (such as Microsoft's idiot decision to put a space in "Program Files"). I'm sure you get the gist of it, though: Use the stylesheet file as the source file of your transformation. HTH Jay Bryant Bryant Communication Services http://www.bryantcs.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|