|P is for Practical|
Re: XPath to XMLby LanX (Chancellor)
|on May 17, 2013 at 16:55 UTC||Need Help??|
Could you please give us an example how this should ideally work?
Like showing desired input & output?
Thats pretty complex or just impossible to use such incomplete information as a document definition.
But if you don't allow wildcards your pretty close at defining how to put data into nested structures (AoH...). (something like Data::Diver comes to mind or just plain autovivification)
So using a module which uses something like XPath to set Perl datastructures and exporting them to XML (e.g. see cpan for dump xml) could be a way to address this task.
( addicted to the Perl Programming Language)