This stylesheet generates an XHTML document with the "text" of the document:
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <xsl:template match="/"> <html xmlns='http://www.w3.org/1999/xhtml'> <head><title>Your Document's Value</title></head> <body> <xsl:apply-templates/> </body> </html> </xsl:template> </xsl:transform>
Here's the stylesheet: text-only.xsl
Here's the result: simple.xml (input) (output), mouse-annotation.xml: (input) (output) , namespace.xml (input) (output)