Subject: Re: [xsl] Date problem From: Mike Brown <mike@xxxxxxxx> Date: Mon, 9 Dec 2002 10:07:28 -0700 (MST) |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Date problem, David Carlisle | Thread | Re: [xsl] Date problem, Mike Brown |
Re: [xsl] how to find position - pl, Vasu Chakkera | Date | Re: [xsl] processing xml question, Mike Brown |
Month |