Adobe Illustrator 10 Data Sets and Variable Libraries

  • rjmthezonenet
  • Expert
  • Expert
  • User avatar
  • Posts: 526
  • Loc: St. John's, Newfoundland, Canada

Post 3+ Months Ago

According to the documentation:

1. Choose Load Variable Library from the Variables palette menu.

2.Select the XML file from which you want to import variables, and click Open.

The loaded variables and data sets should now appear in the Variables palette, but an unknown error has prevented the operation.

I was under the impression that I could create one data set, save the variables library, edit the XML data, load the new variables library and be off to the races. (Apparently not.)

Here is an abbreviated XML file.

Code: [ Select ]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"  "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd" [
    <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
    <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
    <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
    <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
    <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
<!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
]>
<svg>
<variableSets xmlns="&ns_vars;">
    <variableSet varSetName="binding1" locked="none">
        <variables>
            <variable varName="DeptR" trait="visibility" category="&ns_vars;"></variable>
            <variable varName="DeptB" trait="visibility" category="&ns_vars;"></variable>
            <variable varName="ShldR" trait="visibility" category="&ns_vars;"></variable>
            <variable varName="ShldB" trait="visibility" category="&ns_vars;"></variable>
            <variable varName="DeptT" trait="textcontent" category="&ns_flows;"></variable>
            <variable varName="DivT" trait="textcontent" category="&ns_flows;"></variable>
        </variables>
        <v:sampleDataSets xmlns="&ns_custom;" xmlns:v="&ns_vars;">
            <v:sampleDataSet dataSetName="sneaker-B">
                <DeptR>false</DeptR>
                <DeptB>true</DeptB>
                <ShldR>false</ShldR>
                <ShldB>true</ShldB>
                <DeptT>
                    <p>Department of Big Shoes</p>
                </DeptT>
                <DivT>
                    <p>Sneakers Division Division</p>
                </DivT>
            </v:sampleDataSet>
            <v:sampleDataSet dataSetName="sneaker-R">
                <DeptR>true</DeptR>
                <DeptB>false</DeptB>
                <ShldR>true</ShldR>
                <ShldB>false</ShldB>
                <DeptT>
                    <p>Department of Big Shoes</p>
                </DeptT>
                <DivT>
                    <p>Sneakers Division Division</p>
                </DivT>
            </v:sampleDataSet>
            <v:sampleDataSet dataSetName="boot-B">
                <DeptR>false</DeptR>
                <DeptB>true</DeptB>
                <ShldR>false</ShldR>
                <ShldB>true</ShldB>
                <DeptT>
                    <p>Department of Big Shoes</p>
                </DeptT>
                <DivT>
                    <p>Boots Division</p>
                </DivT>
            </v:sampleDataSet>
            <v:sampleDataSet dataSetName="boot-R">
                <DeptR>true</DeptR>
                <DeptB>false</DeptB>
                <ShldR>true</ShldR>
                <ShldB>false</ShldB>
                <DeptT>
                    <p>Department of Big Shoes</p>
                </DeptT>
                <DivT>
                    <p>Boots Division</p>
                </DivT>
            </v:sampleDataSet>
        </v:sampleDataSets>
    </variableSet>
</variableSets>
</svg>
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"  "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd" [
  3.     <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
  4.     <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
  5.     <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
  6.     <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
  7.     <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
  8. <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
  9. ]>
  10. <svg>
  11. <variableSets xmlns="&ns_vars;">
  12.     <variableSet varSetName="binding1" locked="none">
  13.         <variables>
  14.             <variable varName="DeptR" trait="visibility" category="&ns_vars;"></variable>
  15.             <variable varName="DeptB" trait="visibility" category="&ns_vars;"></variable>
  16.             <variable varName="ShldR" trait="visibility" category="&ns_vars;"></variable>
  17.             <variable varName="ShldB" trait="visibility" category="&ns_vars;"></variable>
  18.             <variable varName="DeptT" trait="textcontent" category="&ns_flows;"></variable>
  19.             <variable varName="DivT" trait="textcontent" category="&ns_flows;"></variable>
  20.         </variables>
  21.         <v:sampleDataSets xmlns="&ns_custom;" xmlns:v="&ns_vars;">
  22.             <v:sampleDataSet dataSetName="sneaker-B">
  23.                 <DeptR>false</DeptR>
  24.                 <DeptB>true</DeptB>
  25.                 <ShldR>false</ShldR>
  26.                 <ShldB>true</ShldB>
  27.                 <DeptT>
  28.                     <p>Department of Big Shoes</p>
  29.                 </DeptT>
  30.                 <DivT>
  31.                     <p>Sneakers Division Division</p>
  32.                 </DivT>
  33.             </v:sampleDataSet>
  34.             <v:sampleDataSet dataSetName="sneaker-R">
  35.                 <DeptR>true</DeptR>
  36.                 <DeptB>false</DeptB>
  37.                 <ShldR>true</ShldR>
  38.                 <ShldB>false</ShldB>
  39.                 <DeptT>
  40.                     <p>Department of Big Shoes</p>
  41.                 </DeptT>
  42.                 <DivT>
  43.                     <p>Sneakers Division Division</p>
  44.                 </DivT>
  45.             </v:sampleDataSet>
  46.             <v:sampleDataSet dataSetName="boot-B">
  47.                 <DeptR>false</DeptR>
  48.                 <DeptB>true</DeptB>
  49.                 <ShldR>false</ShldR>
  50.                 <ShldB>true</ShldB>
  51.                 <DeptT>
  52.                     <p>Department of Big Shoes</p>
  53.                 </DeptT>
  54.                 <DivT>
  55.                     <p>Boots Division</p>
  56.                 </DivT>
  57.             </v:sampleDataSet>
  58.             <v:sampleDataSet dataSetName="boot-R">
  59.                 <DeptR>true</DeptR>
  60.                 <DeptB>false</DeptB>
  61.                 <ShldR>true</ShldR>
  62.                 <ShldB>false</ShldB>
  63.                 <DeptT>
  64.                     <p>Department of Big Shoes</p>
  65.                 </DeptT>
  66.                 <DivT>
  67.                     <p>Boots Division</p>
  68.                 </DivT>
  69.             </v:sampleDataSet>
  70.         </v:sampleDataSets>
  71.     </variableSet>
  72. </variableSets>
  73. </svg>


Any idea why that wouldn't work? I'm stumped!
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • rjmthezonenet
  • Expert
  • Expert
  • User avatar
  • Posts: 526
  • Loc: St. John's, Newfoundland, Canada

Post 3+ Months Ago

I had to call Adobe technical support with this problem. They have analyzed several files set by FTP, can reproduce the problem, and are still stumped. I have a feeling this one is going to the developer that wrote the code for data sets. :-P
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Good call (parden the pun) *lol
  • rjmthezonenet
  • Expert
  • Expert
  • User avatar
  • Posts: 526
  • Loc: St. John's, Newfoundland, Canada

Post 3+ Months Ago

Yup, not a good start when you want to generate images based on data from the back office and script the whole she-bang. After a two hour phone call, the very helpful Adobe representative could only promise to get back to me in a few days (not complaining, I understand).

I wish someone on Ozzu has experience with Illustrator data sets and the developers kit! :-D
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

I hear ya -- I have the proggy -- but have never really had a need to use it, so I really don't know it.

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 15 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.