The actual svg will be much larger. I will end up replacing the text that comes in-betwenn <text> </text> around 80 times per svg file and I will have about 100 different svgs
Here is a sample svg I will be working with. My problem is literally as simple as replacing 'DESCRIPTION' and 'SHEET' with different text that I have stored in an array and saving it as a new file.
<?xml version="1.0" encoding="UTF-16" ?>
<svg
height="3520"
width="5440"
>
<style...
I need to read in a svg file, search for a specific string and replace it with a string I have stored as a variable, and save the new svg with a new file name.
can anyone give me a few suggestions on how to get started?
I am beginning to experiment with SVG::Parser, but I fear that there is an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.