Altova Mailing List Archives

Re: [xsl] XHTML templating (best method)

From: David Carlisle <davidc@--------->
Date: 1/26/2007 10:32:00 AM
> 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



These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.