|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Date problem
David Carlisle wrote: > <xsl:param name="today" select="'1066'"/> > > and then just pass in the daate as a parameter when you call the > stylesheet. Since he mentioned JavaScript, you know he's using MSXML or Mozilla... most likely MSXML... most likely via IE... most likely not invoking it himself and instead relying on an xml-stylesheet PI which doesn't support passing parameters, as many newbies do. I always tell people to check the docs for their processor to find out how to pass an external parameter to the stylesheet. If he's using MSXML, maybe he'll search for "external parameter stylesheet" on the MSDN site and find the MSXML SDK docs for addParameter, which provide examples of how to invoke the transformation from code (though the examples use MSXML2.DOMDocument instead of MSXML3 ... *sigh*) Mike -- Mike J. Brown | http://skew.org/~mike/resume/ Denver, CO, USA | http://skew.org/xml/ 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
|

Cart








