xsl-list
[Top] [All Lists]

Re: [xsl] check the type of the $pattern argument to a regular expression?

2007-04-16 02:47:09
Michael Kay wrote:

  Hi

Short of writing a regular expression that only matches
valid regular expressions (which sounds like an
interesting exercise for the reader), I think you'll have
to resort to extensions for this one.

  If you (the OP) only want to be able to catch errors
because of invalid regular expressions, you can be
interested by the following:

    http://www.fgeorges.org/xslt/error-safe/

  This is an extension to Saxon to provide try/catch ability
to XSLT.  This is experimental and has drawbacks, but it can
be usable in some cases.

  Regards,

--drkm




















      
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

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

<Prev in Thread] Current Thread [Next in Thread>