parse nil values in xml using xmltodict library



Is there a way to read nil values correctly using xmltodict/xml.sax.xmlreader?


I tried setting up the namespaces parsing but it seems like it just ignores them when parsing this form:



<example xmlns:xsi="http://ift.tt/ra1lAU" xsi:nil="true" />


Using xmltodict I am getting the following value:



OrderedDict([(u'@http://ift.tt/1uPXZGS', u'true')])


I can just ignore it, but it seems like it should be working better


No comments:

Post a Comment