Here is a simple example for parsing XML from an in-memory string: >>> xml = '<a xmlns="test"><b xmlns="test"/></a>' >>> root = etree.fromstring(xml) ...
確定! 回上一頁