myml.dtd
----------

<!ELEMENT winelist (wine)*>
<!ELEMENT wine (name|price)*>
<!ELEMENT name (#PCDATA)*>
<!ELEMENT price (#PCDATA)*>

wine2xml.xml
----------------
<?xml version="1.0"?>

<!DOCTYPE winelist SYSTEM "myml.dtd">

<?xml:stylesheet type="text/xsl" href="wine1.xsl" ?>
<winelist>
      <wine>
                <name>Hardy's Nottage Hill</name>
                <price>$5.95</price>
      </wine>
      <wine>               
                 <name>Hardy's White Burgundy</name>
                 <price>$10.00</price>
      </wine>
      <wine>
                <name>Henscke Hill of Grace</name>
                <price>$50.00</price>
      </wine>
      <wine>
                <name>Bollinger Champagne</name>
                <price>$100.00</price>
      </wine>
</winelist>

wine1.xsl
------------
<?xml version="1.0"?>
<html xmlns:xsl="http://www.w3.org/TR/WD-xsl">

<body style="font-family:Arial, helvetica, sans-serif; font-size:12pt;">
<h2>Xml Winelist</h2>

    <xsl:for-each select="winelist/wine"> 

           <div style="background-color:aabbcc; color:white;">
                 <xsl:value-of select="name"/>
                 <xsl:value-of select="price"/>
            </div>

    </xsl:for-each>
</body>
</html>
