<xsl:stylesheet version="1.0" >
     <xsl:output method="xml"  indent="yes"  encoding="utf-8"  omit-xml-declaration="yes" >       </xsl:output>

     <xsl:preserve-space elements="text" >       </xsl:preserve-space>

     <xsl:template match="/" >
          <html>
               <head>             </head>
               <body>
                    <div style="font-family:courier" >
                         <pre>
                              <xsl:apply-templates select="."  mode="pretty" >                      </xsl:apply-templates>
                             </pre>
                        </div>
                    <div>generated by xmltree.xsl version 1.0 <ekoontz@hiro-tan.org>                </div>
                   </body>
              </html>
         </xsl:template>
  
     <xsl:template match="*"  mode="pretty" >
          <xsl:param name="depth"  select="'0'" >          </xsl:param>
          <xsl:call-template name="indent" >         <xsl:with-param name="depth"  select="$depth" >             </xsl:with-param>          </xsl:call-template><      <xsl:value-of select="name()" >          </xsl:value-of>      <xsl:apply-templates select="@*"  mode="pretty" >          </xsl:apply-templates>>      <xsl:apply-templates mode="pretty" >         <xsl:with-param name="depth"  select="1 + $depth" >             </xsl:with-param>          </xsl:apply-templates>
          <xsl:text>           </xsl:text>
          <xsl:call-template name="indent" >         <xsl:with-param name="depth"  select="$depth + 1" >             </xsl:with-param>          </xsl:call-template></      <xsl:value-of select="name()" >          </xsl:value-of>>      <xsl:text>          </xsl:text>       </xsl:template>

     <xsl:template match="@*"  mode="pretty" >      <xsl:text>           </xsl:text>      <xsl:value-of select="name()" >          </xsl:value-of>="      <xsl:value-of select="." >          </xsl:value-of>"        </xsl:template>


     <xsl:template name="indent" >
          <xsl:param name="depth"  select="'0'" >          </xsl:param>
          <xsl:if test="$depth > 0" >
               <xsl:text>                </xsl:text>
               <xsl:call-template name="indent" >
                    <xsl:with-param name="depth"  select="$depth - 1" >                </xsl:with-param>
                   </xsl:call-template>
              </xsl:if>
         </xsl:template>


    </xsl:stylesheet>
generated by xmltree.xsl version 1.0 <ekoontz@hiro-tan.org>