in reply to
Re^2: extract xml data and insert new xml tag into same file
in thread extract xml data and insert new xml tag into same file
Anonymity does not become you. Nevertheless, there is a huge difference between writing a custom Perl program to extract and to re-form data from an XML data source, and leveraging an existing technology to do the same thing. There is an entire world of endeavor ... particularly in the world of electronic publishing and education ... which relies completely on XSLT, and a single standardized tool-chain, with nary a line of “source code” to be found. Perl is sometimes used to drive that tool chain ... at Apple, for example, until quite recently ... but the extraction of data and the subsequent compiling of all manner of deliverables occurs entirely without custom code. The OP’s requirement appears to me to be a classic use-case. And, for the curious, I myself have spent years working in exactly this space.