- added web-hack (to include welcome.xml)

This commit is contained in:
malekith 2002-04-27 09:36:06 +00:00
parent 10af4b2a53
commit dc9686dadc
1 changed files with 9 additions and 1 deletions

View File

@ -1,10 +1,18 @@
<?xml version="1.0" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="*|@*|comment()|processing-instruction()|text()">
<xsl:template match="*|@*|processing-instruction()|text()">
<xsl:copy>
<xsl:apply-templates
select="*|@*|comment()|processing-instruction()|text()" />
</xsl:copy>
</xsl:template>
<xsl:template match="comment()">
<xsl:if test="starts-with(normalize-space(.), 'web-hack ')">
<xsl:apply-templates
select="document(substring-after(normalize-space(.), 'web-hack '))"
/>
</xsl:if>
</xsl:template>
</xsl:stylesheet>