Subject: Re: [xsl] Node-sets using <xsl:with-param> From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 22 Jan 2004 08:15:30 -0500 |
I'm getting an error when trying to pass the current node into a template using <xsl:with-param name="current" select="current()"/> or <xsl:with-param name="current" select="."/>
The place where I'm trying to access it
<xsl:apply-templates mode="structure1" select="$current"/> is where I'm getting an error message using Saxon indicating that the select attribute is expecting node and what it's getting is xs:string.
What am I doing wrong here?
-- Public courses: sign up for one or both soon to reserve your seat! Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO Washington, DC: 2004-03-15 San Francisco, CA: 2004-03-22 Hong Kong, China: 2004-05-17 Bremen, Germany: 2004-05-24 World-wide on-site corporate, government & user group XML training
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Node-sets using <xsl:with, Michael Kay | Thread | Re: [xsl] Node-sets using <xsl:with, Mir Farooq Ali |
RE: [xsl] check for optional elemen, Michael Kay | Date | RE: RE: [xsl] remove <b> and <br>+m, G. Ken Holman |
Month |