xsl-list
[Top] [All Lists]

Pass a DOM Node to a XSLT

2005-04-07 12:33:56
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.

--~------------------------------------------------------------------
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>
--~--



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