forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Schaefer <johannes.schae...@uidesign.de>
Subject Re: Excel to Forrest: namespaces
Date Tue, 16 Nov 2004 14:58:33 GMT
Vincent,
thanks you put me on the right track, see attachment.
I need to put in:
<xsl:stylesheet  version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
  xmlns:o="urn:schemas-microsoft-com:office:office"
 >
and then do the match like this
  <xsl:template match="ss:Workbook">
                                   ^^^ use prefix!
   <document>
    <header>
     <title>Excel Workbook
     (<xsl:value-of select="o:DocumentProperties/o:LastAuthor"/>)</title>
                                      ^^^                           ^^^
    </header>
    <body>
      <xsl:apply-templates/>
    </body>
   </document>
  </xsl:template>

So, let's see how far I'll get.
Is there a source where I can read about these namespace
things?

Thanks,
Johannes


Vincent Bray wrote:

>On Tue, 2004-11-16 at 14:52 +0100, Johannes Schaefer wrote:
>
>Try adding:
>xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
>to your stylesheet's root element.
>
>/2c, noodl
>
>
>  
>


-- 
User Interface Design GmbH * Teinacher Str. 38 * D-71634 Ludwigsburg
Fon +49 (0)7141 377 000 * Fax  +49 (0)7141 377 00-99
Geschäftsstelle: User Interface Design GmbH * Lehrer-Götz-Weg 11 * D-81825 München
www.uidesign.de

Buch "User Interface Tuning" von Joachim Machate & Michael Burmester 
www.user-interface-tuning.de

Attraktivität von interaktiven Produkten messen mit 
www.attrakdiff.de


Mime
View raw message