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

Re: Re: Parsing day out of date format 10/12/00

Subject: Re: Re: Parsing day out of date format 10/12/00
From: James Hunt <arcjah@xxxxxxxx>
Date: Wed, 12 Feb 2003 16:06:49 -0500
day out with james
Awesome. Thanks Ritu.
-James

> 
> From: "Ritu" <rkama@xxxxxxxxxxx>
> Date: 2003/02/12 Wed PM 04:00:08 EST
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Subject: Re:  Parsing day out of date format 10/12/00
> 
>   To get the month let's say - you would do
> 
>     <xsl:value-of select="substring(BirthDate,1,2)" />
> 
> 
> Similarly use substring to get other parts of the date and construct the
> result tree
> Ritu Kama
> Sarvega Inc
> 745, McLintock Dr
> Burr Ridge
> IL - 60527
> ----- Original Message -----
> From: "James Hunt" <arcjah@xxxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Wednesday, February 12, 2003 2:44 PM
> Subject:  Parsing day out of date format 10/12/00
> 
> 
> > How would I go about parsing some xml like this:
> >
> > <BirthDate>10/12/00</BirthDate>
> >
> > to:
> >
> > <BirthDate>
> >    <BirthMonth>10</BirthMonth>
> >    <BirthDay>12</BirthDay>
> >    <BirthYear>00</BirthYear>
> > </BirthDate>
> >
> > using xsl?
> >
> >
> > Thanks,
> > James
> >
> >
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> >
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


 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.