During the XSLT transformation, is there a fairly straightforward way to include another file into my XSL? The transformation produces a complete HTML file, so I don't want to get into aggregation or anything that complex.
Let's say my sitemap has: <map:match pattern="foo/*"> <map:generate src="foo-files/{1}.xml"/> <map:transform type="xalan" src="style/xsl/foo.xsl"> <map:parameter name="use-request-parameters" value="true"/> </map:transform> <map:serialize type="html"/> </map:match> and foo.xsl includes a template match like: <xsl:template match="whatever"> <html> <head><title>boring poor-formed html header</title></head> <body> <div class="header"> <!-- Want to insert contents of bar.xml here --> </div> <div class="main"> <xsl:apply-templates/> </div> </body> </html> </xsl:template> xsl:import and xsl:include are meant to be top-level elements for merging stylesheets...so aren't the right thing.... Any better suggestions? -James --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]