Return to Snippet

Revision: 13806
at May 6, 2009 15:44 by farmerbuzz


Initial Code
<![CDATA[
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
                xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="xml" indent="yes" />

    <!--<xsl:template match="@* | node()">-->
    <xsl:template match="/">
      <html>
        <head>
          <link rel="stylesheet" type="text/css" href="BeckmanCoulter_Comments.css"/>
        </head>
        <body>
          <h2>Word Comments<!--: <xsl:value-of select="b:LIS2A2Spec/@name"/>--></h2>
            <xsl:for-each select="w:comments/w:comment">
            	<br />
                <xsl:value-of select="./@w:author"/> (<xsl:value-of select="./@w:initials"/>)&#160;&#160;&#160;|&#160;&#160;&#160;<xsl:value-of select="./@w:date"/>
                <br />
                <xsl:value-of select="."/>
                <br />
            </xsl:for-each>

          <br/>
            <hr/>
          <br/>
	    </body>
      </html>
    </xsl:template>
</xsl:stylesheet>
]]>

Initial URL

                                

Initial Description

                                

Initial Title
Extract inline comments from a Word 2007 document using XSLT

Initial Tags

                                

Initial Language
XML