xsl-list
[Top] [All Lists]

how to Display dates in a specific format

2003-11-04 09:29:52
Hi All,
I've an xml document.

<?xml version="1.0" encoding="UTF-8"?>
<dataroot>
        <GrantNet>
                <c0>0005</c0>
                <c1>111</c1>
                <c2>GS</c2>
                <fldSponsorDesc>American Association
</fldSponsorDesc>
                <Program>2000-2001 American Fellowships</Program>
                <URL>http://www.aauw.org/3000/fdnfelgra.html</URL>
                <Description></Description>
                <c9>1999-11-15T00:00:00</c9>
                <c13>Web</c13>
                <c14>1999-10-11T00:00:00</c14>
                <c15>False</c15>
                <c16>AH</c16>
                <fldCatDesc>Arts &amp; Humanities</fldCatDesc>
        </GrantNet>
</dataroot>

I'm using stylesheet to display all the information in
html format.
But I don't know how to display date.I get the date
displayed as 1999-11-15T00:00:00 although I want to
display it as 11/15/1999.

Thanks for help in advance.
Regards,
Puja

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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



<Prev in Thread] Current Thread [Next in Thread>