🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.document.graphics.server
Article #69

How using unique variable name for replacing multi values in SVG file

#69
From: Daniel_Many
Date: Wed, 21 Jul 2004 17:04
28 lines
1771 bytes
Hi,

I'm looking for a way to add data in a svg template following a sequence.
I've set one variable in Illustrator 10 (winning_number) and link about 30 text objects to it. The data block in the AGS command looks like this:

<data>
<winning_number>10</winning_number>
<winning_number>12</winning_number>
<winning_number>13</winning_number>
<winning_number>5</winning_number>
<winning_number>14</winning_number>
.
.
.
</data>

The problem is that the final value of each text object is 10 12 13 5 14...
I thought at first that the number 10 would be assigned to the first occurrence of the variable winning_number, number 12 to the second one and so on... (and that is exactly what I need to do!).

Is there a way to tell AGS 2.0 to use a sequence (first value to first variable occurrence, second one to second variable occurrence,...)and not assigning each individual value to all variables with the same name?

Or maybe there is another way to do this?

I want to avoid defining different variable name for each number because sometimes there's a lot more number than 30 numbers to insert in the svg file..

Thanks for any input..

Dan
Technical Details
Message-ID: <3bb522ad.-1@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!webx

Show Full Headers
Complete Article Headers
X-Google-Thread: 1effe5,222fd00b1cd449f,start
X-Google-Attributes: gid1effe5,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Daniel_Many@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: How using unique variable name for replacing multi values in SVG file
Message-ID: <3bb522ad.-1@webx.la2eafNXanI>
Date: Wed, 21 Jul 2004 10:04:23 -0700
Lines: 38
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit