<?xml version='1.0' encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" encoding="UTF-8" />

<!-- Main template -->
<xsl:template match="/">

<leo_file>

<leo_header file_format="1" tnodes="0" max_tnode_index="6" clone_windows="0"/>
<globals body_outline_ratio="0.302">
	<global_window_position top="-4" left="-4" height="748" width="1032"/>
	<global_log_window_position top="64" left="164" height="586" width="747"/>
</globals>
<preferences allow_rich_text="0" tab_width="4" page_width="132" 
tangle_bat="0" untangle_bat="0" output_doc_chunks="1" 
defaultTargetLanguage="C" use_header_flag="1">
	
</preferences>
<find_panel_settings ignore_case="1" search_body="1">
	<find_string>cweb</find_string>
	<change_string></change_string>
</find_panel_settings>

<vnodes>
<xsl:apply-templates/>
</vnodes>
<tnodes>
<xsl:text>
</xsl:text>
</tnodes>
</leo_file>

</xsl:template>

<!-- Template for the top element -->
<xsl:template match="*[not(parent::*)]">
<v a="ET"><vh><xsl:value-of select="name(.)"/></vh>
<xsl:apply-templates/>
</v>
</xsl:template>

<!-- Template for all but the top element -->
<xsl:template match="*[parent::*]">
<v><vh><xsl:value-of select="name(.)"/></vh>
<xsl:apply-templates/>
</v>
</xsl:template>

<!-- Template to dump the text -->
<xsl:template match="text()">
</xsl:template>

</xsl:stylesheet>