RE: [xsl] 4000 nodes?

Subject: RE: [xsl] 4000 nodes?
From: Mike Ferrando <mikeferrando@xxxxxxxxx>
Date: Fri, 15 Mar 2002 13:10:53 -0800 (PST)
Dion,
Wow! How dense of me to leave this in when I am calling C1011 later
in the document!

I have tried to write the syntax that would allow me to choose all
the C1011 nodes that are not children of C1012 but have not been
successful. 

I thought it would be much easier to write a style sheet using this
type of syntax but I cannot get it to work.

select="C1011[not(C1011=child::C1012)]"

Needing more sleep,
Mike F.

--- Dion Houston <dionh@xxxxxxxxxxxxx> wrote:
> Hi Mike:
> 
> You actually have an infinite loop:
> 
> <xsl:template match="C1011">
>   <xsl:apply-templates select="//C1011"/>
> </xsl:template>
> 
> In the apply templates you're applying on all C1011 elements in
> your
> document... This is in a template that _matches_ on C1011 elements,
> therefore it will run continuously.  Eventually you should run out
> of
> stack.


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

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


Current Thread