[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] copy attributes, except some
Hi,
In XSLT 2.0, assuming that the $excepted-attributes variable is not used anywhere else, and apart from also using an attribute-set in defining the $excepted-attributes variable value xx element, is there a better way to copy all attributes except some specific ones, in a namespace safe way, rather than: <xsl:variable name="excepted-attributes"><xx name1="" name2="" name3="" name4="" name5="" .../> <xsl:copy-of select="@*[not(node-name(.) = $excepted-attributes/xx/@*/node-name(.))]"/> Thank you, ac
|
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
|