[Home] [By Thread] [By Date] [Recent Entries]
ivanmacculi@xxxxxxxxx wrote:
<xsl:variable name="g" select="//mets:div[matches(@LABEL, '^Pagina [0-9]+$')]"/> i forgot to ask you how to exclude from the transformation the first one of the list, in this case: You could simply add an expression e.g. <xsl:variable name="g" select="//mets:div[matches(@LABEL, '^Pagina [0-9]+$') and not(@LABEL = 'Pagina 59')]"/> Or if you want to exclude the first found element then <xsl:variable name="g" select="(//mets:div[matches(@LABEL, '^Pagina [0-9]+$')])[position() gt 1]"/> -- Martin Honnen http://msmvps.com/blogs/martin_honnen/
|

Cart



