mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-09-15 16:01:08 +03:00
* libxslt/transform.c: allow strip-space to support full namespaces using prefix:* , should fix #114287 * tests/docs/Makefile.am tests/docs/bug-124.* tests/general/Makefile.am tests/general/bug-124*: added a test to the regression suite for this bug. * libxslt/tramsform.c: make xsl:copy on attribute a copy in case the attribute was already defined, should fix bug #113812 * tests/docs/Makefile.am tests/docs/bug-123.* tests/general/Makefile.am tests/general/bug-123*: added the test to the regression suite. Daniel
15 lines
356 B
XML
15 lines
356 B
XML
<?xml version="1.0"?>
|
|
<xsl:stylesheet version="1.0"
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
<xsl:template match="@*">
|
|
<xsl:copy/>
|
|
</xsl:template>
|
|
<xsl:template match="element">
|
|
<xsl:copy>
|
|
<xsl:attribute name="foo">xsl</xsl:attribute>
|
|
<xsl:apply-templates select="@*"/>
|
|
</xsl:copy>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|
|
|