Re: [xsl] Excel Spreadsheet problem

Subject: Re: [xsl] Excel Spreadsheet problem
From: David Mitchell <dmitchell4@xxxxxxxxx>
Date: Wed, 10 Sep 2003 15:29:51 -0500
Hello Gustaf,

GL> What am I doing wrong?

The part where you skip the other elements is also skipping the root
Workbook element (rather than processing its children).

GL>   <!-- Skip any other elements -->
GL>   <xsl:template match="*"/>

You can keep the above template, but you need to add a template that
matches the root node and then selects from there.

<xsl:template match="/">
  <xsl:apply-templates select="my:Workbook/my:Worksheet/my:Table[1]"/>
</xsl:template>

--David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread