[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Exclude Attributes from select?

Subject: Exclude Attributes from select?
From: Rainer.Jung@xxxxxxxxxxxx
Date: Fri, 13 Oct 2000 13:05:03 +0200
xml select attribute exclude
Hi!

If i use <xsl:copy-of select="@*">, is there a possibility, 
to exclude some attributes? 
I took a look at XPATH, and the XSLT-Documentation, I just 
found OR-expressions like select="@attrib1|@attrib2". 
My idea would be, to use something like 
<xsl:for-each select="@*">
 <xsl:choose>
  <xsl:when test"self = 'attrib1'"/>
  <xsl:otherwise>
   <xsl:copy-of select="self" />
  </xsl:otherwise>
 </xsl:choose>
</xsl:for-each>

Is there nothing like select="!META&!TITLE" 
(or select="!(META|TITLE)")?

Grüße,
	Rainer
-- 
*ProSieben Digital Media
Rainer Jung - Technik/Webmaster
Medienallee 7 - 85774 Unterföhring
Telefon: ++49 (89) 9507-8428


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.