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 28th, 2004, 03:19 PM
Authorized User
 
Join Date: Jan 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default How do you use the -param option of Xalan-J

I cannot seem to get the -param command-line option of xalan to work.

command-line
Code:
java org.apache.xalan.xslt.Process 
    -in a.xml -xsl a.xsl -out a.html -param
    [color red]a[/color]
Code:
 1


xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<A></A>
xsl
Code:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
        <h1>[<xsl:value-of select="
        [color red]$a [/color]
Code:
"/>]</h1>
Code:
    </xsl:template>
</xsl:stylesheet>
error
Code:
could not find the variable with name of
[color red]a[/color]





Similar Threads
Thread Thread Starter Forum Replies Last Post
Did any one used Xalan-C elayaraja.s XSLT 3 July 24th, 2008 06:19 AM
why xalan extension function ? elayaraja.s XSLT 3 July 17th, 2008 07:03 AM
Create Check Boxes/Option buttons/Option Group hewstone999 Access VBA 1 March 14th, 2008 07:25 AM
install saxon instead of xalan li72 XSLT 1 September 5th, 2007 06:59 AM
Xalan bug wpsBoy XSLT 2 December 26th, 2005 06:59 AM





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