Anthony Gaudio wrote:

> can someone give me example of how to use these or any one of them?  I 
> have tried all sorts of ways to get this to work, but nothing gets 
> included. 
> 
Try the attached minimal example of xsl:include.
(sabcmd including.xsl data.xml)

xsl:import is not implemented yet.

Regards,
Petr

-- 
Petr Cimprich
Ginger Alliance Ltd.
www.gingerall.com

<?xml version="1.0"?> 

<data>
  <item>OK</item>
</data>
<?xml version="1.0"?> 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  version="1.0">

  <xsl:output method="text"/>
  <xsl:include href="included.xsl"/>

  <xsl:template match="/data">
    <xsl:call-template name="included-template"/>
  </xsl:template>

</xsl:stylesheet>







<?xml version="1.0"?> 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  version="1.0">

  <xsl:template name="included-template">
    <xsl:value-of select="item"/>
  </xsl:template>

</xsl:stylesheet>

Reply via email to