Article View: adobe.document.graphics.server
Article #70Re: Add a tag in a svg file, using an xml command
From: Bob_Emerson
Date: Wed, 21 Jul 2004 17:03
Date: Wed, 21 Jul 2004 17:03
6 lines
1092 bytes
1092 bytes
See the documentation for the set command in the Command Reference. It has a section with a few "set" examples for simple SVG. This will work to replace a simple run of existing text at the "top" level of the SVG. set target="/svg/text[@id='texte']/node()" value="new text" If you want to replace text in SVG, you should look at the applyVariables command in both the Command Reference and the Developer Guide. That takes away the hassle of dealing with xPaths.
Technical Details
Message-ID:
<3bb503bd.4@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<3bb503bd.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 1effe5,d83b5754d10d7ca5 X-Google-Attributes: gid1effe5,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob_Emerson@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.document.graphics.server Subject: Re: Add a tag in a svg file, using an xml command Message-ID: <3bb503bd.4@webx.la2eafNXanI> Date: Wed, 21 Jul 2004 10:03:19 -0700 References: <3bb503bd.-1@webx.la2eafNXanI> Lines: 10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit