|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: how to change the values of a list of attribute e
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/
|
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
|

Cart








