Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 21st, 2008, 12:43 PM
Authorized User
 
Join Date: Jan 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dved Send a message via Yahoo to dved
Default Command to get output in a file

Hi,

I am processing java extensions from XSL. The command I use is


C:\Users\Deep\Desktop\saxonsa8-9-0-4j>java -cp .;/c:/Users/Deep/Desktop/saxonsa8
-9-0-4j/saxon8.jar net.sf.saxon.Transform -TJ template_IncDec.xml generateTable_IncDec.xsl

If I want to get the output in a html file how do I do it?




The options I already tried are:

C:\Users\Deep\Desktop\saxonsa8-9-0-4j>java -cp .;/c:/Users/Deep/Desktop/saxonsa8
-9-0-4j/saxon8.jar net.sf.saxon.Transform -TJ template_IncDec.xml generateTable_IncDec.xsl -output.htm


C:\Users\Deep\Desktop\saxonsa8-9-0-4j>java -cp .;/c:/Users/Deep/Desktop/saxonsa8
-9-0-4j/saxon8.jar net.sf.saxon.Transform -TJ template_IncDec.xml generateTable_IncDec.xsl output.htm



Thanks
__________________
Thanks
Dved
 
Old January 21st, 2008, 01:12 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

In 8.9.0.4 you either use

-o output.html source.xml style.xsl

source.xml style.xsl >output.html

In 9.0 you can use

-o:output.html -s:source.xml -xsl:style.xsl

and the options can then go in any order.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with PHP file reading XML file for output rydog65 Beginning PHP 0 March 26th, 2008 05:13 PM
what is output command in assembly language chottachatri Assembly Language 0 January 28th, 2008 09:13 AM
input:output file ct ASP.NET 1.0 and 1.1 Basics 1 September 27th, 2005 09:43 AM
Setting output of Execute command to a @var andydorman SQL Server 2000 1 April 8th, 2004 10:01 PM
Multiple file input single file output.... jdm_mboy Biztalk 1 July 2nd, 2003 03:35 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.