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.
<?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>
- <?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>
Any idea why that wouldn't work? I'm stumped!