G. Roderick Singleton wrote:
> Please have a look at
> http://documentation.openoffice.org/manuals/OOo2.x/user_guide2_draft.pdf
> especially Chapter 13 -- XML Enhancements as I completed writing it up
> and included a sample xls that mostly pretty prints.

I still believe that this one is slightly better, but it probably really
doesn't matter that much:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                                         version="1.0">
  <xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
  <xsl:strip-space elements="*"/>
  <xsl:template match="@*|node()">
         <xsl:copy>
                <xsl:apply-templates select="@*|node()"/>
         </xsl:copy>
  </xsl:template>
</xsl:stylesheet>

(don't ask me why -- I found somewhere a long discussion why just match="/"
is not always the best idea, but forgot where).

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej/blog/
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
Give your heartache to him. (1Pt 5,7; Mt 11:28-30)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to