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

Re: Attributes, modes and templates

Subject: Re: Attributes, modes and templates
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 5 May 2000 02:02:38 +0100 (BST)
Re: Attributes
> 
> Understood, my problem with that, is that not all instances of the
> elements, I want customized.  I only want subtrees of certain elements
> which have a particular attribute set, customized.
> 
> i.e. the XML element:
> 
> <variablelist>
> <!-- element content -->
> </variablelist>
> 
> would be treated as per Norm's stylesheets.
> 
> but the XML element with the `role' atttribute set like so:
> 
> <variablelist role="programmers">
> <!-- element content -->
> </variablelist>
> 
> would be treated as per my special customizations,

well doesn't that just mean that your top level sheet needs a

<xsl:template match="variablelist[@role='programmers']">
do something different, 
</xsl:template>

> Actually, I started this thread, with such a concrete example:
perhaps but I'm not going to look at it at this time of night
(even if I am only watching the election results....:-)

David


 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.