[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Is there any wildcards?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|