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

can I *undefine* an attribute via xsl:attribute?

Subject: can I *undefine* an attribute via xsl:attribute?
From: "Chris Papademetrious christopher.papademetrious@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 1 Aug 2020 15:03:14 -0000
 can I *undefine* an attribute via xsl:attribute?
Hi all,

I would like to call a template that creates various attributes, then
conditionally *undefine* certain attributes, using some **MAGIC** below:

<xsl:template name="create-my-attributes>
  <xsl:call-template name="create-their-attributes"/>
  <xsl:attribute name="unwanted-attribute" select=**MAGIC**/>
</xsl:template>

A later xsl:attribute definition overrides an earlier value. But can I somehow
define an attribute as "undefined" to uncreate it? The spec at

https://www.w3.org/TR/xslt-30/#creating-attributes

doesn't mention this as an option, but I'm a novice and perhaps I missed
something.

Thanks!

-----
Chris Papademetrious
Tech Writer, Implementation Group
(610) 628-9718 home office
(570) 460-6078 cell

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.