in reply to Re: use xi:include in XML file
in thread use xi:include in XML file

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>

Replies are listed 'Best First'.
Re^3: use xi:include in XML file
by Your Mother (Archbishop) on Aug 27, 2013 at 18:06 UTC

    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 !