new doc about potential element attributes and a document stub about querying/thread declaration
more work on attributes and terminal branches