You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by ki...@apache.org on 2003/05/26 04:34:56 UTC
cvs commit: xml-axkit/t/htdocs/style/xslt-basic 03_document.xml 03_document_1arg.xsl 04_document_2args.xsl
kip 2003/05/25 19:34:56
Added: t/htdocs/style/xslt-basic 03_document.xml
03_document_1arg.xsl 04_document_2args.xsl
Log:
XSL document function tests added
Revision Changes Path
1.1 xml-axkit/t/htdocs/style/xslt-basic/03_document.xml
Index: 03_document.xml
===================================================================
<?xml version="1.0"?>
<root>
Included relative to stylesheet
</root>
1.1 xml-axkit/t/htdocs/style/xslt-basic/03_document_1arg.xsl
Index: 03_document_1arg.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="root">
<root>
<xsl:copy-of select="document('03_document.xml')"/>
</root>
</xsl:template>
</xsl:stylesheet>
1.1 xml-axkit/t/htdocs/style/xslt-basic/04_document_2args.xsl
Index: 04_document_2args.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="root">
<root>
<xsl:copy-of select="document('04_document.xml', /)"/>
</root>
</xsl:template>
</xsl:stylesheet>