How do I skip an element?

Subject: How do I skip an element?
From: "Larry Mason" <Larry_Mason@xxxxxx>
Date: Tue, 4 May 1999 16:30:48 -0500

Hi all !
I am trying to produce a table where the column headings are the element names
except for one particular name that is to be excluded.  What is giving me fits
is the exclusion.  I tried several approaches, all of which fail.  Any insight
would be appreciated.  I am using XT for the transformation.
Larry Mason
i2 Technologies


I want

Here are some things I've tried to get the TH to work but are returning 'invalid
token' or 'unexpected token' errors.
I don't know what the column names will be except there is one column that is
always present which I want to exclude.

<xsl:for-each select="data/*[first-of-any()]/*[name(.) !='column2']">
   <TH><xsl:value-of select="name(.)"/></TH>

<xsl:for-each select="data/*[first-of-any()]/* $and$ data/*/*[name(.)
   <TH><xsl:value-of select="name(.)"/></TH>

 XSL-List info and archive:

Current Thread