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

hello to list

Subject: hello to list
From: "Scott D. Johnson" <johnssd@xxxxxxxxxxxxxx>
Date: Thu, 15 Feb 2001 14:05:04 -0600
scott johnson
Greetings. I just joined the list because I'm a XSL newbie. I'm trying to learn it as a VB developer who has been building client/server apps since 1995.

Right now I'm stuck with the following:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:param name="co"/>
<xsl:param name="mach"/>
<xsl:param name="trace"/>
<xsl:template match="/">
<HTML><HEAD><TITLE/></HEAD> <BODY>
<xsl:for-each select="*/rs:data/z:row[@CompanyID=$co][@CaptureMachine=$mach][@Trace=$trace]"> <h3>Company: <xsl:value-of select="@CompanyID"/>
Batch: <xsl:value-of select="@Batch"/>
Sequence: <xsl:value-of select="@Sequence"/>
Amount: <xsl:value-of select="@Amount"/></h3>
</xsl:for-each>
</BODY></HTML>
</xsl:template>
</xsl:stylesheet>


I set the values of my three params from JavaScript with selectSingleNode and the text method of the node.

Then when I do the transofrm I get: "Keyword xsl:param may not be used here." I've searched all over and can't find what I'm doing wrong.

Scott Johnson
--Birmingham, AL


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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.