Re: [xsl] Looping through attributes..

Subject: Re: [xsl] Looping through attributes..
From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx>
Date: Thu, 20 Mar 2003 16:20:11 -0500 (EST)
On Thu, 20 Mar 2003, Karl Stubsjoen wrote:

> Okay, I'm looping through attributes.  Now I need to determine if the name
> of an attribute starts with a particular text expression.  I have the
> following (and it doesn't work):
> 
> <xsl:for-each select="@*">
> <xsl:if test="starts-with(@,'S')">

as a wild guess,

  <xsl:if test="starts-with(., 'S')">

rday


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread