Project

Profile

Help

Support #3903 » Transform.xsl

Matthias Schäfer, 2018-09-24 10:21

 
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="3.0" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xsl:output method="xhtml" indent="yes" suppress-indentation="div xhtml:div" />
<xsl:template match="/">
<html>
<xsl:for-each select="root/data">
<xhtml:div>
<span><xsl:value-of select="."/></span>
</xhtml:div>
<div>
<span><xsl:value-of select="."/></span>
</div>
</xsl:for-each>
</html>
</xsl:template>
</xsl:stylesheet>
(9-9/9)