Hello all,
I have an element, which is looks like something below.
<date-printed>August 2010</date-printed>
I need to change the all English months (For instance August here to
French Aout). I can understand that I could have something like below in
XSLT 2.0. But for this particular case I've to use 1.0 and not getting
clue.
<xsl:variable name="months" as="element()+">
<month name="August" num="Aout"/>
................
.................
And then could have attempted
<xsl:variable name="re" select="
REGULAR EXPRESSION HERE$'"/>
<xsl:analyze-string select="." regex="{ $re }">
<xsl:matching-substring>
I believe <xsl:analyze-string> is not supported in 1.0 and that becoming
issue here. Any ideas How can this be done in 1.0.
Any direction in this regard will be highly appreciated. (NOTE: Input will
be <date-printed>August 2010</date-printed> i.e., Month name [space] Year.
Output required is Aout 2010)
TIA,
Pankaj
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--