XSLT is and acronym for EXtensible Stylesheet Language Transformations.

Here is my example. Consider the XML-file music.xml:

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="music.xsl"?>
    <artist>Almand, Jim</artist>
    <title>Between The Lines</title>
    <track seconds="210">Take it from Me</track>
    <track seconds="275">Let's go to Town</track>
    <track seconds="196">Sweet Summer Rain</track>
    <artist>Hoffman, Seth</artist>
    <title>Days Go By</title>
    <track seconds="156">Purple Flowers</track>
    <track seconds="259">And the Lord Said</track>
    <track seconds="234">Days Go By</track>
    <track seconds="376">Gingerbread Porcupine</track>

And the XSL-file music.xsl (which, is also an XML-file):

<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:transform version = '1.0'

<xsl:template match="/">
      <link rel="stylesheet" type="text/css" href="music.css"/>

<xsl:template match="album">
  <h2><xsl:value-of select="title"/></h2>
  <h3>(<xsl:value-of select="artist"/>/<xsl:value-of select="date"/>)</h3>
  <table border="0" cellpadding="3" cellspacing="2">
      <th class="ar">Time</th>
    <xsl:for-each select="track">
        <td> <xsl:number level="single" count="track" format="1."/> </td>
        <td> <xsl:value-of select="."/> </td>
        <td class="ar">
          <xsl:call-template name="convert">
            <xsl:with-param name="sec" select="number(@seconds)" />

<xsl:template name="convert">
  <xsl:param name="sec"/>
  <xsl:value-of select="floor( $sec div 60 )"/>:<xsl:value-of
    select="format-number( $sec mod 60, '00' )"/>


The XSL transformation yields the XML-file parsed.xml, which you may view with your browser. However, if your browser is able to apply the XSL transformation itself, you can just point your browser to the original XML-File music.xml, and your browser will the XSL transformation. Isn't that cool?