This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: 4000 nodes?


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@microsoft.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]