cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: possible stupid question, including html
Date Thu, 28 Sep 2000 00:09:28 GMT
Steve Conover <sconover@groundswell.net> wrote:
>In my final xsl file (the one that transforms to html) I want to include a
>simple html file for header purposes.  Do I use xsl:include?

No, that's for including templates from other XSL sheets.

<xsl:copy-of select="document('foo.xml')"/> or <xsl:apply-templates 
select="document('foo.xml')"/> (the former inserts it literally, the latter 
processes it thru the current stylesheet) would work, BUT only if foo.xml 
was well-formed XML.


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Mime
View raw message