Voici un exemple de fichier d'exportation XML d'un objet Variable.
Exemple :
<?xml version="1.0" encoding="ISO-8859-1"?> -<uc-export clientvers="3.02"> - <VARA client="0003"name="VARA.DATABASE_MAINTENANCE"system="UCGLOBAL"> - <HEADER state="1"> <Title/> <Created>John Smith on: 2005-03-10 12:46:58</Created> <Modified>John Smith on: 2005-03-10 12:56:19 6 x</Modified> <LastUsed/> </HEADER> - <ATTR_VARA state="1"> <Type>C|Text</Type> <source>STATIC</source> <VRName>FREI|Frei gewählt</VRName> <NotFoundErr>0</NotFoundErr> <NotFoundDef>1</NotFoundDef> <ShareN>0</ShareN> <ShareL>0</ShareL> <ShareR>0</ShareR> <MinValue_C/> <MaxValue_C>12</MaxValue_C> <uppercase>1</uppercase> <OutputFormat_N/> <MinValue_N/> <MaxValue_N/> <OutputFormat_TI/> <MinValue_TI/> <MaxValue_TI/> <OutputFormat_D/> </MinValue_D/> </MaxValue_D/> <OutputFormat_TS/> <MinValue_TS/> <MaxValue_TS/> <sortColumn/> <sortDirection/> </ATTR_VARA> - <VARA state="1"> - <Variables> <row Name="ARCHIVE" Value="J" Value1="" Value2="" Value3="" Value4=""/> <row Name="UNLOAD" Value="N" Value1="" Value2="" Value3="" Value4=""/> <row Name="CLIENT" Value="3" Value1="" Value2="" Value3="" Value4=""/> <row Name="REORGANIZE" Value="N" Value1="" Value2="" Value3="" Value4=""/> </Variables> - <SQL> <Conn/> <Login/> <prefUserConn>0</prefUserConn> <prefUserLogin>0</prefUserLogin> <sql/> <resultformat/> </SQL> - <SQL_INTERN> <prefUserConn>0</prefUserConn> <prefUserLogin>0</prefUserLogin> <command.sql/> <command.ora/> <command.db2/> <command.db2zos/> <resultformat/> </SQL_INTERN> - <MULTI> <Vara1/> <Vara2/> <resultformat/> <union>1</union> <intersection>0</intersection> <minus>0</minus> </MULTI> - <FILELIST> <directory/> <HostDst/> <preferUserHost>0</preferUserHost> <Login/> <preferUserLogin>0</preferUserLogin> </FILELIST> </VARA> - <DOCU_General state="1"type="text"> - <DOC> <[Variable for database maintenance]> </DOC> </DOCU_General> - <DOCU_Details- state="1" type="xml"> - <DOC> <?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE Description [ <!ELEMENT Description ( #PCDATA ) > <!ELEMENT Content ( description, objects, release notes ) > <!ELEMENT Objects EMPTY > <!ATTLIST Objects Job CDATA "DB" > <!ELEMENT Release Notes EMPTY > <Content> <Description>Infos: http://www.automic.com</Description> <Objects Job="DB"/> <Modification Archive/> </Content> </DOC> </DOCU_Details-> </VARA>
Rubriques connexes :
Variable
Structure du fichier d'exportation
Structure des fichiers XML pour l'importation et l'exportation