1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-08 21:42:07 +03:00
Files
libxslt/tests/general/bug-114.xsl
Daniel Veillard c8dfadb0ad fixed a namespace redundancy problem in xsl:element added an example in
* libxslt/transform.c: fixed a namespace redundancy problem
  in xsl:element
* tests/docs/Makefile.am tests/docs/bug-114.*
  tests/general/Makefile.am tests/general/bug-114*: added an
  example in the regression tests for that bug.
Daniel
2003-04-01 09:29:28 +00:00

17 lines
456 B
XML

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.1"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:foo="http://borland.com/bogus">
<xsl:output method="html" indent="yes"/>
<xsl:template match="/">
<html>
<xsl:for-each select="/sample/foo">
<xsl:element name="foo:whatever">
<xsl:value-of select="@name"/>
</xsl:element>
</xsl:for-each>
</html>
</xsl:template>
</xsl:stylesheet>