in reply to
use xi:include in XML file
process_xincludes in XML::LibXML::Parser
but i need the output to be hash which i think LibXML doesnt support. i have too much code to switch to DOM
is there a way to do process xinlcude and translate it to hash ? <\p>
1) parse with LibXML, 2) expand with LibXML, 3) serialize the LibXML doc and give to XML::Simple: XMLin($dom->serialize).
Ill try it out
Results (301 votes),