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]

Re: Q on datetime stamp


At 00:43 18-01-2001 -0600, you wrote:
>In IE 5.x, using this <html xmlns:xsl="http://www.w3.org/TR/WD-xsl"> in an
>XSL file...

As Chris Bayes mentioned, this is an obsolete namespace URI; as he didn't 
mention, see <URL:http://www.netcrucible.com/xslt/msxml-faq.htm> for more info.

>How can I tear apart this node?
>
>    <timestamp>2001-01-17T02:30:24</timestamp>
>
>I would like to display the Date in one display and the time (with TZ fix)
>in another.
>
>Assume the time in this node is GMT.

In that case (assuming this is an ISO 8601 string), it should have a Z at 
the end.

For some XSLT code for ISO 8601 processing (which is Recommendation 
compliant, but will work after you upgrade to MSXML3), see 
<URL:http://www.oreilly.com/%7Ecrism/xsl/invoice.zip>.

-Chris
--
Christopher R. Maden, Senior XML Analyst, Lexica LLC
222 Kearny St., Ste. 525, San Francisco, CA 94108-4510
+1.415.901.3631 tel./+1.415.477.3619 fax
<URL:http://www.lexica.net/> <URL:http://www.oreilly.com/%7Ecrism/>


 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]