[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl]Select nodes without match


Subject: [xsl]Select nodes without match
From: <m.core@xxxxxxxxxxxxxxxx>
Date: Thu, 24 Aug 2006 12:15:37 +0200

Hi all,
i have an xml tree and i need with xsl to be placed in a particular node without using the match statement.

Is there a command like a go-to in xsl for doing this?

For explain me well:
in the html version of the page i have a box in wich you can write; i need to resize that box and for doing this i write:

<xsl:when test="utils:endsWith(@id, '.cap')">
  <xsl:attribute name="width">2%</xsl:attribute>
</xsl:when>

but i need to place this code in a template that put me in the right nodes that contains .cap if i make a template with   
match it destroy the object .cap and i don't want this... How can i do?

thx for replies.
Matteo


Current Thread
Keywords