[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Regular Expression

Subject: Re: Regular Expression
From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx>
Date: Mon, 26 Dec 2005 16:06:35 +0530
createelement parameters
With XSLT 2.0 its possible

<xsl:apply-templates select="Parameter[matches(@Name,'Disp[a-z]*')]" />

Regards,
Mukul

On 12/26/05, Chandrasekhar A <chandrashekarrvt@xxxxxxxxx> wrote:
> Hello All,
>
> Is it possible to give a regular expression in match string ?
> For example:
> <?xml version="1.0" encoding="UTF-8"?>
> <Task>
>        <Parameter Name = "DispTag">
>                <Help>DispTag Parameter help</Help>
>        </Parameter>
>        <Parameter Name = "CreateTag">
>                <Help>CreateTag Parameter help</Help>
>        </Parameter>
>        <Parameter Name = "DispElement">
>                <Help>DispElement Parameter help</Help>
>        </Parameter>
>        <Parameter Name = "CreateElement">
>                <Help>CreateElement Parameter help</Help>
>        </Parameter>
> </Task>
> Is it possible to find list of parameters, name starts with "Disp" or
"Create" ?
>
> Some thing like
> <xsl:applytemplate match="Disp[a-z]*">
>
> Thanks and Regards,
> Chandu

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.