In a treeprocessor, I want to get the current value of att from:
From experimenting, I *think*
block.getDocument.getAttributes() returns environment attributes + header attributes as they were defined at the start of processing;
block.getAttributes() returns things like role and style, ie just the attributes that are specific to that block.
Is it possible to get the value of a document attribute as it is immediately prior to the block?