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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--