in reply to Re^2: XML file as database
in thread XML file as database
to this (eliminate PotentialSpecificHeat as an enclosing tag and promote its nested elements to unested tags with a PSH prefix to show their origin)<PotentialSpecificHeat> <Bias>-4.43921585E-05</Bias> <Error1>0.53285588E-02</Error1> <Error2>0.57902443E-02</Error2> <Tau1>5.00000000E-01</Tau1> <Tau2>5.69579788E-01</Tau2> <Value>0.32688055</Value> </PotentialSpecificHeat>
If that kind of thing would work for you then you can use Perl to combine your files into one file and pre-process the nested tags into tags. You could then use DBD::AnyData on the results.<PSH_Bias>-4.43921585E-05</Bias> <PSH_Error1>0.53285588E-02</Error1> <PSH_Error2>0.57902443E-02</Error2> <PSH_Tau1>5.00000000E-01</Tau1> <PSH_Tau2>5.69579788E-01</Tau2> <PSH_Value>0.32688055</Value>
|
|---|