Rename and add TODOs
xf:output: read type even if a value attribute is present
Summary: use xxf:lang() instead of instance