[xsl] Pass a DOM Node to a XSLT

Subject: [xsl] Pass a DOM Node to a XSLT
From: António Mota <amsmota@xxxxxxxxx>
Date: Thu, 7 Apr 2005 20:33:56 +0100
Hi:

I'm trying to pass a node to a XSLTProcessor in Javascript (using
Sarissa, actually) but i can't seem to do it. I've tryed the
documentElement, selecNodes, selectSingleNode, but nothing seems to
work. If i only have the declaration

	<xsl:param name="dia"/>

without referencing it there is no error, but if i do something like

				<xsl:for-each select="$dias/*">
					<xsl:value-of select="."/>
				</xsl:for-each>

the brwser complains. 

Any sugestions?

Thanks.

Current Thread