xsl-list
[Top] [All Lists]

RE: Including inc files in xsl

2004-01-26 18:14:49
-----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



<Prev in Thread] Current Thread [Next in Thread>