xsl-list
[Top] [All Lists]

Re: pass an entire XML doc as an XSL param?

2004-10-05 07:42:22
I don't really know anything about passing documents as parameters;
but have you tried this:

<xsl:for-each select="msxsl:node-set($my_xml_param)/one/two">

Bye.

On Tue, 05 Oct 2004 10:37:24 -0400, Hardy Merrill
<hmerrill(_at_)dhcr(_dot_)state(_dot_)ny(_dot_)us> wrote:
I'm using MSXML 4.0 - an XML document gets rendered with my XSL style
sheet, but I want to pass in to that same style sheet a separate XML
document as an XSL parameter.  I can pass it in, but when I try to use
that parameter in an for-each XPath "select", I get an error.

   <xsl:for-each select="$my_xml_param/one/two">

Can this be done?

I'd copy and paste in the error, but it's a colleague of mine who ran
into this so I can't run it and get the output.

TIA.

Hardy Merrill

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




-- 
www.GetFirefox.com !!


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