<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" xmlns:wsp="http://schemas.microsoft.com/office/word/2003/wordml/sp2">

<xsl:template match="@*|text()|comment()|processing-instruction()">
	<xsl:copy-of select="."/>
</xsl:template>

<xsl:template match="*">
	<xsl:copy>
		<xsl:apply-templates select="@*"/>
		<xsl:apply-templates select="node()"/>
	</xsl:copy>
</xsl:template>

<xsl:template match="w:t"><xsl:copy><xsl:attribute name="xml:space">preserve</xsl:attribute><xsl:apply-templates select="@*"/><xsl:apply-templates/></xsl:copy></xsl:template>

<xsl:template match="w:wordDocument">
	<xsl:copy>
		<xsl:for-each select="@*">
			<xsl:if test="name()!='xml:space'">
				<xsl:copy-of select="."/>
			</xsl:if>
		</xsl:for-each>
		<xsl:apply-templates select="node()"/>
	</xsl:copy>
</xsl:template>

</xsl:stylesheet>
