Re: How do I skip an element?

Subject: Re: How do I skip an element?
From: Paul Prescod <paul@xxxxxxxxxxx>
Date: Tue, 04 May 1999 17:16:21 -0500
Larry Mason wrote:
> 
> 
> <xsl:for-each select="data/*[first-of-any()]/*[name(.) !='column2']">
>    <TH><xsl:value-of select="name(.)"/></TH>
> </xsl:for-each>
> 
> <xsl:for-each select="data/*[first-of-any()]/* $and$ data/*/*[name(.)
> !='column2']">
>    <TH><xsl:value-of select="name(.)"/></TH>
> </xsl:for-each>

I don't think you want to compare against name(). Actually, I don't even
see the name() function in the latest spec. (I see qname, namespace and
local-part, but not name). You probably want to compare against text().

-- 
 Paul Prescod  - ISOGEN Consulting Engineer speaking for only himself
 http://itrc.uwaterloo.ca/~papresco

The first three Noble Truths of Python:
  All that is not Python is suffering.
  The origin of suffering lies in the use of not-Python.
  The cessation of suffering can be achieved by not using not-Python.
http://www.pauahtun.org/4nobletruthsofpython.html


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


Current Thread