[Home] [By Thread] [By Date] [Recent Entries]
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/
|

Cart



