[Home] [By Thread] [By Date] [Recent Entries]
Michael Kay wrote:
It is better to log the string length from root to the beginning of each particular node, and then use that number to rank the elements from Top to Bottom. In fact, that is what I want to do. What be your recommendation to do that? I was thinking of the determining the string length from root to a particular node, and store that as output in the output file using XSLT. Then post-process it in Python to rank the paths into document order, where the lowest number appears on top and the highest number at the bottom. Does that make any sense? jz Michael Kay http://www.saxonica.com/
|

Cart



