mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-08-07 10:42:55 +03:00
* xsltproc/xsltproc.c: fixed the xinclude problem with document() as in bug #171893 * configure.in tests/Makefile.am tests/xinclude/*: added a new xinclude directory with the test for this problem Daniel
15 lines
416 B
XML
15 lines
416 B
XML
<?xml version="1.0"?>
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
version="1.0">
|
|
|
|
<xsl:template match="/">
|
|
<xsl:apply-templates select="document('x1.xml')/foo"/>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="*|@*|text()">
|
|
<xsl:copy><xsl:apply-templates select="*|@*|
|
|
text()" /></xsl:copy>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|