github.com/matislovas/ratago@v0.0.0-20240408115641-cc0857415a7a/xslt/testdata/general/bug-114.xsl (about)

     1  <?xml version="1.0" encoding="utf-8"?>
     2  <xsl:stylesheet version="1.1"
     3    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     4    xmlns:foo="http://borland.com/bogus">
     5    <xsl:output method="html" indent="yes"/>
     6  
     7    <xsl:template match="/">
     8      <html>
     9      <xsl:for-each select="/sample/foo">
    10          <xsl:element name="foo:whatever">
    11            <xsl:value-of select="@name"/>
    12          </xsl:element>
    13      </xsl:for-each>
    14      </html>
    15    </xsl:template>
    16  </xsl:stylesheet>