Partilhar via


XSL/T Rocks

Alex showed me a really cool site for XSL/T development! I have found the best style sheet ever seen before there:

<

xsl:stylesheet version="1.0" xmlns:xsl="https://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:value-of select="*******************" />
</xsl:template>
</xsl:stylesheet>

Try this style sheet against the following document instance:

<?

xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="FunnyStyle.xslt"?>
<q>2</q>

I think, this is a very good example for how readable XSL/T actually can be.

So ... just love XSL/T... and enjoy things on this site: https://www.dpawson.co.uk/xsl/sect2/sect21.html