in reply to Re^2: Accessing mixed content in XML
in thread Accessing mixed content in XML

Sure, that works fine for the tiny example shown, but it won't work in the arbitrary case. HTML cannot be trivially transformed into XML in many cases.

-sam