I need to change some data in an XML file.
To me this sounds something every programmer would know or need to learn how to do and it would be something that would be explained in numerous books and articles about Perl and XML. However what is usually explained is either how to create or how to parse XML, never how to replace data. Naturally i think i'm a little daft and i'm hoping that i'm not wasting anyone's time by asking this.
Given an XML file called db48844.opf, how would you change package/metadata/x-metadata/meta[\@name='dtb:totalTime']/\@content from 344 to 345?
Is this kind of change considered XSLT?
In reply to Changing XML Data by plendid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |