|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: _why_ do people use xsl:element and xsl:attrib
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 agree completely, if we describe it as passing text we can't blame people if they want to just output an unmatched start tag. But I think that it _is_ natural to say that a template body can be viewed as a fragment of the output tree, and that the most natural way to express a tree structure in XML is to use the standard XML representation of that tree, thus <a href="...">...</a> for an a element with an href attribute. (where actually one uses xslt/xpath rather than ... to fill out the blanks. On the other hand the comments from a tool author on the utility of the more regular xsl:element constructs sounded reasonable, tool generated sheets, and setting breakpoints etc does seem to have different requirements/flavour than hand authoring. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






