tests/xmlcssparser: remove the context manager logic; print out begin/end/attribute nodes