Subject: [xsl] xsl:if giving me "Invalid type" error From: "James J. Ramsey" <jjramsey_6x9eq42@xxxxxxxxx> Date: Tue, 15 Apr 2003 10:19:24 -0700 (PDT) |
<xsl:if test="$firstDiv[1]/preceding-sibling::*"> ... </xsl:if> only works if $firstDiv[1]/preceding-sibling::* returns empty. Otherwise, I get a complaint about XPath error Invalid type in $firstDiv[1]/preceding-sibling::* Nothing I can think of seems to fix this. I tried using boolean($firstDiv[1]/preceding-sibling::*), but I still get the Invalid type error. What's going on? __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Xalan fillbuf error, J.Pietschmann | Thread | RE: [xsl] xsl:if giving me "Invalid, Michael Kay |
Re: [xsl] Xalan fillbuf error, J.Pietschmann | Date | RE: [xsl] xsl:if giving me "Invalid, Michael Kay |
Month |