Skip to content

Instantly share code, notes, and snippets.

@dmitry-vsl
Last active May 8, 2025 15:47
Show Gist options
  • Save dmitry-vsl/df4107cee970f7021c18acdce4d7c6ca to your computer and use it in GitHub Desktop.
Save dmitry-vsl/df4107cee970f7021c18acdce4d7c6ca to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<buzz>Buzz</buzz>
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="style.xslt"?>
<fizz>Fizz<buzz/></fizz>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
<root>
<xsl:apply-templates/>
</root>
</xsl:template>
<xsl:template match="buzz">
<xsl:value-of select="document('buzz.xml')"/>
</xsl:template>
</xsl:stylesheet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment