History:
Empty
Empty
XML code:
<?xml version="1.0" encoding="ISO-8859-1"?> <catalog> <cd> <title>Empire Burlesque</title> <artist>Bob Dylan</artist> <country>USA</country> <company>Columbia</company> <price>10.90</price> <year>1985</year> </cd> <cd> <title>Hide your heart</title> <artist>Bonnie Tyler</artist> <country>UK</country> <company>CBS Records</company> <price>9.90</price> <year>1988</year> </cd> <cd> <title>Greatest Hits</title> <artist>Dolly Parton</artist> <country>USA</country> <company>RCA</company> <price>9.90</price> <year>1982</year> </cd> </catalog>
XSL code:
<?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" exclude-result-prefixes="xs" version="3.0"> <xsl:output method="xml" version="1.0" use-when="1"/> <xsl:template match="/"> <xsl:apply-templates select="concat('"', ?, '"')" /> </xsl:template> <xsl:template match="~function( * )"> <h1> <xsl:value-of select=".('Hello world')" /> </h1> </xsl:template> </xsl:stylesheet>
Choose processor
Exselt
Choose type result
HTML
XML
Text
Arguments
View result