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

Re: _why_ do people use xsl:element and xsl:attribute

Subject: Re: _why_ do people use xsl:element and xsl:attribute so much
From: Mike Brown <mike@xxxxxxxx>
Date: Wed, 5 Sep 2001 13:10:19 -0600 (MDT)
how to use xsl attribute
Deborah Aleyne Lapeyre wrote:
>         xsl:element, xsl:attribute, etc.
> We decided that they were very useful advanced features,
> but way behind, for example, Named Templates as something
> that a beginner needs to know.

At the risk of having an unpopular opinion...

I would want beginners to have a good foundation for understanding
the XSLT processing model (tree access and construction) and the
relationship between XSLT and XML Namespaces. It seems to me that
teaching people about literal result elements as "text that is
copied through" rather than as "shorthand for instructions to 
create nodes -- i.e., xsl:element, xsl:attribute, xsl:text, etc."
undermines their understanding of XSLT's most important concepts.

I don't necessarily advocate thorough coverage of when & how to
use xsl:element and xsl:attribute, but they should at least be
mentioned in terms of their relationship to literal result
elements and the concept of result tree construction, IMHO.

   - Mike
____________________________________________________________________________
  mike j. brown, fourthought.com  |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  personal: http://hyperreal.org/~mike/


 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-2007 All Rights Reserved.