[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: passing params to xslt-sheet directly in <?xml-sty
If you want to write a parameter into the XML, which is passed from the XML
to the XSLT, why you don't write the param not directly in the XML?
example: <root> <param name="name" value="value"/> ... the rest of your tree ... </root> xsl: <xsl:stylesheet> <xsl:param name="name" value="/root/param/@value"/> ... rest of your stylesheet ... </xsl:stylesheet> Regards, Joerg Martin Pletzer wrote: Hi list, I want to transform using IE without scripting. My xml gets a href to the xslt. <?xml version="1.0"?> <?xml-stylesheet type="text/xls" href="myxslt.xslt"?> ... So far so good, but now I want to pass some parameters to the myxslt.xslt. Is there anything like a param attribut in <?xml-stylesheet ...> instruction ? I want to achieve the same goal as xsltproc.addParameter("name", "value"); do. -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 joerg.heinicke@xxxxxxxxx www.virbus.de XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|