[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How do I skip an element?
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
|
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
|