xsl-list
[Top] [All Lists]

[xsl] selecting elements with param

2010-02-22 10:57:53
Hi all, i've problem of selecting elements that corresponds to some 
characteristics:

xml elements that i want to select are like this:

<mets:techMD ID="TMD_DRV1_IMG_Scan00020_techMD">

so, i need to select all mets:techMD that have 
ID="TMD_DRV1_IMG_Scan#####_techMD".
my problem is to cover all the numbers.

I will use your solution to put a condition in my xsl. 
I thought something like this:

<xsl:template match="mix:ImageCreation[ancestor::mets:techMD/@ID[matches(., 
'concat(TMD_DRV1_IMG_Scan, [0-9], _techMD)']">.

but it doesn't do. could you help me, please?



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>