This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

passing parameters with IE


Hi,

    I have one doubt, I want pass parameters to xslt (I know do that
with command line processor) but the transformation is directly done
with IE.

    For example, I have this stylesheet (exampleXSL.xsl):

     <xsl:param name="num">1</xsl:param>

     <xsl:template match="/">
          parameter value: <xsl:value-of select="$num"/>
     </xsl:template>

    the XML file (exampleXML.xml):

    <?xml-stylesheet type="text/xsl" href="exampleXSL.xsl"?>
    <doc>
         <p>one</p>
         <p>two</p>
         <p>3</p>
         <p>4</p>
    </doc>

    and I want pass values for "num" from URL like
"exampleXML.xml?num=3" using IE. Is this possible?

    Thanks!!


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]