Re: [xsl] Re: xsl-list Digest 28 Feb 2007 06:10:00 -0000 Issue 1062

Subject: Re: [xsl] Re: xsl-list Digest 28 Feb 2007 06:10:00 -0000 Issue 1062
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 28 Feb 2007 14:05:54 GMT
> I get the same error if I substitute "element(w:p)+" with "element()", 
> "element(w:p)" or "xs:string" but "xs:integer" does not throw an error.

have you made a mistake in the call with-param? the above suggests that you
are passing in an integer (which is the type of the other param, level,
rather than a sequence of p elements which is the type of the param p.

        <xsl:with-param name="p"     select="w:p"/>
        <xsl:with-param name="level" select="1"/>

David

Current Thread