[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: copy all attributes but one
> <xsl:copy-of select="@*[generate-id(.) != > generate-id(../@DoNotCopyAttribute)]" /> > > or: > > <xsl:copy-of select="@*[count(.|../@DoNotCopyAttribute) != > count(../@DoNotCopyAttribute)]" /> > > whichever you find easiest to read or is quicker with your processor. IMO, I find this: <xsl:copy-of select="attribute::*[not(name()='DoNotCopyAttribute')]" /> ... to read better than either of those -- does this not perform well? Chris 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
|