none
Spreadsheet error output, Urgent! RRS feed

  • Question


  • First, I don't speak good english, sorry about it.

    I'm creating an spreadsheet to excel, it is simple but when I open it, it only shows me a Warning output without any other information (litteraly only the word Warning).
    It is able to save it as an xml file, and when I open it the code shows me as if I put  the word in the respective tags:

    Code Snippet

    <Table ss:ExpandedColumnCount="1" ss:ExpandedRowCount="1" x:FullColumns="1"
       x:FullRows="1" ss:DefaultColumnWidth="60">
       <Row>
        <Cell ss:StyleID="s21">< ss:Data ss:Type="String"
          xmlns="http://www.w3.org/TR/REC-html40"><B>Warning </B><Font>:</Font></ss:Data></Cell>
       </Row>
      </Table>


    Ok, the deal is that I've checked out several times my xml tags. They are well written and any token to where the problem is.

    Look:
    Code Snippet

    <Table>

    <Row>

    <xsl:apply-templates select="columns" />

    <Cell ss:StyleID="Header">

    <xsl:apply-templates select="column" />

    <xsl:if test="column[@visible='yes']">

    <xsl:apply-templates select="text" />

    <ss:Data ss:Type="String">

    <xsl:value-of select="text()" />

    </ss:Data>

    </xsl:if>

    </Cell>

    </Row>

    </Table>


    The other templates:

    Code Snippet

    <xsl:template match="columns">
    <xsl:apply-templates select="column" />
    </xsl:template>

    <xsl:template macth="column">
    <xsl:if test="column[@visible='yes']">
    <xsl:apply-templates select="text" />
    </xsl:if>
    </xsl:template>

    <xsl:temlate match="text">
    <ss:Data ss:Type="String">
    <xsl:value-of select="text()" />
    </ss:Data>
    </xsl:temlate>


    It is not 'cause the ss:tags, it is not 'cause the duplicated code (it was only to be sure) it shows the same output with or without the duplicated code...

    The Processor class works well, 'cause it is used to transform other xsl types.

    Any suggestion?

    Wednesday, March 12, 2008 4:46 PM