xsl-list
[Top] [All Lists]

Node-sets using <xsl:with-param>

2004-01-21 22:26:50

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?

-Farooq.
--
Mir Farooq Ali

Computer Science, Virginia Tech,
Email: miali(_at_)cs(_dot_)vt(_dot_)edu
Web: http://purl.org/net/farooq
Office: 525 McBryde Hall
Tel: (540) 231-1927 (Office)
--------------------------------------------
(c) 2004 Mir Farooq Ali  All rights reserved
--------------------------------------------



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



<Prev in Thread] Current Thread [Next in Thread>