I have xml file like below.
<sbe:messageSchema xmlns:sbe="http://www.fixprotocol.org/ns/simple/1.0"
description="something"
byteOrder="littleEndian">
<sbe:message name="DummyMsg" id="99" description="Placeholder message. Uses otherwise unused enums and composites so sbe compiles them.">
<field name="msgType" id="1" type="MsgType" />
<field name="minimumSbeSchemaVersion" id="2" type="MinimumSbeSchemaVersion"/>
</sbe:message>
</sbe:messageSchema>
xml file has multiple sbe:messageSchema records.
Tried using lxml.etree. If I do for child in root then I am getting description, byteorder etc but not sbe:messageSchema.
Also if I try root.iterfind('./sbe:message') then I get error something like sbe not found.
I would like to get sbe:messageSchema and its fields. Please help.