It appears to be true that when streaming in the stylesheet in question in this email thread, the ancestor information is not available?  In the line calculating the collection-uri:


The parent::*/@name returns an empty string.  I understand why the sibling info won't be available, but it would be nice if ancestor info (names of nodes, attributes) could be accessed. Should I have two streams nested, one for the first level and another for the second?  I've written something similar in MarkLogic XQuery and it's document projection logic seemed to retain access to the ancestor axis.  I was hoping the same was true with XSL streaming.

Todd Gochenour