in reply to use xi:include in XML file

process_xincludes in XML::LibXML::Parser

Replies are listed 'Best First'.
Re^2: use xi:include in XML file
by Anonymous Monk on Aug 27, 2013 at 17:37 UTC

    thanks

    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).

        Great!

        Ill try it out

        thanks !