1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-05 12:10:38 +03:00
Files
libxslt/tests/docs/bug-38-.xml
Daniel Veillard 59d1ddb347 - libxslt/namespaces.[ch]: added a single namespace def copy
operation xsltCopyNamespace(). cleaned up xsltCopyNamespaceList()
- libxslt/transform.c: cleaned up xsltCopyNode to cope with
  any kind of input nodes.
- libxslt/variables.c: checked and closed the last TODO about
  namespace propagation
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-38-* tests/docs/bug-38-*: added a specific
  regression test for #56115
Daniel
2001-06-16 21:33:05 +00:00

18 lines
342 B
XML

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template name="ns">
<ns xmlns:ns="http://whatever"/>
</xsl:template>
<xsl:template match="/*">
<elem>
<xsl:copy-of select="document('')/*/
xsl:template[@name='ns']/
ns/namespace::ns"/>
</elem>
</xsl:template>
</xsl:stylesheet>