You can Use IETF Author Tools: https://author-tools.ietf.org/ to validate or convert xml files to text/html/pdf files.
xml2rfc tool can also be used to convert it to other format files:
# pip install xml2rfc
# xml2rfc ./draft-lxin-quic-socket-apis.xml --html