Yes, this code does work as is, but when I pass in a parameter from
ASP it returns this error:
msxml4.dll error '80004005'
Reference to variable or parameter 'filter' must evaluate to a node list.
/lead/filter.asp, line 60
On Fri, 28 May 2004 09:59:35 +0100, David Carlisle
<davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:
XSL:
<xsl:param name="filter" select="//person[contains(FName,'a') and
LName='Brown']"/>
<xsl:template match="/">
<xsl:apply-templates select="$filter"/> (this is what does not
work,
some parsers offer a evaluate function to convert a string to XPath
but not MSXML)
</xsl:template>
That does not require an extension function, it is just standard XSLT
and should work as is.
David
--
The LaTeX Companion
http://www.awprofessional.com/bookstore/product.asp?isbn=0201362996
http://www.amazon.co.uk/exec/obidos/tg/detail/-/0201362996/202-7257897-0619804
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--