use $.xml if xmlMode is set in options, fixes output for XHTML, XML and polyglot documents