forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HANAX" <ha...@hanaxsoftware.com>
Subject RE: Debugging transformations in Forrest (was Re: problem)
Date Thu, 28 Jul 2005 08:17:23 GMT
ok, this one solved, I found that one line I changed in .xsl causes it, but i don't understand
why.

I had

  <xsl:template match="title">
    <xsl:text>Section <xsl:value-of select="position()"/>: </xsl:text>
      <xsl:value-of select="."/>
    <vxml:break/>
  </xsl:template>

and it gaves me that "plaintext" vesion I mentioned.
When I comment 2nd line, it works but I want to have numbering...

  <xsl:template match="title">
   <!-- <xsl:text>Section <xsl:value-of select="position()"/>: </xsl:text>
-->
      <xsl:value-of select="."/>
    <vxml:break/>
  </xsl:template>

What's wrong with position()? 

Mime
View raw message