Re: copying nodes from one xml file to an other
Michael Ludwig <[email protected]>
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <20100406201424.GB3464@wladimir> |
Moin Kristian, Kristian Kankainen schrieb am 06.04.2010 um 22:07:23 (+0300): > > I would like to merge information from an external text file (a Praat > TextGrid for the curious) into existing XML files, changing it's > element structure. To do this, I thought of iterating through the XML > file, and match some elements to the TextGrid, and bring back the > information found from the matching into (a possible new) XML file. I > have succesfully created the "iterators" for both file types, and now > here's the problem: > > using XML::LibXML * how do i copy a node from one DOM to an other? Take a look at *importNode* and *adoptNode* in XML::LibXML::Document. -- Michael Ludwig _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs