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

xsl:param and MSXML

Subject: xsl:param and MSXML
From: "Aedemar Cooke" <Aedemar.Cooke@xxxxxxxxxx>
Date: Thu, 14 Mar 2002 15:28:41 -0000
xsl distinct msxml
Hi,
I want to read a parameter from the URL and use it in my stylesheet as
displayed below

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<xsl:param name="element"/>

<xsl:template match="/">
	<xsl:apply-templates select="/content/*[name()=$element]"
mode="wysiwyg"/>
</xsl:template>

<xsl:template match="element1">
  <xsl:copy-of select="."/>
</xsl:template>

<xsl:template match="element2">
	<xsl:copy-of select="."/>
</xsl:template>

</xsl:stylesheet>

I was using a cocoon parser to parse by XSL and my code worked fine but
then had to change to use MSXML.  

Can anyone tell me how to implement it so that it will work with MSXML.

Thanks,
Aedemar

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • xsl:param and MSXML
    • Aedemar Cooke - Thu, 14 Mar 2002 10:29:50 -0500 (EST) <=
      • cutlass - Thu, 14 Mar 2002 10:43:53 -0500 (EST)
      • <Possible follow-ups>
      • Aedemar Cooke - Fri, 15 Mar 2002 07:51:43 -0500 (EST)
        • stevenson - Fri, 15 Mar 2002 08:14:50 -0500 (EST)

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.