You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when parsing a node, the 'tail' text is lost e.g. 'text2' in <a><span>text</span>text 2</a>, it would be nice if the library used the .tail attribute of lxml nodes. By the way, as a result of the lack of this feature I moved to the xmltodict library.
The text was updated successfully, but these errors were encountered:
This library focus on converting XML to JSON (and vice versa) in line with standard conventions. I definitely see how preserving the tail (or head) would help. But there may be many ways of doing it, and I'd rather latch on to some standard people have defined.
Since you're exploring this space, have you seen others convert XML (or HTML) data of this kind into a JSON-like structure preserving the head or tail? How do they do it, please?
when parsing a node, the 'tail' text is lost e.g. 'text2' in
<a><span>text</span>text 2</a>
, it would be nice if the library used the.tail
attribute of lxml nodes. By the way, as a result of the lack of this feature I moved to the xmltodict library.The text was updated successfully, but these errors were encountered: