[xsl] newbie needs help

Subject: [xsl] newbie needs help
From: atWah <panacea@xxxxxxxxxxxx>
Date: Fri, 12 Jan 2001 02:29:27 +0100
Hi all

i'm just in xsl for 3 days and i have lots of problems :P

i've done some succesfull coding till now, but...

One of the most irritating things is that i cant understand the
following:

im learning from tutorials and sometimes just copy pieces of code to see
what happen, and there are some commands that msxml can't handle (or is
it me? :P)

Just trying a choose test

<xsl:choose>
<xsl:when test="child::sprogit">
YES
</xsl:when>
<xsl:otherwise>
NO
</xsl:otherwise>
</xsl:choose>

i get the following error:

token 'eof' found ':'. child-->:<--:sprogit

and when i try this:

<xsl:if test="count(SUMMARY)=0">
<xsl:apply-templates select="DATA"/>
</xsl:if>

i get:

unknown method . -->count(SUMMARY<--)=0

and it happens with many other methods

i'm using the latest MSXML 3.0 downloaded from MS website

ANY IDEA??????


Thnx

Isaac Ramos

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


Current Thread