[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: Re: pass an entire XML doc as an XSL param?
From: Francesco Barresi <kywocs@xxxxxxxxx>
Date: Tue, 5 Oct 2004 10:42:22 -0400
xsl pass xml as param
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@xxxxxxxxxxxxxxxx> 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
> 
> 


-- 
www.GetFirefox.com !!

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.