Using the LXML library preferably, is there a way to access a comment at the very top of an XML structure once it has been parsed. I would like to avoid parsing the plain text "myself".
This is an example making my interest in it very obvious, I guess :)
<?xml version="1.0"?>
<!DOCTYPE pathway SYSTEM "https://www.kegg.jp/kegg/xml/KGML_v0.7.2_.dtd">
<!-- Creation date: Jan 11, 2019 11:48:16 +0900 (GMT+9) -->
So I am hoping for a function that can return the comment in the last line. I am happy about any other ideas on how to handle this nicely, too, of course.