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

Attributes disinherited

Subject: Attributes disinherited
From: lachance@xxxxxxxxxxxxxxxxx (Francois Lachance)
Date: Thu, 1 Jun 2000 12:27:43 -0400 (EDT)
Attributes disinherited
;
Very nice turn of phrase, Wendell.
It certainly helps explain to people how a machine doesn't consider an
attribute to be a child and yet how an attribute can have a parent
> 
> Looking at 7.5 also illuminates a point we came across last week -- that
> attributes are disinherited, not being the children of their parents.
> Notice that the identity transform must specify
> 
> <xsl:apply-templates select="@*|node()"/>
> 
> to get the attributes into the result tree. Otherwise, they would not be
> processed (the default is, only recognized child elements -- select="*" --
> get invited to the wedding).
> 
> Just in case:
> http://www.w3.org/TR/xslt
> http://www.w3.org/TR/xpath
> 
> Enjoy,
> Wendell


 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.