[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: selecting elements with param
ivanmacculi@xxxxxxxxx wrote:
Hi all, i've problem of selecting elements that corresponds to some characteristics: <xsl:apply-templates select="mets:techMD[matches(@ID, 'TMD_DRV1_IMG_Scan[0-9]{5}_techMD')]"/> That assumes there will always be 5 digits but you could also use e.g. <xsl:apply-templates select="mets:techMD[matches(@ID, 'TMD_DRV1_IMG_Scan[0-9]{1,5}_techMD')]"/> to allow one to five digits. -- Martin Honnen http://msmvps.com/blogs/martin_honnen/
|
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
|