Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^4: Update nodes in XML documentby corfuitl (Sexton) |
on Mar 27, 2018 at 13:57 UTC ( [id://1211847]=note: print w/replies, xml ) | Need Help?? |
Thank you for your reply. I adapted my code according to your code and it works. However, I have another issue. It doesn't work with all XML files I have. the difference is that the one files has <xliff version="1.1" xml:lang='en'>and it works, while the other one has <xliff xmlns:m="http://www.xxx.com/mxml/2.0" xmlns="urn:xx:names:tc:xml:document:1.2" version="1.2" m:version="2.3" m:level="1">and it doesn't work. Moreover, the second file has the structure below. Here is my code
And one more question. Why in this file it doesn't work? Because there are blocks of <group> elements? Is my Xpath correct with this structure?
In Section
Seekers of Perl Wisdom
|
|