<?xml version="1.0" encoding="UTF-8"?>
<a>
    <a attr2="val">
        <a xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"></a>
        <b>true</b>
        <c>
            <d attr2="val">false</d>
            <e xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"></e>
        </c>
    </a>
    <d xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"></d>
    <e>text</e>
</a>