add handling of CDATA sections
correct dealing with "semi"-absolute links
expand (some common) entities in attribute values