|
Subject: Re: Is there any wildcards? From: Elliotte Rusty Harold <elharo@xxxxxxxxxxxxxxx> Date: Tue, 17 Aug 1999 12:38:08 -0400 |
At 5:23 PM +0200 8/17/99, Henrik Andersson wrote:
>Hi!
>I wonder if there exists anything in XSL with the function of a
>"wildcard"?
>
>
>For example in the following line...
>
><xsl:value-of select="substring-before("1999 APRIL 23","APRIL")"/>
>
>Is it possible to put in something instead of "APRIL" as a second
>argument to the substring-function?
>
>
>Like in perl:
>"anything" - .*
>"any digit" - \d
>"any two digits"- \d{2}
>etc.
>
No. XSL does not support regular expressions. This may be added in a future
release.
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@xxxxxxxxxxxxxxx | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| Java I/O (O'Reilly & Associates, 1999) |
| http://metalab.unc.edu/javafaq/books/javaio/ |
| http://www.amazon.com/exec/obidos/ISBN=1565924851/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://metalab.unc.edu/javafaq/ |
| Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/ |
+----------------------------------+---------------------------------+
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Is there any wildcards?, Henrik Andersson | Thread | Follow-up on "Changing an XSL style, Schwartz, Todd |
| Is there any wildcards?, Henrik Andersson | Date | Follow-up on "Changing an XSL style, Schwartz, Todd |
| Month |