[xsl] HTML RANDOM NODE LIST

Subject: [xsl] HTML RANDOM NODE LIST
From: tsterlin@xxxxxxxxxxxxxxxxx
Date: Fri, 20 Feb 2004 11:19:54 -0700
Josh,
    the problem with that method is that the real XML document is much larger
with a multitude of different tags and tag levels.  The info contained within
the tags must be output in a linear fashion so I cannot process it with
for-each loops, I have to use nested/recursive template matches.  It is within
the "template-match" for ITEM, the lowest element in the document, that I must
somehow discern between the ITEM's ancestor TITLE's literal value to determine
whether it should be included within my numbered list.  The parameters for
things like count() and position() are all node sets, and I cannot use a test
such as:"not(preceding-sibling::TITLE[1]='Raging River')" to accumulate count
or position.  I'm stumped.
Tracy.






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


Current Thread