<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
<xsl:template match="/">
<xsl:apply-templates select="VisioDocument"/>
</xsl:template>
<xsl:template match="VisioDocument">
<xsl:apply-templates select="Pages"/>
</xsl:template>
<xsl:template match="Page">
<xsl:apply-templates select="Shapes"/>
</xsl:template>
<xsl:template match="Shapes">
<xsl:apply-templates select="Shape"/>
</xsl:template>
<xsl:template match="Shape">
<xsl:value-of select="concat(@ID,' ')"/>
<xsl:value-of select="concat(@NameU,' ')"/>
<xsl:value-of select="concat(@Name,' ')"/>
<xsl:value-of select="concat(@Type,' ')"/>
<xsl:value-of select="concat(@Master,' ')"/>
<xsl:value-of select="concat(Text,'
')"/>
</xsl:template>
</xsl:stylesheet>