This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Passing params dynamically from XML to XSLT- client-side?
- From: "Uslu, Cihan Y (MED)" <Cihan dot Uslu at med dot ge dot com>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 2 Oct 2002 12:37:08 -0500
- Subject: [xsl] Passing params dynamically from XML to XSLT- client-side?
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi,
Is it possible to pass params dynamically in XSLT on the client-side? I
have the following code, and before the transformation I would like to
be able to enter the values into a form and then apply the
transformation. I am trying to do this in XMetal editor, and using
MSXML.
thanks
Cihan
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:param name="moduleNum"/>
<xsl:param name="sectionNum"/>
<xsl:param name="screenNum"/>
<xsl:template match="course">
<xsl:apply-templates />
</xsl:template>
<xsl:template match="module | reference-module">
<xsl:if test="(@moduleNum = $moduleNum)">
<xsl:apply-templates select="concept | reference
| review | task | intro"/>
</xsl:if>
</xsl:template>
...
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list