[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Getting date of the XSL transformation into HTML o

Subject: RE: Getting date of the XSL transformation into HTML output
From: Mulberry Technologies List Owner<xsl-list-owner@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 Jul 2001 13:07:20 -0400
getting date
>Date: Fri, 20 Jul 2001 11:29:01 +0200
>Sender: Ghostrider <ghostrider@xxxxxxxxxxx>
>From: Ghostrider <ghostrider@xxxxxxxxxxx>
>To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>X-EXP32-SerialNo: 00002352
>Subject: RE:  Getting date of the XSL transformation into HTML output
>Message-ID: <3B584775@parakeet>
>
>Hi Rene,
>
>>I don't quite understand your problem.The date your XSL is generating the
>HTML >is the current date isn't it?
>
>Yes, the date I need is the date I transformed the XML to HTML. So I need
>date-of-generation for that HTML output file, hardcoded - as an additional way
>to keep track of the different versions of that same generated HTML file.
>
>>So why not use one of the suggestions how to get the current date and use the
>><xsl:value-of select="the current-date-function of your choice"/> to hardcode
>>it into your HTML?
>>And if you're using msxml3 (or just IE) and want to know how to pass a
>>parameter: see my earlier mail:
>http://www.biglist.com/lists/xsl->list/archives/200107/msg00002.html
>
>I'm using XMLSpy with MSXML3. I had a look at your message...i don't quite see
>*how* I can do this... is your example code the code to be inserted (and
>adapted)in my template matching the root of the XML doc?
>
><xsl:template match="root">
><html>
><body>
></body>
></html>
></xsl:template>
>
>I don't see how I can get the date in there, though... (I'm only used to
>writing plain vanilla HTML with customized Javascripts but that's about it ;-)
>
>Is your solution comparable to that suggested by Lee (thanks, btw):
>
>> just include an <xsl:param name="parametername"/> tag to contain the
>> parameter. you might want to set this to a default value within the
>> stylesheet. How to get your parameter into the stylesheet is dependent upon
>> the processor you use. With MSXML you would use
>> yourXSLProcessorObject.addParameter "parametername", value
>
>Thanks,
>
>Armin
> 


-- 
======================================================================
B. Tommie Usdin                        mailto:btusdin@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com  
17 West Jefferson Street                           Phone: 301/315-9631
Suite 207                                    Direct Line: 301/315-9634
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML              
======================================================================

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.