xsl-list
[Top] [All Lists]

Re: XSLT use cases; data-centric to document-centrictransformations

2005-02-08 06:22:51
Zitat von David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk>:

Having a single template is not weird, in fact while XSLT was being
designed it was thought to be such a common and important use case that
a special "easy" syntax was designed for that case. The "literal result
element as stylesheet" (or in xslt2 terminoligy "simplified stylesheet")
If your stylesheet just consists of a single template matching "/" you
can drop the outer xsl:tstylesheet and xsl:template element markup.

Hmm, I have read through the recommendation a dozen times, but it seems that I
have always missed this section. Now things become clear... :)

Peter

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>