New character count XSLT; changed datatype of @xml:id to xsd:ID