You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Joshua Spoerri <jo...@Basit.COM> on 2000/08/16 15:30:10 UTC

mynode [ position() > n ] ?

<xsl:for-each select="mynode[position() > n]">
...

using > above yields:
SAXParseException: The value of attribute "select" must not contain the '<' character.

and using &gt; instead yields:
XSLProcessorException: Can't have more than one root on a DOM!
 and
SAXException: Can't have more than one root on a DOM!

what gives? :)

thanks for any help...

Re: mynode [ position() > n ] ?

Posted by Matthew Cordes <mc...@maine.edu>.
use &lt; and/or &gt;

-matt

On Wed, Aug 16, 2000 at 09:30:10AM -0400, Joshua Spoerri wrote:
> <xsl:for-each select="mynode[position() > n]">
> ...
> 
> using > above yields:
> SAXParseException: The value of attribute "select" must not contain the '<' character.
> 
> and using &gt; instead yields:
> XSLProcessorException: Can't have more than one root on a DOM!
>  and
> SAXException: Can't have more than one root on a DOM!
> 
> what gives? :)
> 
> thanks for any help...
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>