xsl-list
[Top] [All Lists]

Re: [xsl] xsl:analyze-string explanation needed

2006-07-20 06:39:35


Can someone explain the operation of this element and how I can get
the output of either one OR the other branch, but not both? 

make the regex match (or not) the whole string (by adding .*$ to the end of the
regex), and if there is a possibility that the string takes more than one
line, setting the flags to make sure . includes the newline character)

David

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