cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: Problem with XSL document() function when trying to get content of OpenOffice document within Cocoon
Date Sat, 10 May 2003 12:42:20 GMT
>>But there is still code in it like the following:
>>     <xsl:for-each select="node()">
>>       <xsl:choose>
>>         <xsl:when test="name()=' '">
>>           <xsl:value-of select="."/>
>>         </xsl:when>
>>         <xsl:otherwise>
>>           <xsl:apply-templates select="."/>
>>         </xsl:otherwise>
>>       </xsl:choose>
>>     </xsl:for-each>
>>For which type of nodes the <xsl:when/> test returns true? No node() 
>>should return a single space as name(). Or am I false?
> I think that was for the pure texts somewhere.  I may have found them
> somewhere. It could be that it isn't used anymore, but I'm not sure. 
> I'm using this stylesheet for the moment, I will take a closer look at
> it and let you know.

<xsl:when test="self::text()">



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message