Selon la documentation:
1. Choisissez Charger variable Bibliothèque à partir du menu de la palette Variables.
2.Sélectionnez le fichier XML à partir duquel vous souhaitez importer des variables, et cliquez sur Ouvrir.
Les variables chargées et ensembles de données devraient maintenant apparaître dans la palette de variables, mais une erreur inconnue a empêché l'opération.
J'avais l'impression que je pourrais créer un ensemble de données, sauf la bibliothèque variables, d'éditer les données XML, charger la bibliothèque de nouvelles variables et de partir aux courses. (Appare notly pas.)
Voici un fichier XML en abrégé.
<?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>
Toute idée de la raison que le travail wouldnt? Im perplexe!