Hi, I want to construct an XML file with lxml but I don't find how to add the '<?xml version="1.0"?>' header. from lxml import etree as ET html = ET.Element("html") print ET.tostring(html) simply prints <html/> Thanks, Laszlo
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル