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.