Subject: Text substitution - macro? how? From: "Glenn R. Kronschnabl" <grk@xxxxxxxxxxxxxxxx> Date: Mon, 02 Nov 1998 10:26:29 -0600 |
I have a xml file that specifies date in terms of year, month, monthday, i.e., <date> <year>1998</year><month>8</month><monthday>12</monthday> </date> and I want to write out HTML but convert the <month> text node to be a string, i.e., 1 = Jan 2 = Feb ... 12 = Dec I was looking over the XSL spec and really don't see a way of doing this! <xsl:choose> appears close, but doesn't allow for string comparison. Am I missing something or is this outside the scope of XSL? Cheers, Glenn -------------------- Glenn R. Kronschnabl Applied Research Laboratories | grk@xxxxxxxxxxxxxxxx (PGP/MIME ok) The University of Texas at Austin | http://www.arlut.utexas.edu/~grk PO Box 8029, Austin, TX 78713-8029 | (Ph) 512.835.3642 (FAX) 512.835.3808 10,000 Burnet Road, Austin, TX 78758 | ... but an Aggie at heart! XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Ugh! accessing current value i, Amit Rekhi | Thread | RE:Is there a real XSl guru out the, Igor . Pechersky |
Re: Ugh! accessing current value i, Amit Rekhi | Date | RE:Is there a real XSl guru out the, Igor . Pechersky |
Month |