xsl-list
[Top] [All Lists]

Re: [xsl] Date YYYYMMDD format XSLT 2.0 (with string Update)

2008-09-16 09:34:08
Pankaj Chaturvedi wrote:

<xsl:analyze-string select="substring-before(string(./@version), '
Update')" regex="{ $re }">

  That won't work if the string doesn't contain 'Update'.  I would
modify instead the end of the regex: '...( Update)?$'

  Regards,

--drkm


























      

--~------------------------------------------------------------------
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>
--~--