xsl-list
[Top] [All Lists]

Re: [xsl] XHTML templating (best method)

2007-01-26 03:32:11

By the way how do relative paths work in includes are they relative to
the template with the include? 

You can not have an xsl:include inside a template (your second example
is a syntax error).

Are there any gotcha's in my reasoning below, other than that they both 
require creating a temporary file which would need a random filename.

sorry I didn't understand why you needed a temporary file here, or what
you mean by the [/FILE] syntax.

The usual way of sharing common features such as head and foot amongst
multiple stylesheets is you put teh common features in a common
stylesheet and each of the page-specific stylesheets import teh common
core (with the import being a top level instruction, not inside a
template)

David

--~------------------------------------------------------------------
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>
--~--