[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Regular Expression
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
|
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
|