[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 somuch
From: Deborah Aleyne Lapeyre <dalapeyre@xxxxxxxxxxxxxxxx>
Date: Wed, 5 Sep 2001 17:08:02 -0400
when to use xsl element
I think we agree on principles completely.

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.

Agreed completely and this is where we start also.

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."

Absolutely agreed; you MUST teach beginners about nodes.
No, you must NOT let them think literal results are just copying text.
But that information concerns the conceptual model and how XSLT
processing works, and that must come first.

What I don't see is the necessity of explaining literal result elements
as a "shorthand" for anything. They are this, they do that, and nodes
are written to the result tree, with this for a namespace. Beginners
do not need complete stories, they need correct conceptual models.

The fact that an <xsl:element> *also* makes an element node.
That's a separate idea and can easily be taught later in the cycle IMHO.


Controversially: I also think that the idea for "pull"
(or fill-in-the-blank) stylesheets does not belong in the
first day of a multi-day beginner class.


Deborah Aleyne Lapeyre               mailto:dalapeyre@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9633
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
  Mulberry Technologies: A Consultancy Specializing in SGML and XML??

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.