libxml2
<doc attrExtEnt="entExt"> Hello, world! </doc> <!-- Let world.txt contain "world" (excluding the quotes) -->