Next

musiclist.html - Result

List of the Properties of Music



musiclist.xml

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="musiclist.xsl"?>
<module>

<list>
  <item>melody</item>
  <item>harmony</item>
  <item>rhythm</item>
  <item>tonality</item>
  <item>instrumentation</item>
  <item>orchestration</item>
  <item>texture</item>
  <item>structure</item>
</list>

</module>


musiclist.xsl

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

  <xsl:template match="module">
    <html>
    <head>
      <title>List of Music Properties</title>
      <link rel="stylesheet" href="style1.css" media="screen" type="text/css"/>
    </head>
    <body>
      <h1>List of the Properties of Music</h1>
      <br />
      <xsl:apply-templates/>
    </body></html>
  </xsl:template>
  
  <xsl:template match="list">
    <ul class="listitem">
      <xsl:apply-templates/>
    </ul>
  </xsl:template>

  <xsl:template match="item">
    <li><xsl:value-of select="."/></li>
  </xsl:template>

</xsl:stylesheet>

musiclist.html

<html>
<head>
<title>List of Music Properties</title>
<link rel="stylesheet" href="style1.css" media="screen" type="text/css">
</head>
<body>
<h1>List of the Properties of Music</h1>
<br>

<ul class="listitem">
  <li>melody</li>
  <li>harmony</li>
  <li>rhythm</li>
  <li>tonality</li>
  <li>instrumentation</li>
  <li>orchestration</li>
  <li>texture</li>
  <li>structure</li>
</ul>

</body>
</html>

musiclist.html - Result

List of the Properties of Music



Next