RE: [xsl] Including inc files in xsl

Subject: RE: [xsl] Including inc files in xsl
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Tue, 27 Jan 2004 02:14:49 +0100
> -----Original Message-----
> From: Archana Rao
> 
> Can you explain this with an example?
> 

What I mean is:

create a 'header.xml', containing one <root> element :

<?xml version="1.0" encoding="UTF-8" ?>
<root>
  <![CDATA[
    <!-- contents of 'header.inc' -->
  ]]>
</root>

In the stylesheet:

<xsl:value-of select="document('header.xml')//root" />

Cheers,

Andreas


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread