http://bugs.winehq.org/show_bug.cgi?id=33489
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2013-05-02 14:52:10 CDT --- I feel like it should be a specialized version of next_node() that expects a node to contain attributes and that these attributes could potentially have mark-up symbols in their values. For this approach it should just scan forward and parse attributes and values, and it's possibly a duplication of what we already have in other helpers. So yeah, using existing code it will look messy anyway.