--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!-- edited with XMLSpy v2015 rel. 4 (http://www.altova.com) by USER1 (EDF-DSP) -->\r
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns="http://chercheurs.edf.com/logiciels/efficas" xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" xmlns:altova="http://www.altova.com/xml-schema-extensions" targetNamespace="http://chercheurs.edf.com/logiciels/efficas" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0" vc:minVersion="1.1">\r
+ <!--<xs:import schemaLocation="./Model Efficas (1.1) v5.xsd" namespace="http://chercheurs.edf.com/logiciels/efficas"/>\r
+-->\r
+ <xs:override schemaLocation="./Model Efficas (1.1) v6.xsd">\r
+ <xs:attribute name="attribut" type="AT_attribut"/>\r
+ <xs:simpleType name="AT_attribut">\r
+ <xs:restriction base="xs:string">\r
+ <xs:enumeration value="n"/>\r
+ <xs:enumeration value="o"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+\r
+<!-- <xs:complexType name="essai">\r
+ <xs:sequence>\r
+ <xs:element ref="valeurDef" minOccurs="0"/>\r
+ </xs:sequence>\r
+ <xs:attribute ref="attribut" default="n"/>\r
+ </xs:complexType>\r
+--> \r
+ <xs:complexType name="T_SIMP">\r
+ <xs:sequence>\r
+ <xs:element ref="doc" minOccurs="0"/>\r
+ <xs:element ref="portee" minOccurs="0">\r
+ <xs:annotation>\r
+ <xs:documentation>La portée pouurait devenir un attribut de SIMP. Une autre solution consisterait a créer un SIMPG pour distinguer les @nom uniques des SIMP a portée globale des autres.</xs:documentation>\r
+ </xs:annotation>\r
+ </xs:element>\r
+ <xs:element ref="valeurDef" minOccurs="0"/>\r
+ <xs:element ref="valeurSugg" minOccurs="0"/>\r
+ <xs:element ref="plageValeur" minOccurs="0"/>\r
+ <xs:element ref="typeAttendu"/>\r
+ <xs:element ref="validators" minOccurs="0"/>\r
+ </xs:sequence>\r
+ <xs:attribute ref="nom" use="required"/>\r
+ <xs:attribute ref="statut" default="o"/>\r
+ <xs:attribute ref="min_occurs" default="1"/>\r
+ <xs:attribute ref="max_occurs" default="1">\r
+ <xs:annotation>\r
+ <xs:documentation>La valeur -1 equivaut à oo</xs:documentation>\r
+ </xs:annotation>\r
+ </xs:attribute>\r
+ <xs:attribute name="attribut" default="n">\r
+ <xs:simpleType>\r
+ <xs:restriction base="xs:string">\r
+ <xs:enumeration value="n"/>\r
+ <xs:enumeration value="o"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ </xs:attribute>\r
+ <!-- Les deux lignes suivantes ne fonctionnent pas car il faut que la cible référencée soit déjà définie dans le fichier importé ? -->\r
+ <!-- <xs:attribute default="n" ref="attribut"/>-->\r
+ <!-- <xs:attribute default="n" name="attribut" type="AT_attribut" />-->\r
+ </xs:complexType>\r
+ </xs:override>\r
+ </xs:schema>\r
+
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!-- édité avec XMLSpy v2018 sp1 (http://www.altova.com) par Fayolle (EDF R&D) -->\r
+<!-- edited with XMLSpy v2015 rel. 4 (http://www.altova.com) by USER1 (EDF-DSP) -->\r
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns="http://chercheurs.edf.com/logiciels/efficas" xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" xmlns:altova="http://www.altova.com/xml-schema-extensions" targetNamespace="http://chercheurs.edf.com/logiciels/efficas" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0" vc:minVersion="1.1">\r
+ <xs:element name="doc" type="T_doc"/>\r
+ <xs:element name="cata" type="T_cata"/>\r
+ <xs:element name="regles" type="T_regles"/>\r
+ <xs:element name="typeCree" type="T_classe_utilisateur"/>\r
+ <xs:element name="valeurDef" type="T_typeAttendu"/>\r
+ <xs:element name="valeurSugg" type="T_typeAttendu"/>\r
+ <xs:element name="fonction_utilisateur" type="T_fonction_python"/>\r
+ <xs:element name="commandes" type="T_commandes">\r
+ <!-- La contrainte suivante fonctionne -->\r
+ <xs:unique name="Uniq_Command">\r
+ <xs:selector xpath="*"/>\r
+ <xs:field xpath="@efficas:nom"/>\r
+ </xs:unique>\r
+ </xs:element>\r
+ <xs:element name="validators" type="T_validators"/>\r
+ <xs:element name="plageValeur" type="T_plageValeur"/>\r
+ <xs:element name="typeAttendu" type="T_name"/>\r
+ <xs:element name="classeUtilisateurName" type="T_classe_utilisateur_username" abstract="true" substitutionGroup="typeAttendu"/>\r
+ <xs:element name="SIMP" type="T_SIMP"/>\r
+ <xs:element name="portee" type="T_portee" default="None"/>\r
+ <xs:element name="condition" type="T_fonction_python"/>\r
+ <xs:element name="borne_sup" type="T_typeAttendu"/>\r
+ <xs:element name="borne_inf" type="T_typeAttendu"/>\r
+ <!-- <xs:element name="into" type="T_into"/>-->\r
+ <xs:element name="into" type="T_into"/>\r
+ <!-- <xs:element name="into_plus_fonction" type="T_into" abstract="true" substitutionGroup="into"/>-->\r
+ <xs:attribute name="nom" type="AT_nom"/>\r
+ <xs:attribute name="ag" type="AT_ag"/>\r
+ <xs:attribute name="fr" type="xs:string"/>\r
+ <xs:attribute name="ang" type="xs:string"/>\r
+ <xs:attribute name="docu" type="AT_docu"/>\r
+ <xs:attribute name="valeur_sugg" type="AT_valeur_sugg"/>\r
+ <xs:attribute name="statut" type="AT_statut" default="o"/>\r
+ <xs:attribute name="max_occurs" type="AT_max_occurs"/>\r
+ <xs:attribute name="min_occurs" type="AT_min_occurs"/>\r
+ <xs:attribute name="subroutine" type="AT_subroutine" default="None"/>\r
+ <xs:complexType name="T_doc">\r
+ <xs:attribute ref="fr" use="optional"/>\r
+ <xs:attribute ref="ang"/>\r
+ <xs:attribute ref="docu"/>\r
+ </xs:complexType>\r
+ <xs:complexType name="T_cata">\r
+ <xs:sequence>\r
+ <xs:element ref="commandes" minOccurs="0" maxOccurs="unbounded"/>\r
+ </xs:sequence>\r
+ </xs:complexType>\r
+ <xs:complexType name="T_commandes">\r
+ <xs:choice minOccurs="0" maxOccurs="unbounded">\r
+ <xs:element ref="OPER"/>\r
+ <xs:element ref="PROC"/>\r
+ </xs:choice>\r
+ </xs:complexType>\r
+ <xs:complexType name="T_Cardinalite"/>\r
+ <xs:complexType name="T_plageValeur">\r
+ <xs:choice>\r
+ <xs:sequence>\r
+ <xs:element ref="borne_sup" minOccurs="0"/>\r
+ <xs:element ref="borne_inf" minOccurs="0"/>\r
+ </xs:sequence>\r
+ <xs:element ref="into"/>\r
+ </xs:choice>\r
+ </xs:complexType>\r
+ <xs:complexType name="T_Accas_Common">\r
+ <xs:sequence>\r
+ <xs:element ref="regles" minOccurs="0"/>\r
+ <xs:element ref="doc" minOccurs="0"/>\r
+ <xs:choice maxOccurs="unbounded">\r
+ <xs:element ref="BLOC"/>\r
+ <xs:element ref="FACT"/>\r
+ <xs:element ref="SIMP"/>\r
+ </xs:choice>\r
+ </xs:sequence>\r
+ <xs:attribute ref="nom" use="required"/>\r
+ </xs:complexType>\r
+ <xs:element name="OPER" type="T_OPER">\r
+ <!-- La contrainte fonctionne uniquement si l'on n'oublie pas le prefix dans l'expression du selector ! -->\r
+ <!-- aucun nom identique ne doit apparaître dans les sous élements d'un même niveau dans OPER ou PROC -->\r
+ <xs:key name="Key_Name_In_Oper">\r
+ <xs:annotation>\r
+ <xs:documentation>SIMP devrait être selectionné que si .//SIMP[portee='Global']</xs:documentation>\r
+ </xs:annotation>\r
+ <xs:selector xpath="./efficas:BLOC |./efficas:FACT|./efficas:SIMP"/>\r
+ <xs:field xpath="@efficas:nom"/>\r
+ </xs:key>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_Exclus" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_Exclus">\r
+ <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_A_Classer" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:A_CLASSER/efficas:p1 | ./efficas:regles/efficas:A_CLASSER/efficas:p2"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_A_Classer">\r
+ <xs:selector xpath="./efficas:regles/efficas:A_CLASSER/efficas:p1 | ./efficas:regles/efficas:A_CLASSER/efficas:p2"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_Au_Moins_Un" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_MOINS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_Au_Moins_Un">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_MOINS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_Au_Plus_Un" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_PLUS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_Au_Plus_Un">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_PLUS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_Ensemble" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:ENSEMBLE"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_Ensemble">\r
+ <xs:selector xpath="./efficas:regles/efficas:ENSEMBLE"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_Present_Absent" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_ABSENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_Present_Absent">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_ABSENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_Present_Present" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_PRESENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_Present_Present">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_PRESENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_Un_Parmi" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:UN_PARMI"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_Un_Parmi">\r
+ <xs:selector xpath="./efficas:regles/efficas:UN_PARMI"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ </xs:element>\r
+ \r
+ <xs:complexType name="T_OPER">\r
+ <xs:complexContent>\r
+ <xs:extension base="T_Accas_Common">\r
+ <xs:sequence>\r
+ <xs:element ref="typeCree"/>\r
+ </xs:sequence>\r
+ <xs:attribute ref="subroutine"/>\r
+ </xs:extension>\r
+ </xs:complexContent>\r
+ </xs:complexType>\r
+ <xs:element name="PROC" type="T_PROC">\r
+ <!-- La contrainte fonctionne pour toutes les PROC adjacentes et devrait être par PROC -->\r
+ <xs:key name="Key_Name_In_Proc">\r
+ <xs:annotation>\r
+ <xs:documentation>SIMP devrait être selectionné que si .//SIMP[portee='Global']</xs:documentation>\r
+ </xs:annotation>\r
+ <xs:selector xpath="./efficas:BLOC | ./efficas:FACT| ./efficas:SIMP"/>\r
+ <xs:field xpath="@efficas:nom"/>\r
+ </xs:key>\r
+ <xs:keyref name="Proc_Ref_A_Name_In_Exclus" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_Exclus">\r
+ <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Proc_Ref_A_Name_In_A_Classer" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:A_CLASSER/efficas:p1 | ./efficas:regles/efficas:A_CLASSER/efficas:p2"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_A_Classer">\r
+ <xs:selector xpath="./efficas:regles/efficas:A_CLASSER/efficas:p1 | ./efficas:regles/efficas:A_CLASSER/efficas:p2"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Proc_Ref_A_Name_In_Au_Moins_Un" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_MOINS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_Au_Moins_Un">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_MOINS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Proc_Ref_A_Name_In_Au_Plus_Un" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_PLUS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_Au_Plus_Un">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_PLUS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Proc_Ref_A_Name_In_Ensemble" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:ENSEMBLE"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_Ensemble">\r
+ <xs:selector xpath="./efficas:regles/efficas:ENSEMBLE"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Proc_Ref_A_Name_In_Present_Absent" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_ABSENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_Present_Absent">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_ABSENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Proc_Ref_A_Name_In_Present_Present" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_PRESENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_Present_Present">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_PRESENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Ref_A_Name_In_Un_Parmi" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:UN_PARMI"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_Un_Parmi">\r
+ <xs:selector xpath="./efficas:regles/efficas:UN_PARMI"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ </xs:element>\r
+ <xs:complexType name="T_PROC">\r
+ <xs:complexContent>\r
+ <xs:extension base="T_Accas_Common">\r
+ <xs:attribute ref="subroutine"/>\r
+ </xs:extension>\r
+ </xs:complexContent>\r
+ </xs:complexType>\r
+ <xs:element name="FACT" type="T_FACT">\r
+ <!-- La contrainte fonctionne uniquement si l'on n'oublie pas le prefix dans l'expression du selector ! -->\r
+ <!-- aucun nom identique ne doit apparaître dans les sous élements d'un même niveau de FACT -->\r
+ <xs:key name="Key_Name_In_Fact">\r
+ <xs:annotation>\r
+ <xs:documentation>SIMP devrait être selectionné que si .//SIMP[portee='Global']</xs:documentation>\r
+ </xs:annotation>\r
+ <xs:selector xpath="./efficas:BLOC |./efficas:FACT|./efficas:SIMP"/>\r
+ <xs:field xpath="@efficas:nom"/>\r
+ </xs:key>\r
+ <xs:keyref name="Ref_A_Name_In_Fact" refer="Key_Name_In_Fact">\r
+ <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ </xs:element>\r
+ <!-- Définition par restriction -->\r
+ <!-- <xs:complexType name="T_FACT">\r
+ <xs:complexContent>\r
+ <xs:restriction base="T_Accas_Common">\r
+ <xs:sequence>\r
+ <xs:element ref="regles" minOccurs="0"/>\r
+ <xs:element ref="doc" minOccurs="0"/>\r
+ <xs:choice maxOccurs="unbounded">\r
+ <xs:element ref="BLOC"/>\r
+ <xs:element ref="FACT"/>\r
+ <xs:element ref="SIMP"/>\r
+ </xs:choice>\r
+ </xs:sequence>\r
+ </xs:restriction>\r
+ </xs:complexContent>\r
+ </xs:complexType>-->\r
+ <xs:complexType name="T_FACT">\r
+ <xs:complexContent>\r
+ <xs:extension base="T_Accas_Common">\r
+ <xs:attribute ref="statut"/>\r
+ <xs:attribute ref="min_occurs" default="1"/>\r
+ <xs:attribute ref="max_occurs" default="1">\r
+ <xs:annotation>\r
+ <xs:documentation>La valeur -1 equivaut à oo</xs:documentation>\r
+ </xs:annotation>\r
+ </xs:attribute>\r
+ </xs:extension>\r
+ <!-- <xs:assert test=".[exists(@efficas:max_occurs) and exists(@efficas:min_occurs) and @efficas:max_occurs gt @efficas:min_occurs]"/>\r
+-->\r
+ <!--<xs:assert test="if (.[exists(@efficas:max_occurs)] and .[exists(@efficas:min_occurs)] ) then (@efficas:max_occurs gt @efficas:min_occurs) or @efficas:max_occurs = -1 else true" altova:message="Erreur max_occurs > min_occurs "/>-->\r
+ </xs:complexContent>\r
+ </xs:complexType>\r
+ <xs:simpleType name="T_fonction_python">\r
+ <xs:restriction base="xs:string"/>\r
+ </xs:simpleType>\r
+ <xs:element name="BLOC" type="T_BLOC">\r
+ <xs:key name="Key_Name_In_Bloc">\r
+ <xs:annotation>\r
+ <xs:documentation>SIMP devrait être selectionné que si .//SIMP[portee='Global']</xs:documentation>\r
+ </xs:annotation>\r
+ <xs:selector xpath="./efficas:BLOC |./efficas:FACT|./efficas:SIMP"/>\r
+ <xs:field xpath="@efficas:nom"/>\r
+ </xs:key>\r
+ <xs:keyref name="Ref_A_Name_In_Bloc" refer="Key_Name_In_Bloc">\r
+ <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ </xs:element>\r
+ <xs:complexType name="T_BLOC">\r
+ <xs:complexContent>\r
+ <xs:extension base="T_Accas_Common">\r
+ <xs:sequence>\r
+ <xs:element ref="condition"/>\r
+ </xs:sequence>\r
+ </xs:extension>\r
+ </xs:complexContent>\r
+ </xs:complexType>\r
+ <xs:complexType name="T_SIMP">\r
+ <xs:sequence>\r
+ <xs:element ref="doc" minOccurs="0"/>\r
+ <xs:element ref="portee" minOccurs="0">\r
+ <xs:annotation>\r
+ <xs:documentation>La portée pouurait devenir un attribut de SIMP. Une autre solution consisterait a créer un SIMPG pour distinguer les @nom uniques des SIMP a portée globale des autres.</xs:documentation>\r
+ </xs:annotation>\r
+ </xs:element>\r
+ <xs:element ref="valeurDef" minOccurs="0"/>\r
+ <xs:element ref="valeurSugg" minOccurs="0"/>\r
+ <xs:element ref="plageValeur" minOccurs="0"/>\r
+ <xs:element ref="typeAttendu"/>\r
+ <xs:element ref="validators" minOccurs="0"/>\r
+ </xs:sequence>\r
+ <xs:attribute ref="nom" use="required"/>\r
+ <xs:attribute ref="statut" default="o"/>\r
+ <xs:attribute ref="min_occurs" default="1"/>\r
+ <xs:attribute ref="max_occurs" default="1">\r
+ <xs:annotation>\r
+ <xs:documentation>La valeur -1 equivaut à oo</xs:documentation>\r
+ </xs:annotation>\r
+ </xs:attribute>\r
+ </xs:complexType>\r
+ <xs:simpleType name="AT_statut">\r
+ <xs:restriction base="xs:string">\r
+ <xs:enumeration value="f"/>\r
+ <xs:enumeration value="o"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <!--<xs:simpleType name="T_repetable">\r
+ <xs:restriction base="xs:string">\r
+ <xs:enumeration value="n"/>\r
+ <xs:enumeration value="o"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>-->\r
+ <xs:simpleType name="T_portee">\r
+ <xs:restriction base="xs:string">\r
+ <xs:enumeration value="None"/>\r
+ <xs:enumeration value="Global"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="AT_max_occurs">\r
+ <xs:restriction base="xs:long">\r
+ <xs:minInclusive value="-1"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="AT_min_occurs">\r
+ <xs:restriction base="xs:long">\r
+ <xs:minExclusive value="0"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <!-- Comparable -->\r
+ <!-- <xs:simpleType name="AT_borne_sup">\r
+ <xs:atomic base="xs:double"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="AT_borne_inf">\r
+ <xs:restriction base="xs:double"/>\r
+ </xs:simpleType>\r
+-->\r
+ <xs:simpleType name="AT_ag">\r
+ <xs:restriction base="xs:string">\r
+ <xs:enumeration value="No comment"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="AT_docu">\r
+ <xs:annotation>\r
+ <xs:documentation>Référence une position dans un fichier maître contenant une liste de références à des pages de documentations</xs:documentation>\r
+ </xs:annotation>\r
+ <xs:restriction base="xs:string"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="AT_valeur_sugg">\r
+ <xs:restriction base="xs:string"/>\r
+ </xs:simpleType>\r
+ <!-- TODO: Exclure mots clés python|efficas -->\r
+ <xs:simpleType name="AT_nom">\r
+ <xs:restriction base="xs:string">\r
+ <xs:pattern value="([A-Z]|[a-z]|_)([A-Z]|[a-z]|_|[0-9])*"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_predicat1">\r
+ <xs:list itemType="AT_nom"/>\r
+ <!-- TODO: Supprimer la liste -->\r
+ </xs:simpleType>\r
+ <xs:complexType name="T_predicat2">\r
+ <xs:sequence>\r
+ <xs:element name="p1" type="T_predicat1" minOccurs="1"/>\r
+ <xs:element name="p2" type="AT_nom" minOccurs="1"/>\r
+ </xs:sequence>\r
+ <!-- TODO: Supprimer la séquence -->\r
+ </xs:complexType>\r
+ <xs:element name="A_CLASSER" type="T_predicat2"/>\r
+ <xs:element name="AU_MOINS_UN" type="T_predicat1"/>\r
+ <xs:element name="AU_PLUS_UN" type="T_predicat1"/>\r
+ <xs:element name="ENSEMBLE" type="T_predicat1"/>\r
+ <xs:element name="EXCLUS" type="T_predicat1"/>\r
+ <xs:element name="PRESENT_ABSENT" type="T_predicat1"/>\r
+ <xs:element name="PRESENT_PRESENT" type="T_predicat1"/>\r
+ <xs:element name="UN_PARMI" type="T_predicat1"/>\r
+ <xs:group name="predicat">\r
+ <xs:choice>\r
+ <xs:element ref="A_CLASSER"/>\r
+ <xs:element ref="AU_MOINS_UN"/>\r
+ <xs:element ref="AU_PLUS_UN"/>\r
+ <xs:element ref="ENSEMBLE"/>\r
+ <xs:element ref="EXCLUS"/>\r
+ <xs:element ref="PRESENT_ABSENT"/>\r
+ <xs:element ref="PRESENT_PRESENT"/>\r
+ <xs:element ref="UN_PARMI"/>\r
+ </xs:choice>\r
+ </xs:group>\r
+ <xs:complexType name="T_regles">\r
+ <xs:sequence maxOccurs="unbounded">\r
+ <xs:group ref="predicat"/>\r
+ </xs:sequence>\r
+ </xs:complexType>\r
+ <!-- <xs:simpleType name="T_typeCree">\r
+ <xs:restriction base="T_classe_utilisateur"/>\r
+ </xs:simpleType>\r
+-->\r
+ <xs:simpleType name="AT_subroutine">\r
+ <xs:restriction base="AT_nom"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_validators">\r
+ <xs:restriction base="xs:string">\r
+ <xs:enumeration value="NoRepeat"/>\r
+ <xs:enumeration value="OnlyStr"/>\r
+ <xs:enumeration value="VerifExiste"/>\r
+ <xs:enumeration value="VerifTypeTuple"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_Bool">\r
+ <xs:restriction base="xs:boolean"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_list_Bool">\r
+ <xs:list itemType="T_Bool"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_I">\r
+ <xs:restriction base="xs:int"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_list_I">\r
+ <xs:list itemType="T_I"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_R">\r
+ <xs:restriction base="xs:double"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_list_R">\r
+ <xs:list itemType="T_R"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_TXM">\r
+ <xs:restriction base="AT_nom"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_list_TXM">\r
+ <xs:list itemType="T_TXM"/>\r
+ </xs:simpleType>\r
+ <!--fonctionne mais ne permet pas de créer une liste de liste -->\r
+ <xs:simpleType name="T_C">\r
+ <xs:restriction>\r
+ <xs:simpleType>\r
+ <xs:list itemType="xs:double"/>\r
+ </xs:simpleType>\r
+ <xs:minLength value="2"/>\r
+ <xs:maxLength value="2"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <!-- Ajouter une contrainte : taille pair -->\r
+ <!-- Il n'est pas possible de définir des listes de listes -->\r
+ <xs:simpleType name="T_list_C">\r
+ <xs:list itemType="xs:double"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_name_base">\r
+ <xs:restriction base="AT_nom"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_simple_name">\r
+ <xs:restriction base="T_name_base">\r
+ <xs:enumeration value="Fichier"/>\r
+ <xs:enumeration value="Repertoire"/>\r
+ <xs:enumeration value="TXM"/>\r
+ <xs:enumeration value="I"/>\r
+ <xs:enumeration value="R"/>\r
+ <xs:enumeration value="C"/>\r
+ <xs:enumeration value="Bool"/>\r
+ <xs:enumeration value="grma"/>\r
+ <xs:enumeration value="grno"/>\r
+ <xs:enumeration value="SalomeEntry"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <!-- On ne peut pas rendre abstrait un simpleType && \r
+ Il n'est pas possible de dériver par restriction un simplecontent d'un type complex qui\r
+ lui peut être abstrait.\r
+ -->\r
+ <xs:simpleType name="T_classe_utilisateur_name">\r
+ <xs:restriction base="T_name">\r
+ <xs:enumeration value="T_classe_utilisateur"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <xs:complexType name="T_classe_utilisateur_username">\r
+ <xs:simpleContent>\r
+ <xs:extension base="T_classe_utilisateur_name">\r
+ <xs:attribute ref="nom" use="required"/>\r
+ </xs:extension>\r
+ </xs:simpleContent>\r
+ </xs:complexType>\r
+ <xs:simpleType name="T_name">\r
+ <xs:union memberTypes="T_simple_name">\r
+ <xs:simpleType>\r
+ <xs:restriction base="AT_nom">\r
+ <xs:enumeration value="T_Matrice_double"/>\r
+ <xs:enumeration value="T_Matrice_Symetrique_double"/>\r
+ <xs:enumeration value="T_tuple"/>\r
+ <xs:enumeration value="T_classe_utilisateur"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ </xs:union>\r
+ </xs:simpleType>\r
+ <xs:complexType name="T_grma"/>\r
+ <xs:complexType name="T_grno"/>\r
+ <xs:complexType name="T_SalomeEntry"/>\r
+ <xs:complexType name="T_Fichier"/>\r
+ <!-- <xs:complexType name="T_Repertoire"/>-->\r
+ <xs:simpleType name="T_Repertoire">\r
+ <xs:list>\r
+ <xs:simpleType>\r
+ <xs:restriction base="xs:string">\r
+ <xs:whiteSpace value="preserve"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ </xs:list>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_simple">\r
+ <xs:union memberTypes="T_I T_list_I T_R T_list_R T_C T_list_C T_TXM T_list_TXM T_Bool T_list_Bool T_Repertoire"/>\r
+ </xs:simpleType>\r
+ <!-- <xs:complexType name="T_TXM"/>-->\r
+ <!-- <xs:simpleType name="T_simple">\r
+ <xs:restriction base="xs:string">\r
+ <xs:enumeration value="Fichier"/>\r
+ <xs:enumeration value="Repertoire"/>\r
+ <xs:enumeration value="TXM"/>\r
+ <xs:enumeration value="I"/>\r
+ <xs:enumeration value="R"/>\r
+ <xs:enumeration value="C"/>\r
+ <xs:enumeration value="Bool"/>\r
+ <xs:enumeration value="grma"/>\r
+ <xs:enumeration value="grno"/>\r
+ <xs:enumeration value="SalomeEntry"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+-->\r
+ <xs:simpleType name="T_list_double">\r
+ <xs:list itemType="xs:double"/>\r
+ </xs:simpleType>\r
+ <!-- Possibilité d'utiliser un type paramétré ? -->\r
+ <xs:complexType name="T_Matrice_double">\r
+ <xs:simpleContent>\r
+ <xs:extension base="T_list_double">\r
+ <xs:attribute name="n" type="xs:integer" use="required"/>\r
+ <xs:attribute name="m" type="xs:integer" use="required"/>\r
+ </xs:extension>\r
+ </xs:simpleContent>\r
+ </xs:complexType>\r
+ <!-- Faire l'exercice de dériver de T_Matrice_double -->\r
+ <xs:complexType name="T_Matrice_Symetrique_double">\r
+ <xs:simpleContent>\r
+ <xs:extension base="T_list_double">\r
+ <xs:attribute name="n" type="xs:int" use="required"/>\r
+ </xs:extension>\r
+ </xs:simpleContent>\r
+ </xs:complexType>\r
+ <!-- Une liste est aussi un type simple ! -->\r
+ <!-- <xs:simpleType name="T_list_anySimpleType">\r
+ <xs:list itemType="xs:anySimpleType"/>\r
+ </xs:simpleType>\r
+-->\r
+ <!-- Le fait de ne pas déclarer une liste risque d'être problématique pour le parsing : A voir-->\r
+ <xs:complexType name="T_tuple">\r
+ <xs:simpleContent>\r
+ <xs:extension base="xs:anySimpleType">\r
+ <xs:attribute name="n" type="xs:int" use="required"/>\r
+ </xs:extension>\r
+ </xs:simpleContent>\r
+ </xs:complexType>\r
+ <xs:simpleType name="T_classe_utilisateur">\r
+ <xs:restriction base="AT_nom"/>\r
+ </xs:simpleType>\r
+ <xs:element name="typesimple" type="T_simple"/>\r
+ <xs:element name="matrice_double" type="T_Matrice_double"/>\r
+ <xs:element name="matrice_symetrique_double" type="T_Matrice_Symetrique_double"/>\r
+ <xs:element name="tuple" type="T_tuple"/>\r
+ <xs:element name="classe_utilisateur" type="T_classe_utilisateur"/>\r
+ <!-- Essai -->\r
+ <!-- <xs:group name="T_Attendu_group1">\r
+ <xs:choice>\r
+ <xs:element ref="typesimple"/>\r
+ <xs:element ref="matrice_double"/>\r
+ <xs:element ref="matrice_symetrique_double"/>\r
+ <xs:element ref="tuple"/>\r
+ <xs:element ref="classe_utilisateur"/>\r
+ </xs:choice>\r
+ </xs:group>\r
+\r
+ <xs:group name="T_Attendu_group2">\r
+ <xs:choice>\r
+ <xs:element ref="typesimple"/>\r
+ <xs:element ref="matrice_double"/>\r
+ <xs:element ref="matrice_symetrique_double"/>\r
+ <xs:element ref="tuple"/>\r
+ <xs:element ref="classe_utilisateur"/>\r
+ <xs:element ref="fonction_utilisateur" minOccurs="1" maxOccurs="unbounded"/>\r
+ </xs:choice>\r
+ </xs:group>\r
+\r
+ <xs:complexType name="T_typeAttendu">\r
+ <xs:group ref="T_Attendu_group1"/>\r
+ </xs:complexType>\r
+ -->\r
+ <!-- Faire plutot un groupe de substitution pour ne pas croiser les choix -->\r
+ <!--\r
+ <xs:complexType name="T_into">\r
+ <xs:group ref="T_Attendu_group2"/>\r
+ </xs:complexType>\r
+ -->\r
+ <xs:complexType name="T_into">\r
+ <xs:choice>\r
+ <!-- <xs:element ref="typesimple" type="T_Base"/>-->\r
+ <xs:element ref="typesimple" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="matrice_double" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="matrice_symetrique_double" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="tuple" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="classe_utilisateur" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="fonction_utilisateur" minOccurs="1" maxOccurs="unbounded"/>\r
+ </xs:choice>\r
+ </xs:complexType>\r
+ <xs:complexType name="T_typeAttendu">\r
+ <xs:complexContent>\r
+ <xs:restriction base="T_into">\r
+ <xs:choice>\r
+ <xs:element ref="typesimple" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="matrice_double" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="matrice_symetrique_double" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="tuple" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="classe_utilisateur" minOccurs="0" maxOccurs="unbounded"/>\r
+ </xs:choice>\r
+ </xs:restriction>\r
+ </xs:complexContent>\r
+ </xs:complexType>\r
+</xs:schema>\r
+<!-- Catalogue EFFICAS équivalent\r
+\r
+# coding: utf-8\r
+from Accas import *\r
+\r
+class carte (ASSD) : pass\r
+class maille (ASSD) : pass\r
+class carte_flux_r (carte):pass\r
+\r
+class NOM_CHAM_INTO:\r
+ def __call__(self, *l_typ_cham, **kwargs):\r
+ return tuple(('A','B','C'))\r
+C_NOM_CHAM_INTO = NOM_CHAM_INTO()\r
+\r
+JdC = JDC_CATA(code='MAP',\r
+ execmodul=None,\r
+ regles=ENSEMBLE('E1','E2','E3')\r
+ )\r
+\r
+CREECARTE = OPER(nom="CREECARTE",op=None, sd_prod=carte, UNITE=SIMP(statut='f',typ='I',defaut=21),);\r
+\r
+CREECARTEFLUX = OPER(nom="CREECARTEFLUX",op=None, sd_prod=carte_flux_r,\r
+ NOMFLUX=SIMP(statut='o',typ='TXM',defaut='monFlux'),\r
+ );\r
+\r
+CREEMAILLE = OPER(nom="CREEMAILLE",op=None, sd_prod=maille,\r
+ NOEUDS=SIMP(statut='o',typ='I',defaut=(1,2),min=2,max=2)\r
+ );\r
+\r
+E1=PROC(nom="E1",\r
+ op=None,\r
+ regles = (EXCLUS('ETAT_INIT','RESULTAT',),),\r
+ ETAT_INIT = FACT(statut='f', max='**',\r
+ GROUP_MA_1=SIMP(statut='o',typ='I',validators=NoRepeat(),max='**'),\r
+ GROUP_NO_2=SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'),\r
+ ),\r
+\r
+ RESULTAT = FACT(statut='f',\r
+ DEPL=SIMP(statut='o', typ='R', validators=NoRepeat()),\r
+ VITE=SIMP(statut='f', typ='R', validators=NoRepeat()),\r
+ ACCE=SIMP(statut='f', typ='R', validators=NoRepeat()),\r
+ ), \r
+ );\r
+\r
+E2=PROC(nom="E2", op=None,\r
+ regles = (UN_PARMI('CONCEPT','CHAINE','TOUT' ),),\r
+ CONCEPT = FACT(statut='f',max='**',\r
+ NOM = SIMP(statut='o',typ=assd,validators=NoRepeat(),max='**'),\r
+ ),\r
+ CHAINE = SIMP(statut='f',typ='TXM'),\r
+ POSITION = SIMP(statut='f',typ='I',defaut=1),\r
+ TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ),\r
+ );\r
+\r
+E3=PROC(nom="E3",op=None,\r
+ DEFORMATION = SIMP(statut='f',typ='TXM',defaut="PETIT",\r
+ into=("PETIT","PETIT_REAC","GROT_GDEP","SIMO_MIEHE","GDEF_HYPO_ELAS","GDEF_LOG")),\r
+ b_blocIn = BLOC(condition = "DEFORMATION in ('PETIT','PETIT_REAC','GROT_GDEP')",\r
+ ITER_INTE_PAS = SIMP(statut='f',typ='I',defaut= 0 ),\r
+ ALGO_INTE = SIMP(statut='f',typ='TXM',into=("ANALYTIQUE", "SECANTE", "DEKKER", "NEWTON_1D","BRENT",),),\r
+ CARTE = SIMP(statut='f',typ=carte,),\r
+ b_carte = BLOC(condition= "(AsType(CARTE) != carte_flux_r)",\r
+ CONTRAINTE = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',\r
+ fr="Options pour le calcul de contraintes et efforts generalises",\r
+ into=C_NOM_CHAM_INTO(phenomene='CONTRAINTE',categorie='lin'),)\r
+ ),\r
+ ), \r
+ );\r
+\r
+-->\r
--- /dev/null
+pyxbgen -u model.xsd -m efficas --write-for-customization
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+This file was generated by Altova MapForce 2018sp1\r
+\r
+YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE\r
+OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.\r
+\r
+Refer to the Altova MapForce Documentation for further details.\r
+http://www.altova.com/mapforce\r
+-->\r
+<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://chercheurs.edf.com/logiciels/efficas" xmlns:user="http://www.altova.com/MapForce/UDF/user" xmlns:vmf="http://www.altova.com/MapForce/UDF/vmf" xmlns:grp="http://www.altova.com/Mapforce/grouping" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" exclude-result-prefixes="ns0 user vmf grp xs fn">\r
+ <xsl:param name="Model_Efficas__1_1____XMLSchema__1_1__v7" select="'Model Efficas (1.1) + XMLSchema (1.1) v7.xml'"/>\r
+ <xsl:function name="grp:Fact_mapping_v2_var9_cur_of_nom">\r
+ <xsl:param name="var8_cur" as="node()"/>\r
+ <xsl:for-each select="$var8_cur/@ns0:nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:function>\r
+ <xsl:function name="grp:Fact_mapping_v2_var39_cur_of_nom">\r
+ <xsl:param name="var38_cur" as="node()"/>\r
+ <xsl:for-each select="$var38_cur/@ns0:nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:function>\r
+ <xsl:function name="grp:Fact_mapping_v2_var46_cur_of_nom">\r
+ <xsl:param name="var45_cur" as="node()"/>\r
+ <xsl:for-each select="$var45_cur/@ns0:nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:function>\r
+ <xsl:function name="grp:Fact_mapping_v2_var48_cur_of_nom">\r
+ <xsl:param name="var47_cur" as="node()"/>\r
+ <xsl:for-each select="$var47_cur/@ns0:nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:function>\r
+ <xsl:function name="grp:Fact_mapping_v2_var50_cur_of_nom">\r
+ <xsl:param name="var49_cur" as="node()"/>\r
+ <xsl:for-each select="$var49_cur/@ns0:nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:function>\r
+ <xsl:template name="user:Fact_mapping_v2">\r
+ <xsl:param name="NameSpaceName" select="()"/>\r
+ <xsl:param name="efficasANDschema" select="()"/>\r
+ <xsl:variable name="var55_nom" as="node()?" select="$efficasANDschema/@ns0:nom"/>\r
+ <xsl:variable name="var56_SIMP" as="node()*" select="$efficasANDschema/ns0:SIMP"/>\r
+ <xsl:variable name="var57_FACT" as="node()*" select="$efficasANDschema/ns0:FACT"/>\r
+ <xsl:variable name="var54_test_resultof_logical_and" as="xs:string*">\r
+ <xsl:choose>\r
+ <xsl:when test="(fn:exists($var57_FACT) and xs:boolean(xs:decimal('0')))">\r
+ <xsl:for-each select="$var55_nom">\r
+ <xsl:variable name="var53_cur" as="node()" select="."/>\r
+ <xsl:for-each-group select="$var57_FACT" group-by="grp:Fact_mapping_v2_var46_cur_of_nom(.)">\r
+ <xsl:variable name="var52_create_FACT" as="node()">\r
+ <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
+ <xsl:for-each select="current-group()">\r
+ <FACT>\r
+ <xsl:for-each select="@ns0:nom">\r
+ <xsl:attribute name="ns0:nom" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:variable>\r
+ <xsl:for-each-group select="$var57_FACT" group-by="grp:Fact_mapping_v2_var48_cur_of_nom(.)">\r
+ <xsl:variable name="var51_map_of_group_by" as="xs:string*">\r
+ <xsl:for-each-group select="$var57_FACT" group-by="grp:Fact_mapping_v2_var50_cur_of_nom(.)">\r
+ <xsl:for-each select="current-group()/@ns0:nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:for-each-group>\r
+ </xsl:variable>\r
+ <xsl:sequence select="fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat('T_', fn:string($var53_cur)), xs:string(fn:count($var52_create_FACT/ns0:FACT))), '.'), fn:string-join($var51_map_of_group_by, '.')), '.'), 'KEY:'), current-grouping-key()), '.GID:'), xs:string(xs:decimal('0')))"/>\r
+ </xsl:for-each-group>\r
+ </xsl:for-each-group>\r
+ </xsl:for-each>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:for-each select="$var55_nom">\r
+ <xsl:sequence select="fn:concat('T_', fn:string(.))"/>\r
+ </xsl:for-each>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:variable>\r
+ <schema xmlns="http://www.w3.org/2001/XMLSchema">\r
+ <xsl:variable name="var3_resultof_filter" as="node()*">\r
+ <xsl:for-each select="$var56_SIMP">\r
+ <xsl:variable name="var2_resultof_filter" as="node()*">\r
+ <xsl:for-each select="ns0:typeAttendu">\r
+ <xsl:variable name="var1_resultof_vmf__inputtoresult" as="xs:boolean">\r
+ <xsl:call-template name="vmf:vmf2_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:if test="$var1_resultof_vmf__inputtoresult">\r
+ <xsl:sequence select="."/>\r
+ </xsl:if>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:if test="fn:exists($var2_resultof_filter)">\r
+ <xsl:sequence select="."/>\r
+ </xsl:if>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var3_resultof_filter">\r
+ <xsl:variable name="var7_cur" as="node()" select="."/>\r
+ <xsl:variable name="var6_resultof_any" as="xs:boolean" select="fn:exists((./@ns0:max_occurs)[(xs:integer(fn:string(.)) != xs:decimal('1'))])"/>\r
+ <simpleType>\r
+ <xsl:for-each select="@ns0:nom">\r
+ <xsl:variable name="var5_attribut" as="node()?" select="$var7_cur/@attribut"/>\r
+ <xsl:variable name="var4_resultof_vmf__inputtoresult" as="xs:string">\r
+ <xsl:call-template name="vmf:vmf3_inputtoresult">\r
+ <xsl:with-param name="input" as="xs:string">\r
+ <xsl:choose>\r
+ <xsl:when test="fn:exists($var5_attribut)">\r
+ <xsl:sequence select="fn:string($var5_attribut)"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:sequence select="'n'"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:attribute name="name" namespace="" select="fn:concat($var4_resultof_vmf__inputtoresult, fn:string(.))"/>\r
+ </xsl:for-each>\r
+ <xsl:if test="fn:not($var6_resultof_any)">\r
+ <restriction>\r
+ <xsl:for-each select="ns0:typeAttendu">\r
+ <xsl:attribute name="base" namespace="">\r
+ <xsl:call-template name="vmf:vmf4_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:attribute>\r
+ </xsl:for-each>\r
+ </restriction>\r
+ </xsl:if>\r
+ <xsl:if test="$var6_resultof_any">\r
+ <list>\r
+ <xsl:for-each select="ns0:typeAttendu">\r
+ <xsl:attribute name="itemType" namespace="">\r
+ <xsl:call-template name="vmf:vmf4_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:attribute>\r
+ </xsl:for-each>\r
+ </list>\r
+ </xsl:if>\r
+ </simpleType>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var57_FACT">\r
+ <xsl:variable name="var14_cur" as="node()" select="."/>\r
+ <xsl:variable name="var13_resultof_Fact_mapping_v_" as="node()?">\r
+ <xsl:call-template name="user:Fact_mapping_v2">\r
+ <xsl:with-param name="NameSpaceName" select="$NameSpaceName" as="xs:string"/>\r
+ <xsl:with-param name="efficasANDschema" as="node()">\r
+ <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
+ <xsl:for-each-group select="." group-by="grp:Fact_mapping_v2_var9_cur_of_nom(.)">\r
+ <xsl:variable name="var12_nom" as="node()?" select="$var14_cur/@ns0:nom"/>\r
+ <xsl:variable name="var10_create_FACT" as="node()">\r
+ <FACT>\r
+ <xsl:for-each select="current-group()">\r
+ <FACT>\r
+ <xsl:for-each select="@ns0:nom">\r
+ <xsl:attribute name="ns0:nom" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:variable>\r
+ <xsl:variable name="var11_test_resultof_greater" as="xs:string?">\r
+ <xsl:choose>\r
+ <xsl:when test="(fn:count($var10_create_FACT/ns0:FACT) > xs:decimal('1'))">\r
+ <xsl:for-each select="$var12_nom">\r
+ <xsl:sequence select="fn:concat(fn:concat(fn:string(.), '++'), xs:string(xs:decimal('0')))"/>\r
+ </xsl:for-each>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:for-each select="$var12_nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var11_test_resultof_greater">\r
+ <xsl:attribute name="ns0:nom" select="."/>\r
+ </xsl:for-each>\r
+ </xsl:for-each-group>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:min_occurs">\r
+ <xsl:attribute name="ns0:min_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:regles">\r
+ <regles>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </regles>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:doc">\r
+ <doc>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </doc>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:BLOC">\r
+ <BLOC>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </BLOC>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:FACT">\r
+ <FACT>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </FACT>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:SIMP">\r
+ <SIMP>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </SIMP>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var13_resultof_Fact_mapping_v_/xs:simpleType">\r
+ <simpleType>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </simpleType>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ <complexType>\r
+ <xsl:if test="fn:exists($var54_test_resultof_logical_and)">\r
+ <xsl:attribute name="name" namespace="" select="xs:string(fn:string-join(for $x in $var54_test_resultof_logical_and return xs:string($x), ' '))"/>\r
+ </xsl:if>\r
+ <sequence>\r
+ <xsl:variable name="var16_resultof_filter" as="node()*">\r
+ <xsl:for-each select="$var56_SIMP">\r
+ <xsl:variable name="var15_vmf__inputtoresult_of_attribut" as="xs:boolean?">\r
+ <xsl:for-each select="@attribut">\r
+ <xsl:call-template name="vmf:vmf5_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:if test="fn:not(fn:exists(($var15_vmf__inputtoresult_of_attribut)[.]))">\r
+ <xsl:sequence select="."/>\r
+ </xsl:if>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var16_resultof_filter">\r
+ <xsl:variable name="var21_cur" as="node()" select="."/>\r
+ <xsl:variable name="var20_nom" as="node()?" select="@ns0:nom"/>\r
+ <element>\r
+ <xsl:for-each select="$var20_nom">\r
+ <xsl:attribute name="name" namespace="" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var20_nom">\r
+ <xsl:variable name="var18_attribut" as="node()?" select="$var21_cur/@attribut"/>\r
+ <xsl:variable name="var17_resultof_vmf__inputtoresult" as="xs:string">\r
+ <xsl:call-template name="vmf:vmf3_inputtoresult">\r
+ <xsl:with-param name="input" as="xs:string">\r
+ <xsl:choose>\r
+ <xsl:when test="fn:exists($var18_attribut)">\r
+ <xsl:sequence select="fn:string($var18_attribut)"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:sequence select="'n'"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($NameSpaceName, ':'), fn:concat($var17_resultof_vmf__inputtoresult, fn:string(.))))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:variable name="var19_resultof_vmf__inputtoresult" as="xs:string?">\r
+ <xsl:call-template name="vmf:vmf6_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var19_resultof_vmf__inputtoresult">\r
+ <xsl:attribute name="minOccurs" namespace="" select="xs:string(xs:integer(.))"/>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ </element>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var57_FACT">\r
+ <xsl:variable name="var24_nom" as="node()?" select="@ns0:nom"/>\r
+ <element>\r
+ <xsl:for-each select="$var24_nom">\r
+ <xsl:attribute name="name" namespace="" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var24_nom">\r
+ <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($NameSpaceName, ':T_'), fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:variable name="var22_resultof_vmf__inputtoresult" as="xs:string?">\r
+ <xsl:call-template name="vmf:vmf7_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var22_resultof_vmf__inputtoresult">\r
+ <xsl:attribute name="minOccurs" namespace="" select="xs:string(xs:integer(.))"/>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:variable name="var23_cur_as_integer" as="xs:integer" select="xs:integer(fn:string(.))"/>\r
+ <xsl:attribute name="maxOccurs" namespace="">\r
+ <xsl:choose>\r
+ <xsl:when test="($var23_cur_as_integer = xs:decimal('-1'))">\r
+ <xsl:sequence select="'unbounded'"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:sequence select="xs:string($var23_cur_as_integer)"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:attribute>\r
+ </xsl:for-each>\r
+ </element>\r
+ </xsl:for-each>\r
+ </sequence>\r
+ <xsl:variable name="var26_resultof_filter" as="node()*">\r
+ <xsl:for-each select="$var56_SIMP">\r
+ <xsl:variable name="var25_vmf__inputtoresult_of_attribut" as="xs:boolean?">\r
+ <xsl:for-each select="@attribut">\r
+ <xsl:call-template name="vmf:vmf5_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:if test="fn:exists(($var25_vmf__inputtoresult_of_attribut)[.])">\r
+ <xsl:sequence select="."/>\r
+ </xsl:if>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var26_resultof_filter">\r
+ <xsl:variable name="var31_cur" as="node()" select="."/>\r
+ <xsl:variable name="var30_nom" as="node()?" select="@ns0:nom"/>\r
+ <attribute>\r
+ <xsl:for-each select="$var30_nom">\r
+ <xsl:attribute name="name" namespace="" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var30_nom">\r
+ <xsl:variable name="var28_attribut" as="node()?" select="$var31_cur/@attribut"/>\r
+ <xsl:variable name="var27_resultof_vmf__inputtoresult" as="xs:string">\r
+ <xsl:call-template name="vmf:vmf3_inputtoresult">\r
+ <xsl:with-param name="input" as="xs:string">\r
+ <xsl:choose>\r
+ <xsl:when test="fn:exists($var28_attribut)">\r
+ <xsl:sequence select="fn:string($var28_attribut)"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:sequence select="'n'"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($NameSpaceName, ':'), fn:concat($var27_resultof_vmf__inputtoresult, fn:string(.))))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:variable name="var29_resultof_vmf__inputtoresult" as="xs:string?">\r
+ <xsl:call-template name="vmf:vmf8_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var29_resultof_vmf__inputtoresult">\r
+ <xsl:attribute name="use" namespace="" select="."/>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ </attribute>\r
+ </xsl:for-each>\r
+ </complexType>\r
+ <xsl:variable name="var34_resultof_filter" as="node()*">\r
+ <xsl:for-each select="$var56_SIMP">\r
+ <xsl:variable name="var33_resultof_filter" as="node()*">\r
+ <xsl:for-each select="ns0:typeAttendu">\r
+ <xsl:variable name="var32_resultof_vmf__inputtoresult" as="xs:boolean">\r
+ <xsl:call-template name="vmf:vmf2_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:if test="$var32_resultof_vmf__inputtoresult">\r
+ <xsl:sequence select="."/>\r
+ </xsl:if>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:if test="fn:not(fn:exists($var33_resultof_filter))">\r
+ <xsl:sequence select="."/>\r
+ </xsl:if>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var34_resultof_filter">\r
+ <xsl:variable name="var37_cur" as="node()" select="."/>\r
+ <complexType>\r
+ <xsl:for-each select="@ns0:nom">\r
+ <xsl:variable name="var36_attribut" as="node()?" select="$var37_cur/@attribut"/>\r
+ <xsl:variable name="var35_resultof_vmf__inputtoresult" as="xs:string">\r
+ <xsl:call-template name="vmf:vmf3_inputtoresult">\r
+ <xsl:with-param name="input" as="xs:string">\r
+ <xsl:choose>\r
+ <xsl:when test="fn:exists($var36_attribut)">\r
+ <xsl:sequence select="fn:string($var36_attribut)"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:sequence select="'n'"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:attribute name="name" namespace="" select="fn:concat($var35_resultof_vmf__inputtoresult, fn:string(.))"/>\r
+ </xsl:for-each>\r
+ </complexType>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var57_FACT">\r
+ <xsl:variable name="var44_cur" as="node()" select="."/>\r
+ <xsl:variable name="var43_resultof_Fact_mapping_v_" as="node()?">\r
+ <xsl:call-template name="user:Fact_mapping_v2">\r
+ <xsl:with-param name="NameSpaceName" select="$NameSpaceName" as="xs:string"/>\r
+ <xsl:with-param name="efficasANDschema" as="node()">\r
+ <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
+ <xsl:for-each-group select="." group-by="grp:Fact_mapping_v2_var39_cur_of_nom(.)">\r
+ <xsl:variable name="var42_nom" as="node()?" select="$var44_cur/@ns0:nom"/>\r
+ <xsl:variable name="var40_create_FACT" as="node()">\r
+ <FACT>\r
+ <xsl:for-each select="current-group()">\r
+ <FACT>\r
+ <xsl:for-each select="@ns0:nom">\r
+ <xsl:attribute name="ns0:nom" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:variable>\r
+ <xsl:variable name="var41_test_resultof_greater" as="xs:string?">\r
+ <xsl:choose>\r
+ <xsl:when test="(fn:count($var40_create_FACT/ns0:FACT) > xs:decimal('1'))">\r
+ <xsl:for-each select="$var42_nom">\r
+ <xsl:sequence select="fn:concat(fn:concat(fn:string(.), '++'), xs:string(xs:decimal('0')))"/>\r
+ </xsl:for-each>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:for-each select="$var42_nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var41_test_resultof_greater">\r
+ <xsl:attribute name="ns0:nom" select="."/>\r
+ </xsl:for-each>\r
+ </xsl:for-each-group>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:min_occurs">\r
+ <xsl:attribute name="ns0:min_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:regles">\r
+ <regles>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </regles>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:doc">\r
+ <doc>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </doc>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:BLOC">\r
+ <BLOC>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </BLOC>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:FACT">\r
+ <FACT>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </FACT>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:SIMP">\r
+ <SIMP>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </SIMP>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var43_resultof_Fact_mapping_v_/xs:complexType">\r
+ <complexType>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </complexType>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ </schema>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf1_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='f'">\r
+ <xsl:copy-of select="'0'"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='o'">\r
+ <xsl:copy-of select="'1'"/>\r
+ </xsl:when>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf2_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='Fichier'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='Repertoire'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='TXM'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='I'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='R'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='C'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='Bool'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='gma'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='gmo'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='SalomeEntry'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:copy-of select="false()"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf3_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='o'">\r
+ <xsl:copy-of select="'AT_'"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='n'">\r
+ <xsl:copy-of select="'T_'"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:copy-of select="'T_'"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf4_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='TXM'">\r
+ <xsl:copy-of select="fn:QName('', 'string')"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='I'">\r
+ <xsl:copy-of select="fn:QName('', 'int')"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='R'">\r
+ <xsl:copy-of select="fn:QName('', 'double')"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='Bool'">\r
+ <xsl:copy-of select="fn:QName('', 'boolean')"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='gma'">\r
+ <xsl:copy-of select="fn:QName('', 'string')"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='gmo'">\r
+ <xsl:copy-of select="fn:QName('', 'string')"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:copy-of select="fn:QName('', 'false')"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf5_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='o'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='n'">\r
+ <xsl:copy-of select="false()"/>\r
+ </xsl:when>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf6_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='f'">\r
+ <xsl:copy-of select="'0'"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='o'">\r
+ <xsl:copy-of select="'1'"/>\r
+ </xsl:when>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf7_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='f'">\r
+ <xsl:copy-of select="'0'"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='o'">\r
+ <xsl:copy-of select="'1'"/>\r
+ </xsl:when>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf8_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='f'">\r
+ <xsl:copy-of select="'optional'"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='o'">\r
+ <xsl:copy-of select="'required'"/>\r
+ </xsl:when>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:output method="xml" encoding="UTF-8" byte-order-mark="no" indent="yes"/>\r
+ <xsl:param name="UserNameSpace" as="xs:string" required="yes"/>\r
+ <xsl:param name="PrefixName" as="xs:string" required="yes"/>\r
+ <xsl:template match="/">\r
+ <xsl:variable name="var8_resultof_concat" as="xs:string" select="fn:concat($UserNameSpace, $PrefixName)"/>\r
+ <xsl:variable name="var7_cata" as="node()?" select="ns0:cata"/>\r
+ <schema xmlns="http://www.w3.org/2001/XMLSchema">\r
+ <xsl:namespace name="{$PrefixName}">\r
+ <xsl:sequence select="$var8_resultof_concat"/>\r
+ </xsl:namespace>\r
+ <xsl:attribute name="targetNamespace" namespace="" select="xs:string(xs:anyURI($var8_resultof_concat))"/>\r
+ <xsl:attribute name="attributeFormDefault" namespace="" select="'qualified'"/>\r
+ <xsl:attribute name="elementFormDefault" namespace="" select="'qualified'"/>\r
+ <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC/ns0:FACT">\r
+ <xsl:variable name="var1_resultof_Fact_mapping_v_" as="node()?">\r
+ <xsl:call-template name="user:Fact_mapping_v2">\r
+ <xsl:with-param name="NameSpaceName" select="$PrefixName" as="xs:string"/>\r
+ <xsl:with-param name="efficasANDschema" as="node()">\r
+ <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
+ <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:FACT">\r
+ <FACT>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </FACT>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:SIMP">\r
+ <SIMP>\r
+ <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@attribut">\r
+ <xsl:attribute name="attribut" namespace="" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:typeAttendu">\r
+ <typeAttendu>\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </typeAttendu>\r
+ </xsl:for-each>\r
+ </SIMP>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var1_resultof_Fact_mapping_v_/xs:simpleType">\r
+ <simpleType>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </simpleType>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC">\r
+ <complexType>\r
+ <xsl:attribute name="name" namespace="" select="fn:concat('T_', fn:string(@ns0:nom))"/>\r
+ <sequence>\r
+ <xsl:for-each select="ns0:FACT">\r
+ <xsl:variable name="var4_nom_as_string" as="xs:string" select="fn:string(@ns0:nom)"/>\r
+ <element>\r
+ <xsl:attribute name="name" namespace="" select="$var4_nom_as_string"/>\r
+ <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($PrefixName, ':T_'), $var4_nom_as_string))"/>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:variable name="var2_resultof_vmf__inputtoresult" as="xs:string?">\r
+ <xsl:call-template name="vmf:vmf1_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var2_resultof_vmf__inputtoresult">\r
+ <xsl:attribute name="minOccurs" namespace="" select="xs:string(xs:integer(.))"/>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:variable name="var3_cur_as_integer" as="xs:integer" select="xs:integer(fn:string(.))"/>\r
+ <xsl:attribute name="maxOccurs" namespace="">\r
+ <xsl:choose>\r
+ <xsl:when test="($var3_cur_as_integer = xs:decimal('-1'))">\r
+ <xsl:sequence select="'unbounded'"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:sequence select="xs:string($var3_cur_as_integer)"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:attribute>\r
+ </xsl:for-each>\r
+ </element>\r
+ </xsl:for-each>\r
+ </sequence>\r
+ </complexType>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC/ns0:FACT">\r
+ <xsl:variable name="var5_resultof_Fact_mapping_v_" as="node()?">\r
+ <xsl:call-template name="user:Fact_mapping_v2">\r
+ <xsl:with-param name="NameSpaceName" select="$PrefixName" as="xs:string"/>\r
+ <xsl:with-param name="efficasANDschema" as="node()">\r
+ <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
+ <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:FACT">\r
+ <FACT>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </FACT>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:SIMP">\r
+ <SIMP>\r
+ <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@attribut">\r
+ <xsl:attribute name="attribut" namespace="" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:typeAttendu">\r
+ <typeAttendu>\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </typeAttendu>\r
+ </xsl:for-each>\r
+ </SIMP>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var5_resultof_Fact_mapping_v_/xs:complexType">\r
+ <complexType>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </complexType>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC">\r
+ <xsl:variable name="var6_nom_as_string" as="xs:string" select="fn:string(@ns0:nom)"/>\r
+ <element>\r
+ <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($PrefixName, ':T_'), $var6_nom_as_string))"/>\r
+ <xsl:attribute name="name" namespace="" select="$var6_nom_as_string"/>\r
+ </element>\r
+ </xsl:for-each>\r
+ </schema>\r
+ </xsl:template>\r
+</xsl:stylesheet>\r
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:med="http://chercheurs.edf.com/logiciels/med"
+ targetNamespace="http://chercheurs.edf.com/logiciels/med"
+ attributeFormDefault="qualified"
+ elementFormDefault="qualified">
+ <simpleType name="AT_NAME">
+ <restriction base="string"/>
+ </simpleType>
+ <simpleType name="T_NAMEbis">
+ <restriction base="string"/>
+ </simpleType>
+ <simpleType name="T_NUM">
+ <restriction base="string"/>
+ </simpleType>
+ <simpleType name="T_NAME">
+ <restriction base="string"/>
+ </simpleType>
+ <simpleType name="AT_NBR">
+ <restriction base="int"/>
+ </simpleType>
+ <simpleType name="T_DES">
+ <list itemType="string"/>
+ </simpleType>
+ <simpleType name="T_IDE">
+ <list itemType="int"/>
+ </simpleType>
+ <simpleType name="T_VAL">
+ <list itemType="int"/>
+ </simpleType>
+ <simpleType name="T_NBR">
+ <restriction base="int"/>
+ </simpleType>
+ <simpleType name="T_NOM">
+ <list itemType="string"/>
+ </simpleType>
+ <simpleType name="T_TEST2">
+ <restriction base="string"/>
+ </simpleType>
+ <complexType name="T_FAS">
+ <sequence>
+ <element name="FAMILY_MESH_NAME_REF" type="med:T_FAMILY_MESH_NAME_REF" minOccurs="1"
+ maxOccurs="unbounded"/>
+ <element name="ELEM2" type="med:T_ELEM2"/>
+ </sequence>
+ </complexType>
+ <complexType name="T_FAMILY_MESH_NAME_REF">
+ <sequence>
+ <element name="NAMEbis" type="med:T_NAMEbis" minOccurs="1"/>
+ <element name="ELEM" type="med:T_ELEM" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="NAME" type="med:AT_NAME" use="required"/>
+ </complexType>
+ <complexType name="T_ELEM">
+ <sequence>
+ <element name="NUM" type="med:T_NUM" minOccurs="1"/>
+ <element name="NAME" type="med:T_NAME" minOccurs="1"/>
+ <element name="ATT" type="med:T_ATT" minOccurs="0" maxOccurs="1"/>
+ <element name="GRO" type="med:T_GRO" minOccurs="0" maxOccurs="1"/>
+ </sequence>
+ </complexType>
+ <complexType name="T_ATT">
+ <sequence>
+ <element name="DES" type="med:T_DES" minOccurs="1"/>
+ <element name="IDE" type="med:T_IDE" minOccurs="1"/>
+ <element name="VAL" type="med:T_VAL" minOccurs="1"/>
+ </sequence>
+ <attribute name="NBR" type="med:AT_NBR" use="required"/>
+ </complexType>
+ <complexType name="T_GRO">
+ <sequence>
+ <element name="NBR" type="med:T_NBR" minOccurs="1"/>
+ <element name="NOM" type="med:T_NOM" minOccurs="1"/>
+ </sequence>
+ </complexType>
+ <complexType name="T_ELEM2">
+ <sequence>
+ <element name="TEST2" type="med:T_TEST2"/>
+ </sequence>
+ </complexType>
+ <element type="med:T_FAS" name="FAS"/>
+</schema>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:med="http://chercheurs.edf.com/logiciels/med"
+ targetNamespace="http://chercheurs.edf.com/logiciels/med"
+ attributeFormDefault="qualified"
+ elementFormDefault="qualified">
+ <simpleType name="AT_NAME">
+ <restriction base="string"/>
+ </simpleType>
+ <simpleType name="AT_NUM">
+ <restriction base="int"/>
+ </simpleType>
+ <simpleType name="AT_NAME">
+ <restriction base="string"/>
+ </simpleType>
+ <simpleType name="AT_NBR">
+ <restriction base="int"/>
+ </simpleType>
+ <simpleType name="T_DES">
+ <list itemType="string"/>
+ </simpleType>
+ <simpleType name="T_IDE">
+ <list itemType="int"/>
+ </simpleType>
+ <simpleType name="T_VAL">
+ <list itemType="int"/>
+ </simpleType>
+ <simpleType name="AT_NBR">
+ <restriction base="int"/>
+ </simpleType>
+ <simpleType name="T_NOM">
+ <list itemType="string"/>
+ </simpleType>
+ <simpleType name="AT_NUM">
+ <restriction base="int"/>
+ </simpleType>
+ <simpleType name="AT_NBR">
+ <restriction base="int"/>
+ </simpleType>
+ <simpleType name="T_DES">
+ <list itemType="string"/>
+ </simpleType>
+ <simpleType name="T_IDE">
+ <list itemType="int"/>
+ </simpleType>
+ <simpleType name="T_VAL">
+ <list itemType="int"/>
+ </simpleType>
+ <simpleType name="AT_NUM">
+ <restriction base="int"/>
+ </simpleType>
+ <simpleType name="AT_NAME">
+ <restriction base="string"/>
+ </simpleType>
+ <simpleType name="AT_NBR">
+ <restriction base="int"/>
+ </simpleType>
+ <simpleType name="T_DES">
+ <list itemType="string"/>
+ </simpleType>
+ <simpleType name="T_IDE">
+ <list itemType="int"/>
+ </simpleType>
+ <simpleType name="T_VAL">
+ <list itemType="int"/>
+ </simpleType>
+ <simpleType name="AT_NBR">
+ <restriction base="int"/>
+ </simpleType>
+ <simpleType name="T_NOM">
+ <list itemType="string"/>
+ </simpleType>
+ <complexType name="T_FAS">
+ <sequence>
+ <element name="FAMILY_MESH_NAME_REF" type="med:T_FAMILY_MESH_NAME_REF" minOccurs="1"
+ maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <complexType name="T_FAMILY_MESH_NAME_REF">
+ <sequence>
+ <element name="ELEME" type="med:T_ELEME" minOccurs="0" maxOccurs="1"/>
+ <element name="FAMILLE_ZERO" type="med:T_FAMILLE_ZERO" minOccurs="1" maxOccurs="1"/>
+ <element name="NOEUD" type="med:T_NOEUD" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="NAME" type="med:AT_NAME" use="required"/>
+ </complexType>
+ <complexType name="T_ELEME">
+ <sequence>
+ <element name="FAMILY_NAME_ELEM" type="med:T_FAMILY_NAME_ELEM" minOccurs="0"
+ maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <complexType name="T_FAMILY_NAME_ELEM">
+ <sequence>
+ <element name="ATT" type="med:T_ATT" minOccurs="0" maxOccurs="1"/>
+ <element name="GRO" type="med:T_GRO" minOccurs="0" maxOccurs="1"/>
+ </sequence>
+ <attribute name="NUM" type="med:AT_NUM" use="required"/>
+ <attribute name="NAME" type="med:AT_NAME" use="required"/>
+ </complexType>
+ <complexType name="T_ATT">
+ <sequence>
+ <element name="DES" type="med:T_DES" minOccurs="1"/>
+ <element name="IDE" type="med:T_IDE" minOccurs="1"/>
+ <element name="VAL" type="med:T_VAL" minOccurs="1"/>
+ </sequence>
+ <attribute name="NBR" type="med:AT_NBR" use="required"/>
+ </complexType>
+ <complexType name="T_GRO">
+ <sequence>
+ <element name="NOM" type="med:T_NOM" minOccurs="1"/>
+ </sequence>
+ <attribute name="NBR" type="med:AT_NBR" use="required"/>
+ </complexType>
+ <complexType name="T_FAMILLE_ZERO">
+ <sequence>
+ <element name="ATT" type="med:T_ATT" minOccurs="0" maxOccurs="1"/>
+ </sequence>
+ <attribute name="NUM" type="med:AT_NUM" use="required"/>
+ </complexType>
+ <complexType name="T_ATT">
+ <sequence>
+ <element name="DES" type="med:T_DES" minOccurs="1"/>
+ <element name="IDE" type="med:T_IDE" minOccurs="1"/>
+ <element name="VAL" type="med:T_VAL" minOccurs="1"/>
+ </sequence>
+ <attribute name="NBR" type="med:AT_NBR" use="required"/>
+ </complexType>
+ <complexType name="T_NOEUD">
+ <sequence>
+ <element name="FAMILY_NAME_NOE" type="med:T_FAMILY_NAME_NOE" minOccurs="0"
+ maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <complexType name="T_FAMILY_NAME_NOE">
+ <sequence>
+ <element name="ATT" type="med:T_ATT" minOccurs="0" maxOccurs="1"/>
+ <element name="GRO" type="med:T_GRO" minOccurs="0" maxOccurs="1"/>
+ </sequence>
+ <attribute name="NUM" type="med:AT_NUM" use="required"/>
+ <attribute name="NAME" type="med:AT_NAME" use="required"/>
+ </complexType>
+ <complexType name="T_ATT">
+ <sequence>
+ <element name="DES" type="med:T_DES" minOccurs="1"/>
+ <element name="IDE" type="med:T_IDE" minOccurs="1"/>
+ <element name="VAL" type="med:T_VAL" minOccurs="1"/>
+ </sequence>
+ <attribute name="NBR" type="med:AT_NBR" use="required"/>
+ </complexType>
+ <complexType name="T_GRO">
+ <sequence>
+ <element name="NOM" type="med:T_NOM" minOccurs="1"/>
+ </sequence>
+ <attribute name="NBR" type="med:AT_NBR" use="required"/>
+ </complexType>
+ <element type="med:T_FAS" name="FAS"/>
+</schema>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+This file was generated by Altova MapForce 2018sp1\r
+\r
+YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE\r
+OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.\r
+\r
+Refer to the Altova MapForce Documentation for further details.\r
+http://www.altova.com/mapforce\r
+-->\r
+<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://chercheurs.edf.com/logiciels/efficas" xmlns:user="http://www.altova.com/MapForce/UDF/user" xmlns:vmf="http://www.altova.com/MapForce/UDF/vmf" xmlns:grp="http://www.altova.com/Mapforce/grouping" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" exclude-result-prefixes="ns0 user vmf grp xs fn">\r
+ <xsl:param name="Model_Efficas__1_1____XMLSchema__1_1__v7" select="'Model Efficas (1.1) + XMLSchema (1.1) v7.xml'"/>\r
+ <xsl:function name="grp:Fact_mapping_v2_var9_cur_of_nom">\r
+ <xsl:param name="var8_cur" as="node()"/>\r
+ <xsl:for-each select="$var8_cur/@ns0:nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:function>\r
+ <xsl:function name="grp:Fact_mapping_v2_var39_cur_of_nom">\r
+ <xsl:param name="var38_cur" as="node()"/>\r
+ <xsl:for-each select="$var38_cur/@ns0:nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:function>\r
+ <xsl:function name="grp:Fact_mapping_v2_var46_cur_of_nom">\r
+ <xsl:param name="var45_cur" as="node()"/>\r
+ <xsl:for-each select="$var45_cur/@ns0:nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:function>\r
+ <xsl:function name="grp:Fact_mapping_v2_var48_cur_of_nom">\r
+ <xsl:param name="var47_cur" as="node()"/>\r
+ <xsl:for-each select="$var47_cur/@ns0:nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:function>\r
+ <xsl:function name="grp:Fact_mapping_v2_var50_cur_of_nom">\r
+ <xsl:param name="var49_cur" as="node()"/>\r
+ <xsl:for-each select="$var49_cur/@ns0:nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:function>\r
+ <xsl:template name="user:Fact_mapping_v2">\r
+ <xsl:param name="NameSpaceName" select="()"/>\r
+ <xsl:param name="efficasANDschema" select="()"/>\r
+ <xsl:variable name="var55_nom" as="node()?" select="$efficasANDschema/@ns0:nom"/>\r
+ <xsl:variable name="var56_SIMP" as="node()*" select="$efficasANDschema/ns0:SIMP"/>\r
+ <xsl:variable name="var57_FACT" as="node()*" select="$efficasANDschema/ns0:FACT"/>\r
+ <xsl:variable name="var54_test_resultof_logical_and" as="xs:string*">\r
+ <xsl:choose>\r
+ <xsl:when test="(fn:exists($var57_FACT) and xs:boolean(xs:decimal('0')))">\r
+ <xsl:for-each select="$var55_nom">\r
+ <xsl:variable name="var53_cur" as="node()" select="."/>\r
+ <xsl:for-each-group select="$var57_FACT" group-by="grp:Fact_mapping_v2_var46_cur_of_nom(.)">\r
+ <xsl:variable name="var52_create_FACT" as="node()">\r
+ <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
+ <xsl:for-each select="current-group()">\r
+ <FACT>\r
+ <xsl:for-each select="@ns0:nom">\r
+ <xsl:attribute name="ns0:nom" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:variable>\r
+ <xsl:for-each-group select="$var57_FACT" group-by="grp:Fact_mapping_v2_var48_cur_of_nom(.)">\r
+ <xsl:variable name="var51_map_of_group_by" as="xs:string*">\r
+ <xsl:for-each-group select="$var57_FACT" group-by="grp:Fact_mapping_v2_var50_cur_of_nom(.)">\r
+ <xsl:for-each select="current-group()/@ns0:nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:for-each-group>\r
+ </xsl:variable>\r
+ <xsl:sequence select="fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat('T_', fn:string($var53_cur)), xs:string(fn:count($var52_create_FACT/ns0:FACT))), '.'), fn:string-join($var51_map_of_group_by, '.')), '.'), 'KEY:'), current-grouping-key()), '.GID:'), xs:string(xs:decimal('0')))"/>\r
+ </xsl:for-each-group>\r
+ </xsl:for-each-group>\r
+ </xsl:for-each>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:for-each select="$var55_nom">\r
+ <xsl:sequence select="fn:concat('T_', fn:string(.))"/>\r
+ </xsl:for-each>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:variable>\r
+ <schema xmlns="http://www.w3.org/2001/XMLSchema">\r
+ <xsl:variable name="var3_resultof_filter" as="node()*">\r
+ <xsl:for-each select="$var56_SIMP">\r
+ <xsl:variable name="var2_resultof_filter" as="node()*">\r
+ <xsl:for-each select="ns0:typeAttendu">\r
+ <xsl:variable name="var1_resultof_vmf__inputtoresult" as="xs:boolean">\r
+ <xsl:call-template name="vmf:vmf2_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:if test="$var1_resultof_vmf__inputtoresult">\r
+ <xsl:sequence select="."/>\r
+ </xsl:if>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:if test="fn:exists($var2_resultof_filter)">\r
+ <xsl:sequence select="."/>\r
+ </xsl:if>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var3_resultof_filter">\r
+ <xsl:variable name="var7_cur" as="node()" select="."/>\r
+ <xsl:variable name="var6_resultof_any" as="xs:boolean" select="fn:exists((./@ns0:max_occurs)[(xs:integer(fn:string(.)) != xs:decimal('1'))])"/>\r
+ <simpleType>\r
+ <xsl:for-each select="@ns0:nom">\r
+ <xsl:variable name="var5_attribut" as="node()?" select="$var7_cur/@attribut"/>\r
+ <xsl:variable name="var4_resultof_vmf__inputtoresult" as="xs:string">\r
+ <xsl:call-template name="vmf:vmf3_inputtoresult">\r
+ <xsl:with-param name="input" as="xs:string">\r
+ <xsl:choose>\r
+ <xsl:when test="fn:exists($var5_attribut)">\r
+ <xsl:sequence select="fn:string($var5_attribut)"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:sequence select="'n'"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:attribute name="name" namespace="" select="fn:concat($var4_resultof_vmf__inputtoresult, fn:string(.))"/>\r
+ </xsl:for-each>\r
+ <xsl:if test="fn:not($var6_resultof_any)">\r
+ <restriction>\r
+ <xsl:for-each select="ns0:typeAttendu">\r
+ <xsl:attribute name="base" namespace="">\r
+ <xsl:call-template name="vmf:vmf4_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:attribute>\r
+ </xsl:for-each>\r
+ </restriction>\r
+ </xsl:if>\r
+ <xsl:if test="$var6_resultof_any">\r
+ <list>\r
+ <xsl:for-each select="ns0:typeAttendu">\r
+ <xsl:attribute name="itemType" namespace="">\r
+ <xsl:call-template name="vmf:vmf4_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:attribute>\r
+ </xsl:for-each>\r
+ </list>\r
+ </xsl:if>\r
+ </simpleType>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var57_FACT">\r
+ <xsl:variable name="var14_cur" as="node()" select="."/>\r
+ <xsl:variable name="var13_resultof_Fact_mapping_v_" as="node()?">\r
+ <xsl:call-template name="user:Fact_mapping_v2">\r
+ <xsl:with-param name="NameSpaceName" select="$NameSpaceName" as="xs:string"/>\r
+ <xsl:with-param name="efficasANDschema" as="node()">\r
+ <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
+ <xsl:for-each-group select="." group-by="grp:Fact_mapping_v2_var9_cur_of_nom(.)">\r
+ <xsl:variable name="var12_nom" as="node()?" select="$var14_cur/@ns0:nom"/>\r
+ <xsl:variable name="var10_create_FACT" as="node()">\r
+ <FACT>\r
+ <xsl:for-each select="current-group()">\r
+ <FACT>\r
+ <xsl:for-each select="@ns0:nom">\r
+ <xsl:attribute name="ns0:nom" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:variable>\r
+ <xsl:variable name="var11_test_resultof_greater" as="xs:string?">\r
+ <xsl:choose>\r
+ <xsl:when test="(fn:count($var10_create_FACT/ns0:FACT) > xs:decimal('1'))">\r
+ <xsl:for-each select="$var12_nom">\r
+ <xsl:sequence select="fn:concat(fn:concat(fn:string(.), '++'), xs:string(xs:decimal('0')))"/>\r
+ </xsl:for-each>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:for-each select="$var12_nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var11_test_resultof_greater">\r
+ <xsl:attribute name="ns0:nom" select="."/>\r
+ </xsl:for-each>\r
+ </xsl:for-each-group>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:min_occurs">\r
+ <xsl:attribute name="ns0:min_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:regles">\r
+ <regles>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </regles>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:doc">\r
+ <doc>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </doc>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:BLOC">\r
+ <BLOC>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </BLOC>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:FACT">\r
+ <FACT>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </FACT>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:SIMP">\r
+ <SIMP>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </SIMP>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var13_resultof_Fact_mapping_v_/xs:simpleType">\r
+ <simpleType>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </simpleType>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ <complexType>\r
+ <xsl:if test="fn:exists($var54_test_resultof_logical_and)">\r
+ <xsl:attribute name="name" namespace="" select="xs:string(fn:string-join(for $x in $var54_test_resultof_logical_and return xs:string($x), ' '))"/>\r
+ </xsl:if>\r
+ <sequence>\r
+ <xsl:variable name="var16_resultof_filter" as="node()*">\r
+ <xsl:for-each select="$var56_SIMP">\r
+ <xsl:variable name="var15_vmf__inputtoresult_of_attribut" as="xs:boolean?">\r
+ <xsl:for-each select="@attribut">\r
+ <xsl:call-template name="vmf:vmf5_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:if test="fn:not(fn:exists(($var15_vmf__inputtoresult_of_attribut)[.]))">\r
+ <xsl:sequence select="."/>\r
+ </xsl:if>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var16_resultof_filter">\r
+ <xsl:variable name="var21_cur" as="node()" select="."/>\r
+ <xsl:variable name="var20_nom" as="node()?" select="@ns0:nom"/>\r
+ <element>\r
+ <xsl:for-each select="$var20_nom">\r
+ <xsl:attribute name="name" namespace="" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var20_nom">\r
+ <xsl:variable name="var18_attribut" as="node()?" select="$var21_cur/@attribut"/>\r
+ <xsl:variable name="var17_resultof_vmf__inputtoresult" as="xs:string">\r
+ <xsl:call-template name="vmf:vmf3_inputtoresult">\r
+ <xsl:with-param name="input" as="xs:string">\r
+ <xsl:choose>\r
+ <xsl:when test="fn:exists($var18_attribut)">\r
+ <xsl:sequence select="fn:string($var18_attribut)"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:sequence select="'n'"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($NameSpaceName, ':'), fn:concat($var17_resultof_vmf__inputtoresult, fn:string(.))))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:variable name="var19_resultof_vmf__inputtoresult" as="xs:string?">\r
+ <xsl:call-template name="vmf:vmf6_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var19_resultof_vmf__inputtoresult">\r
+ <xsl:attribute name="minOccurs" namespace="" select="xs:string(xs:integer(.))"/>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ </element>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var57_FACT">\r
+ <xsl:variable name="var24_nom" as="node()?" select="@ns0:nom"/>\r
+ <element>\r
+ <xsl:for-each select="$var24_nom">\r
+ <xsl:attribute name="name" namespace="" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var24_nom">\r
+ <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($NameSpaceName, ':T_'), fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:variable name="var22_resultof_vmf__inputtoresult" as="xs:string?">\r
+ <xsl:call-template name="vmf:vmf7_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var22_resultof_vmf__inputtoresult">\r
+ <xsl:attribute name="minOccurs" namespace="" select="xs:string(xs:integer(.))"/>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:variable name="var23_cur_as_integer" as="xs:integer" select="xs:integer(fn:string(.))"/>\r
+ <xsl:attribute name="maxOccurs" namespace="">\r
+ <xsl:choose>\r
+ <xsl:when test="($var23_cur_as_integer = xs:decimal('-1'))">\r
+ <xsl:sequence select="'unbounded'"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:sequence select="xs:string($var23_cur_as_integer)"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:attribute>\r
+ </xsl:for-each>\r
+ </element>\r
+ </xsl:for-each>\r
+ </sequence>\r
+ <xsl:variable name="var26_resultof_filter" as="node()*">\r
+ <xsl:for-each select="$var56_SIMP">\r
+ <xsl:variable name="var25_vmf__inputtoresult_of_attribut" as="xs:boolean?">\r
+ <xsl:for-each select="@attribut">\r
+ <xsl:call-template name="vmf:vmf5_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:if test="fn:exists(($var25_vmf__inputtoresult_of_attribut)[.])">\r
+ <xsl:sequence select="."/>\r
+ </xsl:if>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var26_resultof_filter">\r
+ <xsl:variable name="var31_cur" as="node()" select="."/>\r
+ <xsl:variable name="var30_nom" as="node()?" select="@ns0:nom"/>\r
+ <attribute>\r
+ <xsl:for-each select="$var30_nom">\r
+ <xsl:attribute name="name" namespace="" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var30_nom">\r
+ <xsl:variable name="var28_attribut" as="node()?" select="$var31_cur/@attribut"/>\r
+ <xsl:variable name="var27_resultof_vmf__inputtoresult" as="xs:string">\r
+ <xsl:call-template name="vmf:vmf3_inputtoresult">\r
+ <xsl:with-param name="input" as="xs:string">\r
+ <xsl:choose>\r
+ <xsl:when test="fn:exists($var28_attribut)">\r
+ <xsl:sequence select="fn:string($var28_attribut)"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:sequence select="'n'"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($NameSpaceName, ':'), fn:concat($var27_resultof_vmf__inputtoresult, fn:string(.))))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:variable name="var29_resultof_vmf__inputtoresult" as="xs:string?">\r
+ <xsl:call-template name="vmf:vmf8_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var29_resultof_vmf__inputtoresult">\r
+ <xsl:attribute name="use" namespace="" select="."/>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ </attribute>\r
+ </xsl:for-each>\r
+ </complexType>\r
+ <xsl:variable name="var34_resultof_filter" as="node()*">\r
+ <xsl:for-each select="$var56_SIMP">\r
+ <xsl:variable name="var33_resultof_filter" as="node()*">\r
+ <xsl:for-each select="ns0:typeAttendu">\r
+ <xsl:variable name="var32_resultof_vmf__inputtoresult" as="xs:boolean">\r
+ <xsl:call-template name="vmf:vmf2_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:if test="$var32_resultof_vmf__inputtoresult">\r
+ <xsl:sequence select="."/>\r
+ </xsl:if>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:if test="fn:not(fn:exists($var33_resultof_filter))">\r
+ <xsl:sequence select="."/>\r
+ </xsl:if>\r
+ </xsl:for-each>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var34_resultof_filter">\r
+ <xsl:variable name="var37_cur" as="node()" select="."/>\r
+ <complexType>\r
+ <xsl:for-each select="@ns0:nom">\r
+ <xsl:variable name="var36_attribut" as="node()?" select="$var37_cur/@attribut"/>\r
+ <xsl:variable name="var35_resultof_vmf__inputtoresult" as="xs:string">\r
+ <xsl:call-template name="vmf:vmf3_inputtoresult">\r
+ <xsl:with-param name="input" as="xs:string">\r
+ <xsl:choose>\r
+ <xsl:when test="fn:exists($var36_attribut)">\r
+ <xsl:sequence select="fn:string($var36_attribut)"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:sequence select="'n'"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:attribute name="name" namespace="" select="fn:concat($var35_resultof_vmf__inputtoresult, fn:string(.))"/>\r
+ </xsl:for-each>\r
+ </complexType>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var57_FACT">\r
+ <xsl:variable name="var44_cur" as="node()" select="."/>\r
+ <xsl:variable name="var43_resultof_Fact_mapping_v_" as="node()?">\r
+ <xsl:call-template name="user:Fact_mapping_v2">\r
+ <xsl:with-param name="NameSpaceName" select="$NameSpaceName" as="xs:string"/>\r
+ <xsl:with-param name="efficasANDschema" as="node()">\r
+ <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
+ <xsl:for-each-group select="." group-by="grp:Fact_mapping_v2_var39_cur_of_nom(.)">\r
+ <xsl:variable name="var42_nom" as="node()?" select="$var44_cur/@ns0:nom"/>\r
+ <xsl:variable name="var40_create_FACT" as="node()">\r
+ <FACT>\r
+ <xsl:for-each select="current-group()">\r
+ <FACT>\r
+ <xsl:for-each select="@ns0:nom">\r
+ <xsl:attribute name="ns0:nom" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:variable>\r
+ <xsl:variable name="var41_test_resultof_greater" as="xs:string?">\r
+ <xsl:choose>\r
+ <xsl:when test="(fn:count($var40_create_FACT/ns0:FACT) > xs:decimal('1'))">\r
+ <xsl:for-each select="$var42_nom">\r
+ <xsl:sequence select="fn:concat(fn:concat(fn:string(.), '++'), xs:string(xs:decimal('0')))"/>\r
+ </xsl:for-each>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:for-each select="$var42_nom">\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var41_test_resultof_greater">\r
+ <xsl:attribute name="ns0:nom" select="."/>\r
+ </xsl:for-each>\r
+ </xsl:for-each-group>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:min_occurs">\r
+ <xsl:attribute name="ns0:min_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:regles">\r
+ <regles>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </regles>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:doc">\r
+ <doc>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </doc>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:BLOC">\r
+ <BLOC>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </BLOC>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:FACT">\r
+ <FACT>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </FACT>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:SIMP">\r
+ <SIMP>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </SIMP>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var43_resultof_Fact_mapping_v_/xs:complexType">\r
+ <complexType>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </complexType>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ </schema>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf1_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='f'">\r
+ <xsl:copy-of select="'0'"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='o'">\r
+ <xsl:copy-of select="'1'"/>\r
+ </xsl:when>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf2_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='Fichier'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='Repertoire'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='TXM'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='I'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='R'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='C'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='Bool'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='gma'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='gmo'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='SalomeEntry'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:copy-of select="false()"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf3_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='o'">\r
+ <xsl:copy-of select="'AT_'"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='n'">\r
+ <xsl:copy-of select="'T_'"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:copy-of select="'T_'"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf4_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='TXM'">\r
+ <xsl:copy-of select="fn:QName('', 'string')"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='I'">\r
+ <xsl:copy-of select="fn:QName('', 'int')"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='R'">\r
+ <xsl:copy-of select="fn:QName('', 'double')"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='Bool'">\r
+ <xsl:copy-of select="fn:QName('', 'boolean')"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='gma'">\r
+ <xsl:copy-of select="fn:QName('', 'string')"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='gmo'">\r
+ <xsl:copy-of select="fn:QName('', 'string')"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:copy-of select="fn:QName('', 'false')"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf5_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='o'">\r
+ <xsl:copy-of select="true()"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='n'">\r
+ <xsl:copy-of select="false()"/>\r
+ </xsl:when>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf6_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='f'">\r
+ <xsl:copy-of select="'0'"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='o'">\r
+ <xsl:copy-of select="'1'"/>\r
+ </xsl:when>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf7_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='f'">\r
+ <xsl:copy-of select="'0'"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='o'">\r
+ <xsl:copy-of select="'1'"/>\r
+ </xsl:when>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:template name="vmf:vmf8_inputtoresult">\r
+ <xsl:param name="input" select="()"/>\r
+ <xsl:choose>\r
+ <xsl:when test="$input='f'">\r
+ <xsl:copy-of select="'optional'"/>\r
+ </xsl:when>\r
+ <xsl:when test="$input='o'">\r
+ <xsl:copy-of select="'required'"/>\r
+ </xsl:when>\r
+ </xsl:choose>\r
+ </xsl:template>\r
+ <xsl:output method="xml" encoding="UTF-8" byte-order-mark="no" indent="yes"/>\r
+ <xsl:param name="UserNameSpace" as="xs:string" required="yes"/>\r
+ <xsl:param name="PrefixName" as="xs:string" required="yes"/>\r
+ <xsl:template match="/">\r
+ <xsl:variable name="var8_resultof_concat" as="xs:string" select="fn:concat($UserNameSpace, $PrefixName)"/>\r
+ <xsl:variable name="var7_cata" as="node()?" select="ns0:cata"/>\r
+ <schema xmlns="http://www.w3.org/2001/XMLSchema">\r
+ <xsl:namespace name="{$PrefixName}">\r
+ <xsl:sequence select="$var8_resultof_concat"/>\r
+ </xsl:namespace>\r
+ <xsl:attribute name="targetNamespace" namespace="" select="xs:string(xs:anyURI($var8_resultof_concat))"/>\r
+ <xsl:attribute name="attributeFormDefault" namespace="" select="'qualified'"/>\r
+ <xsl:attribute name="elementFormDefault" namespace="" select="'qualified'"/>\r
+ <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC/ns0:FACT">\r
+ <xsl:variable name="var1_resultof_Fact_mapping_v_" as="node()?">\r
+ <xsl:call-template name="user:Fact_mapping_v2">\r
+ <xsl:with-param name="NameSpaceName" select="$PrefixName" as="xs:string"/>\r
+ <xsl:with-param name="efficasANDschema" as="node()">\r
+ <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
+ <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:FACT">\r
+ <FACT>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </FACT>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:SIMP">\r
+ <SIMP>\r
+ <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@attribut">\r
+ <xsl:attribute name="attribut" namespace="" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:typeAttendu">\r
+ <typeAttendu>\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </typeAttendu>\r
+ </xsl:for-each>\r
+ </SIMP>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var1_resultof_Fact_mapping_v_/xs:simpleType">\r
+ <simpleType>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </simpleType>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC">\r
+ <complexType>\r
+ <xsl:attribute name="name" namespace="" select="fn:concat('T_', fn:string(@ns0:nom))"/>\r
+ <sequence>\r
+ <xsl:for-each select="ns0:FACT">\r
+ <xsl:variable name="var4_nom_as_string" as="xs:string" select="fn:string(@ns0:nom)"/>\r
+ <element>\r
+ <xsl:attribute name="name" namespace="" select="$var4_nom_as_string"/>\r
+ <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($PrefixName, ':T_'), $var4_nom_as_string))"/>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:variable name="var2_resultof_vmf__inputtoresult" as="xs:string?">\r
+ <xsl:call-template name="vmf:vmf1_inputtoresult">\r
+ <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var2_resultof_vmf__inputtoresult">\r
+ <xsl:attribute name="minOccurs" namespace="" select="xs:string(xs:integer(.))"/>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:variable name="var3_cur_as_integer" as="xs:integer" select="xs:integer(fn:string(.))"/>\r
+ <xsl:attribute name="maxOccurs" namespace="">\r
+ <xsl:choose>\r
+ <xsl:when test="($var3_cur_as_integer = xs:decimal('-1'))">\r
+ <xsl:sequence select="'unbounded'"/>\r
+ </xsl:when>\r
+ <xsl:otherwise>\r
+ <xsl:sequence select="xs:string($var3_cur_as_integer)"/>\r
+ </xsl:otherwise>\r
+ </xsl:choose>\r
+ </xsl:attribute>\r
+ </xsl:for-each>\r
+ </element>\r
+ </xsl:for-each>\r
+ </sequence>\r
+ </complexType>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC/ns0:FACT">\r
+ <xsl:variable name="var5_resultof_Fact_mapping_v_" as="node()?">\r
+ <xsl:call-template name="user:Fact_mapping_v2">\r
+ <xsl:with-param name="NameSpaceName" select="$PrefixName" as="xs:string"/>\r
+ <xsl:with-param name="efficasANDschema" as="node()">\r
+ <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
+ <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:FACT">\r
+ <FACT>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </FACT>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:SIMP">\r
+ <SIMP>\r
+ <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
+ <xsl:for-each select="@ns0:statut">\r
+ <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@ns0:max_occurs">\r
+ <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="@attribut">\r
+ <xsl:attribute name="attribut" namespace="" select="fn:string(.)"/>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="ns0:typeAttendu">\r
+ <typeAttendu>\r
+ <xsl:sequence select="fn:string(.)"/>\r
+ </typeAttendu>\r
+ </xsl:for-each>\r
+ </SIMP>\r
+ </xsl:for-each>\r
+ </FACT>\r
+ </xsl:with-param>\r
+ </xsl:call-template>\r
+ </xsl:variable>\r
+ <xsl:for-each select="$var5_resultof_Fact_mapping_v_/xs:complexType">\r
+ <complexType>\r
+ <xsl:sequence select="(./@node(), ./node())"/>\r
+ </complexType>\r
+ </xsl:for-each>\r
+ </xsl:for-each>\r
+ <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC">\r
+ <xsl:variable name="var6_nom_as_string" as="xs:string" select="fn:string(@ns0:nom)"/>\r
+ <element>\r
+ <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($PrefixName, ':T_'), $var6_nom_as_string))"/>\r
+ <xsl:attribute name="name" namespace="" select="$var6_nom_as_string"/>\r
+ </element>\r
+ </xsl:for-each>\r
+ </schema>\r
+ </xsl:template>\r
+</xsl:stylesheet>\r
--- /dev/null
+saxonb-xslt -s:../Cata_MED_FAM.xml -xsl:MappingMapToXMLSchema_1_1__ef.xslt PrefixName=med UserNameSpace='http://chercheurs.edf.com/logiciels/'
--- /dev/null
+# -*- coding: utf-8 -*-
+from raw.efficas import *
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!-- édité avec XMLSpy v2018 sp1 (http://www.altova.com) par Fayolle (EDF R&D) -->\r
+<!-- edited with XMLSpy v2015 rel. 4 (http://www.altova.com) by USER1 (EDF-DSP) -->\r
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns="http://chercheurs.edf.com/logiciels/efficas" xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" xmlns:altova="http://www.altova.com/xml-schema-extensions" targetNamespace="http://chercheurs.edf.com/logiciels/efficas" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0" vc:minVersion="1.1">\r
+ <xs:element name="doc" type="T_doc"/>\r
+ <xs:element name="cata" type="T_cata"/>\r
+ <xs:element name="regles" type="T_regles"/>\r
+ <xs:element name="typeCree" type="T_classe_utilisateur"/>\r
+ <xs:element name="valeurDef" type="T_typeAttendu"/>\r
+ <xs:element name="valeurSugg" type="T_typeAttendu"/>\r
+ <xs:element name="fonction_utilisateur" type="T_fonction_python"/>\r
+ <xs:element name="commandes" type="T_commandes">\r
+ <!-- La contrainte suivante fonctionne -->\r
+ <xs:unique name="Uniq_Command">\r
+ <xs:selector xpath="*"/>\r
+ <xs:field xpath="@efficas:nom"/>\r
+ </xs:unique>\r
+ </xs:element>\r
+ <xs:element name="validators" type="T_validators"/>\r
+ <xs:element name="plageValeur" type="T_plageValeur"/>\r
+ <xs:element name="typeAttendu" type="T_name"/>\r
+ <xs:element name="classeUtilisateurName" type="T_classe_utilisateur_username" abstract="true" substitutionGroup="typeAttendu"/>\r
+ <xs:element name="SIMP" type="T_SIMP"/>\r
+ <xs:element name="portee" type="T_portee" default="None"/>\r
+ <xs:element name="condition" type="T_fonction_python"/>\r
+ <xs:element name="borne_sup" type="T_typeAttendu"/>\r
+ <xs:element name="borne_inf" type="T_typeAttendu"/>\r
+ <!-- <xs:element name="into" type="T_into"/>-->\r
+ <xs:element name="into" type="T_into"/>\r
+ <!-- <xs:element name="into_plus_fonction" type="T_into" abstract="true" substitutionGroup="into"/>-->\r
+ <xs:attribute name="nom" type="AT_nom"/>\r
+ <xs:attribute name="ag" type="AT_ag"/>\r
+ <xs:attribute name="fr" type="xs:string"/>\r
+ <xs:attribute name="ang" type="xs:string"/>\r
+ <xs:attribute name="docu" type="AT_docu"/>\r
+ <xs:attribute name="valeur_sugg" type="AT_valeur_sugg"/>\r
+ <xs:attribute name="statut" type="AT_statut" default="o"/>\r
+ <xs:attribute name="max_occurs" type="AT_max_occurs"/>\r
+ <xs:attribute name="min_occurs" type="AT_min_occurs"/>\r
+ <xs:attribute name="subroutine" type="AT_subroutine" default="None"/>\r
+ <xs:complexType name="T_doc">\r
+ <xs:attribute ref="fr" use="optional"/>\r
+ <xs:attribute ref="ang"/>\r
+ <xs:attribute ref="docu"/>\r
+ </xs:complexType>\r
+ <xs:complexType name="T_cata">\r
+ <xs:sequence>\r
+ <xs:element ref="commandes" minOccurs="0" maxOccurs="unbounded"/>\r
+ </xs:sequence>\r
+ </xs:complexType>\r
+ <xs:complexType name="T_commandes">\r
+ <xs:choice minOccurs="0" maxOccurs="unbounded">\r
+ <xs:element ref="OPER"/>\r
+ <xs:element ref="PROC"/>\r
+ </xs:choice>\r
+ </xs:complexType>\r
+ <xs:complexType name="T_Cardinalite"/>\r
+ <xs:complexType name="T_plageValeur">\r
+ <xs:choice>\r
+ <xs:sequence>\r
+ <xs:element ref="borne_sup" minOccurs="0"/>\r
+ <xs:element ref="borne_inf" minOccurs="0"/>\r
+ </xs:sequence>\r
+ <xs:element ref="into"/>\r
+ </xs:choice>\r
+ </xs:complexType>\r
+ <xs:complexType name="T_Accas_Common">\r
+ <xs:sequence>\r
+ <xs:element ref="regles" minOccurs="0"/>\r
+ <xs:element ref="doc" minOccurs="0"/>\r
+ <xs:choice maxOccurs="unbounded">\r
+ <xs:element ref="BLOC"/>\r
+ <xs:element ref="FACT"/>\r
+ <xs:element ref="SIMP"/>\r
+ </xs:choice>\r
+ </xs:sequence>\r
+ <xs:attribute ref="nom" use="required"/>\r
+ </xs:complexType>\r
+ <xs:element name="OPER" type="T_OPER">\r
+ <!-- La contrainte fonctionne uniquement si l'on n'oublie pas le prefix dans l'expression du selector ! -->\r
+ <!-- aucun nom identique ne doit apparaître dans les sous élements d'un même niveau dans OPER ou PROC -->\r
+ <xs:key name="Key_Name_In_Oper">\r
+ <xs:annotation>\r
+ <xs:documentation>SIMP devrait être selectionné que si .//SIMP[portee='Global']</xs:documentation>\r
+ </xs:annotation>\r
+ <xs:selector xpath="./efficas:BLOC |./efficas:FACT|./efficas:SIMP"/>\r
+ <xs:field xpath="@efficas:nom"/>\r
+ </xs:key>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_Exclus" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_Exclus">\r
+ <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_A_Classer" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:A_CLASSER/efficas:p1 | ./efficas:regles/efficas:A_CLASSER/efficas:p2"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_A_Classer">\r
+ <xs:selector xpath="./efficas:regles/efficas:A_CLASSER/efficas:p1 | ./efficas:regles/efficas:A_CLASSER/efficas:p2"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_Au_Moins_Un" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_MOINS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_Au_Moins_Un">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_MOINS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_Au_Plus_Un" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_PLUS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_Au_Plus_Un">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_PLUS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_Ensemble" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:ENSEMBLE"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_Ensemble">\r
+ <xs:selector xpath="./efficas:regles/efficas:ENSEMBLE"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_Present_Absent" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_ABSENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_Present_Absent">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_ABSENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_Present_Present" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_PRESENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_Present_Present">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_PRESENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Oper_Ref_A_Name_In_Un_Parmi" refer="Key_Name_In_Oper">\r
+ <xs:selector xpath="./efficas:regles/efficas:UN_PARMI"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Oper_Uniq_Name_In_Un_Parmi">\r
+ <xs:selector xpath="./efficas:regles/efficas:UN_PARMI"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ </xs:element>\r
+ \r
+ <xs:complexType name="T_OPER">\r
+ <xs:complexContent>\r
+ <xs:extension base="T_Accas_Common">\r
+ <xs:sequence>\r
+ <xs:element ref="typeCree"/>\r
+ </xs:sequence>\r
+ <xs:attribute ref="subroutine"/>\r
+ </xs:extension>\r
+ </xs:complexContent>\r
+ </xs:complexType>\r
+ <xs:element name="PROC" type="T_PROC">\r
+ <!-- La contrainte fonctionne pour toutes les PROC adjacentes et devrait être par PROC -->\r
+ <xs:key name="Key_Name_In_Proc">\r
+ <xs:annotation>\r
+ <xs:documentation>SIMP devrait être selectionné que si .//SIMP[portee='Global']</xs:documentation>\r
+ </xs:annotation>\r
+ <xs:selector xpath="./efficas:BLOC | ./efficas:FACT| ./efficas:SIMP"/>\r
+ <xs:field xpath="@efficas:nom"/>\r
+ </xs:key>\r
+ <xs:keyref name="Proc_Ref_A_Name_In_Exclus" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_Exclus">\r
+ <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Proc_Ref_A_Name_In_A_Classer" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:A_CLASSER/efficas:p1 | ./efficas:regles/efficas:A_CLASSER/efficas:p2"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_A_Classer">\r
+ <xs:selector xpath="./efficas:regles/efficas:A_CLASSER/efficas:p1 | ./efficas:regles/efficas:A_CLASSER/efficas:p2"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Proc_Ref_A_Name_In_Au_Moins_Un" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_MOINS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_Au_Moins_Un">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_MOINS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Proc_Ref_A_Name_In_Au_Plus_Un" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_PLUS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_Au_Plus_Un">\r
+ <xs:selector xpath="./efficas:regles/efficas:AU_PLUS_UN"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Proc_Ref_A_Name_In_Ensemble" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:ENSEMBLE"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_Ensemble">\r
+ <xs:selector xpath="./efficas:regles/efficas:ENSEMBLE"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Proc_Ref_A_Name_In_Present_Absent" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_ABSENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_Present_Absent">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_ABSENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Proc_Ref_A_Name_In_Present_Present" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_PRESENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_Present_Present">\r
+ <xs:selector xpath="./efficas:regles/efficas:PRESENT_PRESENT"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ <xs:keyref name="Ref_A_Name_In_Un_Parmi" refer="Key_Name_In_Proc">\r
+ <xs:selector xpath="./efficas:regles/efficas:UN_PARMI"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ <xs:unique name="Proc_Uniq_Name_In_Un_Parmi">\r
+ <xs:selector xpath="./efficas:regles/efficas:UN_PARMI"/>\r
+ <xs:field xpath="."/>\r
+ </xs:unique>\r
+ </xs:element>\r
+ <xs:complexType name="T_PROC">\r
+ <xs:complexContent>\r
+ <xs:extension base="T_Accas_Common">\r
+ <xs:attribute ref="subroutine"/>\r
+ </xs:extension>\r
+ </xs:complexContent>\r
+ </xs:complexType>\r
+ <xs:element name="FACT" type="T_FACT">\r
+ <!-- La contrainte fonctionne uniquement si l'on n'oublie pas le prefix dans l'expression du selector ! -->\r
+ <!-- aucun nom identique ne doit apparaître dans les sous élements d'un même niveau de FACT -->\r
+ <xs:key name="Key_Name_In_Fact">\r
+ <xs:annotation>\r
+ <xs:documentation>SIMP devrait être selectionné que si .//SIMP[portee='Global']</xs:documentation>\r
+ </xs:annotation>\r
+ <xs:selector xpath="./efficas:BLOC |./efficas:FACT|./efficas:SIMP"/>\r
+ <xs:field xpath="@efficas:nom"/>\r
+ </xs:key>\r
+ <xs:keyref name="Ref_A_Name_In_Fact" refer="Key_Name_In_Fact">\r
+ <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ </xs:element>\r
+ <!-- Définition par restriction -->\r
+ <!-- <xs:complexType name="T_FACT">\r
+ <xs:complexContent>\r
+ <xs:restriction base="T_Accas_Common">\r
+ <xs:sequence>\r
+ <xs:element ref="regles" minOccurs="0"/>\r
+ <xs:element ref="doc" minOccurs="0"/>\r
+ <xs:choice maxOccurs="unbounded">\r
+ <xs:element ref="BLOC"/>\r
+ <xs:element ref="FACT"/>\r
+ <xs:element ref="SIMP"/>\r
+ </xs:choice>\r
+ </xs:sequence>\r
+ </xs:restriction>\r
+ </xs:complexContent>\r
+ </xs:complexType>-->\r
+ <xs:complexType name="T_FACT">\r
+ <xs:complexContent>\r
+ <xs:extension base="T_Accas_Common">\r
+ <xs:attribute ref="statut"/>\r
+ <xs:attribute ref="min_occurs" default="1"/>\r
+ <xs:attribute ref="max_occurs" default="1">\r
+ <xs:annotation>\r
+ <xs:documentation>La valeur -1 equivaut à oo</xs:documentation>\r
+ </xs:annotation>\r
+ </xs:attribute>\r
+ </xs:extension>\r
+ <!-- <xs:assert test=".[exists(@efficas:max_occurs) and exists(@efficas:min_occurs) and @efficas:max_occurs gt @efficas:min_occurs]"/>\r
+-->\r
+ <!--<xs:assert test="if (.[exists(@efficas:max_occurs)] and .[exists(@efficas:min_occurs)] ) then (@efficas:max_occurs gt @efficas:min_occurs) or @efficas:max_occurs = -1 else true" altova:message="Erreur max_occurs > min_occurs "/>-->\r
+ </xs:complexContent>\r
+ </xs:complexType>\r
+ <xs:simpleType name="T_fonction_python">\r
+ <xs:restriction base="xs:string"/>\r
+ </xs:simpleType>\r
+ <xs:element name="BLOC" type="T_BLOC">\r
+ <xs:key name="Key_Name_In_Bloc">\r
+ <xs:annotation>\r
+ <xs:documentation>SIMP devrait être selectionné que si .//SIMP[portee='Global']</xs:documentation>\r
+ </xs:annotation>\r
+ <xs:selector xpath="./efficas:BLOC |./efficas:FACT|./efficas:SIMP"/>\r
+ <xs:field xpath="@efficas:nom"/>\r
+ </xs:key>\r
+ <xs:keyref name="Ref_A_Name_In_Bloc" refer="Key_Name_In_Bloc">\r
+ <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
+ <xs:field xpath="."/>\r
+ </xs:keyref>\r
+ </xs:element>\r
+ <xs:complexType name="T_BLOC">\r
+ <xs:complexContent>\r
+ <xs:extension base="T_Accas_Common">\r
+ <xs:sequence>\r
+ <xs:element ref="condition"/>\r
+ </xs:sequence>\r
+ </xs:extension>\r
+ </xs:complexContent>\r
+ </xs:complexType>\r
+ <xs:complexType name="T_SIMP">\r
+ <xs:sequence>\r
+ <xs:element ref="doc" minOccurs="0"/>\r
+ <xs:element ref="portee" minOccurs="0">\r
+ <xs:annotation>\r
+ <xs:documentation>La portée pouurait devenir un attribut de SIMP. Une autre solution consisterait a créer un SIMPG pour distinguer les @nom uniques des SIMP a portée globale des autres.</xs:documentation>\r
+ </xs:annotation>\r
+ </xs:element>\r
+ <xs:element ref="valeurDef" minOccurs="0"/>\r
+ <xs:element ref="valeurSugg" minOccurs="0"/>\r
+ <xs:element ref="plageValeur" minOccurs="0"/>\r
+ <xs:element ref="typeAttendu"/>\r
+ <xs:element ref="validators" minOccurs="0"/>\r
+ </xs:sequence>\r
+ <xs:attribute ref="nom" use="required"/>\r
+ <xs:attribute ref="statut" default="o"/>\r
+ <xs:attribute ref="min_occurs" default="1"/>\r
+ <xs:attribute ref="max_occurs" default="1">\r
+ <xs:annotation>\r
+ <xs:documentation>La valeur -1 equivaut à oo</xs:documentation>\r
+ </xs:annotation>\r
+ </xs:attribute>\r
+ </xs:complexType>\r
+ <xs:simpleType name="AT_statut">\r
+ <xs:restriction base="xs:string">\r
+ <xs:enumeration value="f"/>\r
+ <xs:enumeration value="o"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <!--<xs:simpleType name="T_repetable">\r
+ <xs:restriction base="xs:string">\r
+ <xs:enumeration value="n"/>\r
+ <xs:enumeration value="o"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>-->\r
+ <xs:simpleType name="T_portee">\r
+ <xs:restriction base="xs:string">\r
+ <xs:enumeration value="None"/>\r
+ <xs:enumeration value="Global"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="AT_max_occurs">\r
+ <xs:restriction base="xs:long">\r
+ <xs:minInclusive value="-1"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="AT_min_occurs">\r
+ <xs:restriction base="xs:long">\r
+ <xs:minExclusive value="0"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <!-- Comparable -->\r
+ <!-- <xs:simpleType name="AT_borne_sup">\r
+ <xs:atomic base="xs:double"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="AT_borne_inf">\r
+ <xs:restriction base="xs:double"/>\r
+ </xs:simpleType>\r
+-->\r
+ <xs:simpleType name="AT_ag">\r
+ <xs:restriction base="xs:string">\r
+ <xs:enumeration value="No comment"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="AT_docu">\r
+ <xs:annotation>\r
+ <xs:documentation>Référence une position dans un fichier maître contenant une liste de références à des pages de documentations</xs:documentation>\r
+ </xs:annotation>\r
+ <xs:restriction base="xs:string"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="AT_valeur_sugg">\r
+ <xs:restriction base="xs:string"/>\r
+ </xs:simpleType>\r
+ <!-- TODO: Exclure mots clés python|efficas -->\r
+ <xs:simpleType name="AT_nom">\r
+ <xs:restriction base="xs:string">\r
+ <xs:pattern value="([A-Z]|[a-z]|_)([A-Z]|[a-z]|_|[0-9])*"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_predicat1">\r
+ <xs:list itemType="AT_nom"/>\r
+ <!-- TODO: Supprimer la liste -->\r
+ </xs:simpleType>\r
+ <xs:complexType name="T_predicat2">\r
+ <xs:sequence>\r
+ <xs:element name="p1" type="T_predicat1" minOccurs="1"/>\r
+ <xs:element name="p2" type="AT_nom" minOccurs="1"/>\r
+ </xs:sequence>\r
+ <!-- TODO: Supprimer la séquence -->\r
+ </xs:complexType>\r
+ <xs:element name="A_CLASSER" type="T_predicat2"/>\r
+ <xs:element name="AU_MOINS_UN" type="T_predicat1"/>\r
+ <xs:element name="AU_PLUS_UN" type="T_predicat1"/>\r
+ <xs:element name="ENSEMBLE" type="T_predicat1"/>\r
+ <xs:element name="EXCLUS" type="T_predicat1"/>\r
+ <xs:element name="PRESENT_ABSENT" type="T_predicat1"/>\r
+ <xs:element name="PRESENT_PRESENT" type="T_predicat1"/>\r
+ <xs:element name="UN_PARMI" type="T_predicat1"/>\r
+ <xs:group name="predicat">\r
+ <xs:choice>\r
+ <xs:element ref="A_CLASSER"/>\r
+ <xs:element ref="AU_MOINS_UN"/>\r
+ <xs:element ref="AU_PLUS_UN"/>\r
+ <xs:element ref="ENSEMBLE"/>\r
+ <xs:element ref="EXCLUS"/>\r
+ <xs:element ref="PRESENT_ABSENT"/>\r
+ <xs:element ref="PRESENT_PRESENT"/>\r
+ <xs:element ref="UN_PARMI"/>\r
+ </xs:choice>\r
+ </xs:group>\r
+ <xs:complexType name="T_regles">\r
+ <xs:sequence maxOccurs="unbounded">\r
+ <xs:group ref="predicat"/>\r
+ </xs:sequence>\r
+ </xs:complexType>\r
+ <!-- <xs:simpleType name="T_typeCree">\r
+ <xs:restriction base="T_classe_utilisateur"/>\r
+ </xs:simpleType>\r
+-->\r
+ <xs:simpleType name="AT_subroutine">\r
+ <xs:restriction base="AT_nom"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_validators">\r
+ <xs:restriction base="xs:string">\r
+ <xs:enumeration value="NoRepeat"/>\r
+ <xs:enumeration value="OnlyStr"/>\r
+ <xs:enumeration value="VerifExiste"/>\r
+ <xs:enumeration value="VerifTypeTuple"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_Bool">\r
+ <xs:restriction base="xs:boolean"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_list_Bool">\r
+ <xs:list itemType="T_Bool"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_I">\r
+ <xs:restriction base="xs:int"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_list_I">\r
+ <xs:list itemType="T_I"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_R">\r
+ <xs:restriction base="xs:double"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_list_R">\r
+ <xs:list itemType="T_R"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_TXM">\r
+ <xs:restriction base="AT_nom"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_list_TXM">\r
+ <xs:list itemType="T_TXM"/>\r
+ </xs:simpleType>\r
+ <!--fonctionne mais ne permet pas de créer une liste de liste -->\r
+ <xs:simpleType name="T_C">\r
+ <xs:restriction>\r
+ <xs:simpleType>\r
+ <xs:list itemType="xs:double"/>\r
+ </xs:simpleType>\r
+ <xs:minLength value="2"/>\r
+ <xs:maxLength value="2"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <!-- Ajouter une contrainte : taille pair -->\r
+ <!-- Il n'est pas possible de définir des listes de listes -->\r
+ <xs:simpleType name="T_list_C">\r
+ <xs:list itemType="xs:double"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_name_base">\r
+ <xs:restriction base="AT_nom"/>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_simple_name">\r
+ <xs:restriction base="T_name_base">\r
+ <xs:enumeration value="Fichier"/>\r
+ <xs:enumeration value="Repertoire"/>\r
+ <xs:enumeration value="TXM"/>\r
+ <xs:enumeration value="I"/>\r
+ <xs:enumeration value="R"/>\r
+ <xs:enumeration value="C"/>\r
+ <xs:enumeration value="Bool"/>\r
+ <xs:enumeration value="grma"/>\r
+ <xs:enumeration value="grno"/>\r
+ <xs:enumeration value="SalomeEntry"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <!-- On ne peut pas rendre abstrait un simpleType && \r
+ Il n'est pas possible de dériver par restriction un simplecontent d'un type complex qui\r
+ lui peut être abstrait.\r
+ -->\r
+ <xs:simpleType name="T_classe_utilisateur_name">\r
+ <xs:restriction base="T_name">\r
+ <xs:enumeration value="T_classe_utilisateur"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ <xs:complexType name="T_classe_utilisateur_username">\r
+ <xs:simpleContent>\r
+ <xs:extension base="T_classe_utilisateur_name">\r
+ <xs:attribute ref="nom" use="required"/>\r
+ </xs:extension>\r
+ </xs:simpleContent>\r
+ </xs:complexType>\r
+ <xs:simpleType name="T_name">\r
+ <xs:union memberTypes="T_simple_name">\r
+ <xs:simpleType>\r
+ <xs:restriction base="AT_nom">\r
+ <xs:enumeration value="T_Matrice_double"/>\r
+ <xs:enumeration value="T_Matrice_Symetrique_double"/>\r
+ <xs:enumeration value="T_tuple"/>\r
+ <xs:enumeration value="T_classe_utilisateur"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ </xs:union>\r
+ </xs:simpleType>\r
+ <xs:complexType name="T_grma"/>\r
+ <xs:complexType name="T_grno"/>\r
+ <xs:complexType name="T_SalomeEntry"/>\r
+ <xs:complexType name="T_Fichier"/>\r
+ <!-- <xs:complexType name="T_Repertoire"/>-->\r
+ <xs:simpleType name="T_Repertoire">\r
+ <xs:list>\r
+ <xs:simpleType>\r
+ <xs:restriction base="xs:string">\r
+ <xs:whiteSpace value="preserve"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+ </xs:list>\r
+ </xs:simpleType>\r
+ <xs:simpleType name="T_simple">\r
+ <xs:union memberTypes="T_I T_list_I T_R T_list_R T_C T_list_C T_TXM T_list_TXM T_Bool T_list_Bool T_Repertoire"/>\r
+ </xs:simpleType>\r
+ <!-- <xs:complexType name="T_TXM"/>-->\r
+ <!-- <xs:simpleType name="T_simple">\r
+ <xs:restriction base="xs:string">\r
+ <xs:enumeration value="Fichier"/>\r
+ <xs:enumeration value="Repertoire"/>\r
+ <xs:enumeration value="TXM"/>\r
+ <xs:enumeration value="I"/>\r
+ <xs:enumeration value="R"/>\r
+ <xs:enumeration value="C"/>\r
+ <xs:enumeration value="Bool"/>\r
+ <xs:enumeration value="grma"/>\r
+ <xs:enumeration value="grno"/>\r
+ <xs:enumeration value="SalomeEntry"/>\r
+ </xs:restriction>\r
+ </xs:simpleType>\r
+-->\r
+ <xs:simpleType name="T_list_double">\r
+ <xs:list itemType="xs:double"/>\r
+ </xs:simpleType>\r
+ <!-- Possibilité d'utiliser un type paramétré ? -->\r
+ <xs:complexType name="T_Matrice_double">\r
+ <xs:simpleContent>\r
+ <xs:extension base="T_list_double">\r
+ <xs:attribute name="n" type="xs:integer" use="required"/>\r
+ <xs:attribute name="m" type="xs:integer" use="required"/>\r
+ </xs:extension>\r
+ </xs:simpleContent>\r
+ </xs:complexType>\r
+ <!-- Faire l'exercice de dériver de T_Matrice_double -->\r
+ <xs:complexType name="T_Matrice_Symetrique_double">\r
+ <xs:simpleContent>\r
+ <xs:extension base="T_list_double">\r
+ <xs:attribute name="n" type="xs:int" use="required"/>\r
+ </xs:extension>\r
+ </xs:simpleContent>\r
+ </xs:complexType>\r
+ <!-- Une liste est aussi un type simple ! -->\r
+ <!-- <xs:simpleType name="T_list_anySimpleType">\r
+ <xs:list itemType="xs:anySimpleType"/>\r
+ </xs:simpleType>\r
+-->\r
+ <!-- Le fait de ne pas déclarer une liste risque d'être problématique pour le parsing : A voir-->\r
+ <xs:complexType name="T_tuple">\r
+ <xs:simpleContent>\r
+ <xs:extension base="xs:anySimpleType">\r
+ <xs:attribute name="n" type="xs:int" use="required"/>\r
+ </xs:extension>\r
+ </xs:simpleContent>\r
+ </xs:complexType>\r
+ <xs:simpleType name="T_classe_utilisateur">\r
+ <xs:restriction base="AT_nom"/>\r
+ </xs:simpleType>\r
+ <xs:element name="typesimple" type="T_simple"/>\r
+ <xs:element name="matrice_double" type="T_Matrice_double"/>\r
+ <xs:element name="matrice_symetrique_double" type="T_Matrice_Symetrique_double"/>\r
+ <xs:element name="tuple" type="T_tuple"/>\r
+ <xs:element name="classe_utilisateur" type="T_classe_utilisateur"/>\r
+ <!-- Essai -->\r
+ <!-- <xs:group name="T_Attendu_group1">\r
+ <xs:choice>\r
+ <xs:element ref="typesimple"/>\r
+ <xs:element ref="matrice_double"/>\r
+ <xs:element ref="matrice_symetrique_double"/>\r
+ <xs:element ref="tuple"/>\r
+ <xs:element ref="classe_utilisateur"/>\r
+ </xs:choice>\r
+ </xs:group>\r
+\r
+ <xs:group name="T_Attendu_group2">\r
+ <xs:choice>\r
+ <xs:element ref="typesimple"/>\r
+ <xs:element ref="matrice_double"/>\r
+ <xs:element ref="matrice_symetrique_double"/>\r
+ <xs:element ref="tuple"/>\r
+ <xs:element ref="classe_utilisateur"/>\r
+ <xs:element ref="fonction_utilisateur" minOccurs="1" maxOccurs="unbounded"/>\r
+ </xs:choice>\r
+ </xs:group>\r
+\r
+ <xs:complexType name="T_typeAttendu">\r
+ <xs:group ref="T_Attendu_group1"/>\r
+ </xs:complexType>\r
+ -->\r
+ <!-- Faire plutot un groupe de substitution pour ne pas croiser les choix -->\r
+ <!--\r
+ <xs:complexType name="T_into">\r
+ <xs:group ref="T_Attendu_group2"/>\r
+ </xs:complexType>\r
+ -->\r
+ <xs:complexType name="T_into">\r
+ <xs:choice>\r
+ <!-- <xs:element ref="typesimple" type="T_Base"/>-->\r
+ <xs:element ref="typesimple" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="matrice_double" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="matrice_symetrique_double" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="tuple" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="classe_utilisateur" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="fonction_utilisateur" minOccurs="1" maxOccurs="unbounded"/>\r
+ </xs:choice>\r
+ </xs:complexType>\r
+ <xs:complexType name="T_typeAttendu">\r
+ <xs:complexContent>\r
+ <xs:restriction base="T_into">\r
+ <xs:choice>\r
+ <xs:element ref="typesimple" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="matrice_double" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="matrice_symetrique_double" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="tuple" minOccurs="0" maxOccurs="unbounded"/>\r
+ <xs:element ref="classe_utilisateur" minOccurs="0" maxOccurs="unbounded"/>\r
+ </xs:choice>\r
+ </xs:restriction>\r
+ </xs:complexContent>\r
+ </xs:complexType>\r
+</xs:schema>\r
+<!-- Catalogue EFFICAS équivalent\r
+\r
+# coding: utf-8\r
+from Accas import *\r
+\r
+class carte (ASSD) : pass\r
+class maille (ASSD) : pass\r
+class carte_flux_r (carte):pass\r
+\r
+class NOM_CHAM_INTO:\r
+ def __call__(self, *l_typ_cham, **kwargs):\r
+ return tuple(('A','B','C'))\r
+C_NOM_CHAM_INTO = NOM_CHAM_INTO()\r
+\r
+JdC = JDC_CATA(code='MAP',\r
+ execmodul=None,\r
+ regles=ENSEMBLE('E1','E2','E3')\r
+ )\r
+\r
+CREECARTE = OPER(nom="CREECARTE",op=None, sd_prod=carte, UNITE=SIMP(statut='f',typ='I',defaut=21),);\r
+\r
+CREECARTEFLUX = OPER(nom="CREECARTEFLUX",op=None, sd_prod=carte_flux_r,\r
+ NOMFLUX=SIMP(statut='o',typ='TXM',defaut='monFlux'),\r
+ );\r
+\r
+CREEMAILLE = OPER(nom="CREEMAILLE",op=None, sd_prod=maille,\r
+ NOEUDS=SIMP(statut='o',typ='I',defaut=(1,2),min=2,max=2)\r
+ );\r
+\r
+E1=PROC(nom="E1",\r
+ op=None,\r
+ regles = (EXCLUS('ETAT_INIT','RESULTAT',),),\r
+ ETAT_INIT = FACT(statut='f', max='**',\r
+ GROUP_MA_1=SIMP(statut='o',typ='I',validators=NoRepeat(),max='**'),\r
+ GROUP_NO_2=SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'),\r
+ ),\r
+\r
+ RESULTAT = FACT(statut='f',\r
+ DEPL=SIMP(statut='o', typ='R', validators=NoRepeat()),\r
+ VITE=SIMP(statut='f', typ='R', validators=NoRepeat()),\r
+ ACCE=SIMP(statut='f', typ='R', validators=NoRepeat()),\r
+ ), \r
+ );\r
+\r
+E2=PROC(nom="E2", op=None,\r
+ regles = (UN_PARMI('CONCEPT','CHAINE','TOUT' ),),\r
+ CONCEPT = FACT(statut='f',max='**',\r
+ NOM = SIMP(statut='o',typ=assd,validators=NoRepeat(),max='**'),\r
+ ),\r
+ CHAINE = SIMP(statut='f',typ='TXM'),\r
+ POSITION = SIMP(statut='f',typ='I',defaut=1),\r
+ TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ),\r
+ );\r
+\r
+E3=PROC(nom="E3",op=None,\r
+ DEFORMATION = SIMP(statut='f',typ='TXM',defaut="PETIT",\r
+ into=("PETIT","PETIT_REAC","GROT_GDEP","SIMO_MIEHE","GDEF_HYPO_ELAS","GDEF_LOG")),\r
+ b_blocIn = BLOC(condition = "DEFORMATION in ('PETIT','PETIT_REAC','GROT_GDEP')",\r
+ ITER_INTE_PAS = SIMP(statut='f',typ='I',defaut= 0 ),\r
+ ALGO_INTE = SIMP(statut='f',typ='TXM',into=("ANALYTIQUE", "SECANTE", "DEKKER", "NEWTON_1D","BRENT",),),\r
+ CARTE = SIMP(statut='f',typ=carte,),\r
+ b_carte = BLOC(condition= "(AsType(CARTE) != carte_flux_r)",\r
+ CONTRAINTE = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',\r
+ fr="Options pour le calcul de contraintes et efforts generalises",\r
+ into=C_NOM_CHAM_INTO(phenomene='CONTRAINTE',categorie='lin'),)\r
+ ),\r
+ ), \r
+ );\r
+\r
+-->\r
--- /dev/null
+# ./raw/efficas.py
+# -*- coding: utf-8 -*-
+# PyXB bindings for NM:759f40938b7670cd6d5941e706557eb2115fb17f
+# Generated 2018-01-31 16:00:25.357533 by PyXB version 1.2.3
+# Namespace http://chercheurs.edf.com/logiciels/efficas
+
+import pyxb
+import pyxb.binding
+import pyxb.binding.saxer
+import io
+import pyxb.utils.utility
+import pyxb.utils.domutils
+import sys
+
+# Unique identifier for bindings created at the same time
+_GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:77abcba2-0697-11e8-9953-d0bf9c086a19')
+
+# Version of PyXB used to generate the bindings
+_PyXBVersion = '1.2.3'
+# Generated bindings are not compatible across PyXB versions
+if pyxb.__version__ != _PyXBVersion:
+ raise pyxb.PyXBVersionError(_PyXBVersion)
+
+# Import bindings for namespaces imported into schema
+import pyxb.binding.datatypes
+
+# NOTE: All namespace declarations are reserved within the binding
+Namespace = pyxb.namespace.NamespaceForURI(u'http://chercheurs.edf.com/logiciels/efficas', create_if_missing=True)
+Namespace.configureCategories(['typeBinding', 'elementBinding'])
+
+def CreateFromDocument (xml_text, default_namespace=None, location_base=None):
+ """Parse the given XML and use the document element to create a
+ Python instance.
+
+ @param xml_text An XML document. This should be data (Python 2
+ str or Python 3 bytes), or a text (Python 2 unicode or Python 3
+ str) in the L{pyxb._InputEncoding} encoding.
+
+ @keyword default_namespace The L{pyxb.Namespace} instance to use as the
+ default namespace where there is no default namespace in scope.
+ If unspecified or C{None}, the namespace of the module containing
+ this function will be used.
+
+ @keyword location_base: An object to be recorded as the base of all
+ L{pyxb.utils.utility.Location} instances associated with events and
+ objects handled by the parser. You might pass the URI from which
+ the document was obtained.
+ """
+
+ if pyxb.XMLStyle_saxer != pyxb._XMLStyle:
+ dom = pyxb.utils.domutils.StringToDOM(xml_text)
+ return CreateFromDOM(dom.documentElement)
+ if default_namespace is None:
+ default_namespace = Namespace.fallbackNamespace()
+ saxer = pyxb.binding.saxer.make_parser(fallback_namespace=default_namespace, location_base=location_base)
+ handler = saxer.getContentHandler()
+ xmld = xml_text
+ if isinstance(xmld, unicode):
+ xmld = xmld.encode(pyxb._InputEncoding)
+ saxer.parse(io.BytesIO(xmld))
+ instance = handler.rootObject()
+ return instance
+
+def CreateFromDOM (node, default_namespace=None):
+ """Create a Python instance from the given DOM node.
+ The node tag must correspond to an element declaration in this module.
+
+ @deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}."""
+ if default_namespace is None:
+ default_namespace = Namespace.fallbackNamespace()
+ return pyxb.binding.basis.element.AnyCreateFromDOM(node, default_namespace)
+
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_fonction_python
+class T_fonction_python (pyxb.binding.datatypes.string):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_fonction_python')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 293, 1)
+ _Documentation = None
+T_fonction_python._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'T_fonction_python', T_fonction_python)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_statut
+class AT_statut (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_statut')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 341, 1)
+ _Documentation = None
+AT_statut._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=AT_statut, enum_prefix=None)
+AT_statut.f = AT_statut._CF_enumeration.addEnumeration(unicode_value=u'f', tag=u'f')
+AT_statut.o = AT_statut._CF_enumeration.addEnumeration(unicode_value=u'o', tag=u'o')
+AT_statut._InitializeFacetMap(AT_statut._CF_enumeration)
+Namespace.addCategoryObject('typeBinding', u'AT_statut', AT_statut)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_portee
+class T_portee (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_portee')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 353, 1)
+ _Documentation = None
+T_portee._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_portee, enum_prefix=None)
+T_portee.None_ = T_portee._CF_enumeration.addEnumeration(unicode_value=u'None', tag=u'None_')
+T_portee.Global = T_portee._CF_enumeration.addEnumeration(unicode_value=u'Global', tag=u'Global')
+T_portee._InitializeFacetMap(T_portee._CF_enumeration)
+Namespace.addCategoryObject('typeBinding', u'T_portee', T_portee)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_max_occurs
+class AT_max_occurs (pyxb.binding.datatypes.long):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_max_occurs')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 359, 1)
+ _Documentation = None
+AT_max_occurs._CF_minInclusive = pyxb.binding.facets.CF_minInclusive(value_datatype=AT_max_occurs, value=pyxb.binding.datatypes.long(-1L))
+AT_max_occurs._InitializeFacetMap(AT_max_occurs._CF_minInclusive)
+Namespace.addCategoryObject('typeBinding', u'AT_max_occurs', AT_max_occurs)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_min_occurs
+class AT_min_occurs (pyxb.binding.datatypes.long):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_min_occurs')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 364, 1)
+ _Documentation = None
+AT_min_occurs._CF_minExclusive = pyxb.binding.facets.CF_minExclusive(value_datatype=pyxb.binding.datatypes.long, value=pyxb.binding.datatypes.integer(0L))
+AT_min_occurs._InitializeFacetMap(AT_min_occurs._CF_minExclusive)
+Namespace.addCategoryObject('typeBinding', u'AT_min_occurs', AT_min_occurs)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_ag
+class AT_ag (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_ag')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 377, 1)
+ _Documentation = None
+AT_ag._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=AT_ag, enum_prefix=None)
+AT_ag.No_comment = AT_ag._CF_enumeration.addEnumeration(unicode_value=u'No comment', tag=u'No_comment')
+AT_ag._InitializeFacetMap(AT_ag._CF_enumeration)
+Namespace.addCategoryObject('typeBinding', u'AT_ag', AT_ag)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_docu
+class AT_docu (pyxb.binding.datatypes.string):
+
+ """Référence une position dans un fichier maître contenant une liste de références à des pages de documentations"""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_docu')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 382, 1)
+ _Documentation = u'R\xe9f\xe9rence une position dans un fichier ma\xeetre contenant une liste de r\xe9f\xe9rences \xe0 des pages de documentations'
+AT_docu._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'AT_docu', AT_docu)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_valeur_sugg
+class AT_valeur_sugg (pyxb.binding.datatypes.string):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_valeur_sugg')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 388, 1)
+ _Documentation = None
+AT_valeur_sugg._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'AT_valeur_sugg', AT_valeur_sugg)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_nom
+class AT_nom (pyxb.binding.datatypes.string):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_nom')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 392, 1)
+ _Documentation = None
+AT_nom._CF_pattern = pyxb.binding.facets.CF_pattern()
+AT_nom._CF_pattern.addPattern(pattern=u'([A-Z]|[a-z]|_)([A-Z]|[a-z]|_|[0-9])*')
+AT_nom._InitializeFacetMap(AT_nom._CF_pattern)
+Namespace.addCategoryObject('typeBinding', u'AT_nom', AT_nom)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_validators
+class T_validators (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_validators')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 440, 1)
+ _Documentation = None
+T_validators._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_validators, enum_prefix=None)
+T_validators.NoRepeat = T_validators._CF_enumeration.addEnumeration(unicode_value=u'NoRepeat', tag=u'NoRepeat')
+T_validators.OnlyStr = T_validators._CF_enumeration.addEnumeration(unicode_value=u'OnlyStr', tag=u'OnlyStr')
+T_validators.VerifExiste = T_validators._CF_enumeration.addEnumeration(unicode_value=u'VerifExiste', tag=u'VerifExiste')
+T_validators.VerifTypeTuple = T_validators._CF_enumeration.addEnumeration(unicode_value=u'VerifTypeTuple', tag=u'VerifTypeTuple')
+T_validators._InitializeFacetMap(T_validators._CF_enumeration)
+Namespace.addCategoryObject('typeBinding', u'T_validators', T_validators)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_Bool
+class T_Bool (pyxb.binding.datatypes.boolean):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Bool')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 448, 1)
+ _Documentation = None
+T_Bool._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'T_Bool', T_Bool)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_I
+class T_I (pyxb.binding.datatypes.int):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_I')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 454, 1)
+ _Documentation = None
+T_I._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'T_I', T_I)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_R
+class T_R (pyxb.binding.datatypes.double):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_R')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 460, 1)
+ _Documentation = None
+T_R._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'T_R', T_R)
+
+# List simple type: [anonymous]
+# superclasses pyxb.binding.datatypes.anySimpleType
+class STD_ANON (pyxb.binding.basis.STD_list):
+
+ """Simple type that is a list of pyxb.binding.datatypes.double."""
+
+ _ExpandedName = None
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 475, 3)
+ _Documentation = None
+
+ _ItemType = pyxb.binding.datatypes.double
+STD_ANON._InitializeFacetMap()
+
+# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_C
+# superclasses pyxb.binding.datatypes.anySimpleType
+class T_list_C (pyxb.binding.basis.STD_list):
+
+ """Simple type that is a list of pyxb.binding.datatypes.double."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_C')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 484, 1)
+ _Documentation = None
+
+ _ItemType = pyxb.binding.datatypes.double
+T_list_C._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'T_list_C', T_list_C)
+
+# Atomic simple type: [anonymous]
+class STD_ANON_ (pyxb.binding.datatypes.string):
+
+ """An atomic simple type."""
+
+ _ExpandedName = None
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 539, 3)
+ _Documentation = None
+STD_ANON_._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.preserve)
+STD_ANON_._InitializeFacetMap(STD_ANON_._CF_whiteSpace)
+
+# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_double
+# superclasses pyxb.binding.datatypes.anySimpleType
+class T_list_double (pyxb.binding.basis.STD_list):
+
+ """Simple type that is a list of pyxb.binding.datatypes.double."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_double')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 565, 1)
+ _Documentation = None
+
+ _ItemType = pyxb.binding.datatypes.double
+T_list_double._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'T_list_double', T_list_double)
+
+# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_predicat1
+# superclasses pyxb.binding.datatypes.anySimpleType
+class T_predicat1 (pyxb.binding.basis.STD_list):
+
+ """Simple type that is a list of AT_nom."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_predicat1')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 397, 1)
+ _Documentation = None
+
+ _ItemType = AT_nom
+T_predicat1._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'T_predicat1', T_predicat1)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_subroutine
+class AT_subroutine (AT_nom):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_subroutine')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 437, 1)
+ _Documentation = None
+AT_subroutine._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'AT_subroutine', AT_subroutine)
+
+# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_Bool
+# superclasses pyxb.binding.datatypes.anySimpleType
+class T_list_Bool (pyxb.binding.basis.STD_list):
+
+ """Simple type that is a list of T_Bool."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_Bool')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 451, 1)
+ _Documentation = None
+
+ _ItemType = T_Bool
+T_list_Bool._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'T_list_Bool', T_list_Bool)
+
+# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_I
+# superclasses pyxb.binding.datatypes.anySimpleType
+class T_list_I (pyxb.binding.basis.STD_list):
+
+ """Simple type that is a list of T_I."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_I')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 457, 1)
+ _Documentation = None
+
+ _ItemType = T_I
+T_list_I._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'T_list_I', T_list_I)
+
+# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_R
+# superclasses pyxb.binding.datatypes.anySimpleType
+class T_list_R (pyxb.binding.basis.STD_list):
+
+ """Simple type that is a list of T_R."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_R')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 463, 1)
+ _Documentation = None
+
+ _ItemType = T_R
+T_list_R._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'T_list_R', T_list_R)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_TXM
+class T_TXM (AT_nom):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_TXM')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 466, 1)
+ _Documentation = None
+T_TXM._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'T_TXM', T_TXM)
+
+# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_C
+# superclasses STD_ANON
+class T_C (pyxb.binding.basis.STD_list):
+
+ """Simple type that is a list of pyxb.binding.datatypes.double."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_C')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 473, 1)
+ _Documentation = None
+
+ _ItemType = pyxb.binding.datatypes.double
+T_C._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(2L))
+T_C._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(2L))
+T_C._InitializeFacetMap(T_C._CF_minLength,
+ T_C._CF_maxLength)
+Namespace.addCategoryObject('typeBinding', u'T_C', T_C)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_name_base
+class T_name_base (AT_nom):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_name_base')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 487, 1)
+ _Documentation = None
+T_name_base._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'T_name_base', T_name_base)
+
+# Atomic simple type: [anonymous]
+class STD_ANON_2 (AT_nom, pyxb.binding.basis.enumeration_mixin):
+
+ """An atomic simple type."""
+
+ _ExpandedName = None
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 522, 3)
+ _Documentation = None
+STD_ANON_2._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=STD_ANON_2, enum_prefix=None)
+STD_ANON_2.T_Matrice_double = STD_ANON_2._CF_enumeration.addEnumeration(unicode_value=u'T_Matrice_double', tag=u'T_Matrice_double')
+STD_ANON_2.T_Matrice_Symetrique_double = STD_ANON_2._CF_enumeration.addEnumeration(unicode_value=u'T_Matrice_Symetrique_double', tag=u'T_Matrice_Symetrique_double')
+STD_ANON_2.T_tuple = STD_ANON_2._CF_enumeration.addEnumeration(unicode_value=u'T_tuple', tag=u'T_tuple')
+STD_ANON_2.T_classe_utilisateur = STD_ANON_2._CF_enumeration.addEnumeration(unicode_value=u'T_classe_utilisateur', tag=u'T_classe_utilisateur')
+STD_ANON_2._InitializeFacetMap(STD_ANON_2._CF_enumeration)
+
+# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_Repertoire
+# superclasses pyxb.binding.datatypes.anySimpleType
+class T_Repertoire (pyxb.binding.basis.STD_list):
+
+ """Simple type that is a list of STD_ANON_."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Repertoire')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 537, 1)
+ _Documentation = None
+
+ _ItemType = STD_ANON_
+T_Repertoire._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'T_Repertoire', T_Repertoire)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_classe_utilisateur
+class T_classe_utilisateur (AT_nom):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_classe_utilisateur')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 598, 1)
+ _Documentation = None
+T_classe_utilisateur._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'T_classe_utilisateur', T_classe_utilisateur)
+
+# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_TXM
+# superclasses pyxb.binding.datatypes.anySimpleType
+class T_list_TXM (pyxb.binding.basis.STD_list):
+
+ """Simple type that is a list of T_TXM."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_TXM')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 469, 1)
+ _Documentation = None
+
+ _ItemType = T_TXM
+T_list_TXM._InitializeFacetMap()
+Namespace.addCategoryObject('typeBinding', u'T_list_TXM', T_list_TXM)
+
+# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_simple_name
+class T_simple_name (T_name_base, pyxb.binding.basis.enumeration_mixin):
+
+ """An atomic simple type."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_simple_name')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 490, 1)
+ _Documentation = None
+T_simple_name._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_simple_name, enum_prefix=None)
+T_simple_name.Fichier = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'Fichier', tag=u'Fichier')
+T_simple_name.Repertoire = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'Repertoire', tag=u'Repertoire')
+T_simple_name.TXM = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'TXM', tag=u'TXM')
+T_simple_name.I = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'I', tag=u'I')
+T_simple_name.R = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'R', tag=u'R')
+T_simple_name.C = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'C', tag=u'C')
+T_simple_name.Bool = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'Bool', tag=u'Bool')
+T_simple_name.grma = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'grma', tag=u'grma')
+T_simple_name.grno = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'grno', tag=u'grno')
+T_simple_name.SalomeEntry = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'SalomeEntry', tag=u'SalomeEntry')
+T_simple_name._InitializeFacetMap(T_simple_name._CF_enumeration)
+Namespace.addCategoryObject('typeBinding', u'T_simple_name', T_simple_name)
+
+# Union simple type: {http://chercheurs.edf.com/logiciels/efficas}T_name
+# superclasses pyxb.binding.datatypes.anySimpleType
+class T_name (pyxb.binding.basis.STD_union):
+
+ """Simple type that is a union of T_simple_name, STD_ANON_2."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_name')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 520, 1)
+ _Documentation = None
+
+ _MemberTypes = ( T_simple_name, STD_ANON_2, )
+T_name._CF_pattern = pyxb.binding.facets.CF_pattern()
+T_name._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_name)
+T_name.Fichier = u'Fichier' # originally T_simple_name.Fichier
+T_name.Repertoire = u'Repertoire' # originally T_simple_name.Repertoire
+T_name.TXM = u'TXM' # originally T_simple_name.TXM
+T_name.I = u'I' # originally T_simple_name.I
+T_name.R = u'R' # originally T_simple_name.R
+T_name.C = u'C' # originally T_simple_name.C
+T_name.Bool = u'Bool' # originally T_simple_name.Bool
+T_name.grma = u'grma' # originally T_simple_name.grma
+T_name.grno = u'grno' # originally T_simple_name.grno
+T_name.SalomeEntry = u'SalomeEntry' # originally T_simple_name.SalomeEntry
+T_name.T_Matrice_double = u'T_Matrice_double' # originally STD_ANON_2.T_Matrice_double
+T_name.T_Matrice_Symetrique_double = u'T_Matrice_Symetrique_double'# originally STD_ANON_2.T_Matrice_Symetrique_double
+T_name.T_tuple = u'T_tuple' # originally STD_ANON_2.T_tuple
+T_name.T_classe_utilisateur = u'T_classe_utilisateur'# originally STD_ANON_2.T_classe_utilisateur
+T_name._InitializeFacetMap(T_name._CF_pattern,
+ T_name._CF_enumeration)
+Namespace.addCategoryObject('typeBinding', u'T_name', T_name)
+
+# Union simple type: {http://chercheurs.edf.com/logiciels/efficas}T_simple
+# superclasses pyxb.binding.datatypes.anySimpleType
+class T_simple (pyxb.binding.basis.STD_union):
+
+ """Simple type that is a union of T_I, T_list_I, T_R, T_list_R, T_C, T_list_C, T_TXM, T_list_TXM, T_Bool, T_list_Bool, T_Repertoire."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_simple')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 546, 1)
+ _Documentation = None
+
+ _MemberTypes = ( T_I, T_list_I, T_R, T_list_R, T_C, T_list_C, T_TXM, T_list_TXM, T_Bool, T_list_Bool, T_Repertoire, )
+T_simple._CF_pattern = pyxb.binding.facets.CF_pattern()
+T_simple._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_simple)
+T_simple._InitializeFacetMap(T_simple._CF_pattern,
+ T_simple._CF_enumeration)
+Namespace.addCategoryObject('typeBinding', u'T_simple', T_simple)
+
+# Union simple type: {http://chercheurs.edf.com/logiciels/efficas}T_classe_utilisateur_name
+# superclasses T_name, pyxb.binding.basis.enumeration_mixin
+class T_classe_utilisateur_name (pyxb.binding.basis.STD_union):
+
+ """Simple type that is a union of T_simple_name, STD_ANON_2."""
+
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_classe_utilisateur_name')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 508, 1)
+ _Documentation = None
+
+ _MemberTypes = ( T_simple_name, STD_ANON_2, )
+T_classe_utilisateur_name._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_classe_utilisateur_name, enum_prefix=None)
+T_classe_utilisateur_name.T_classe_utilisateur = T_classe_utilisateur_name._CF_enumeration.addEnumeration(unicode_value=u'T_classe_utilisateur', tag=u'T_classe_utilisateur')
+T_classe_utilisateur_name._InitializeFacetMap(T_classe_utilisateur_name._CF_enumeration)
+Namespace.addCategoryObject('typeBinding', u'T_classe_utilisateur_name', T_classe_utilisateur_name)
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_cata with content type ELEMENT_ONLY
+class T_cata (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_cata with content type ELEMENT_ONLY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_cata')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 46, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is pyxb.binding.datatypes.anyType
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}commandes uses Python identifier commandes
+ __commandes = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'commandes'), 'commandes', '__httpchercheurs_edf_comlogicielsefficas_T_cata_httpchercheurs_edf_comlogicielsefficascommandes', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 12, 1), )
+
+
+ commandes = property(__commandes.value, __commandes.set, None, None)
+
+ _ElementMap.update({
+ __commandes.name() : __commandes
+ })
+ _AttributeMap.update({
+
+ })
+Namespace.addCategoryObject('typeBinding', u'T_cata', T_cata)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_commandes with content type ELEMENT_ONLY
+class T_commandes (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_commandes with content type ELEMENT_ONLY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_commandes')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 51, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is pyxb.binding.datatypes.anyType
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}OPER uses Python identifier OPER
+ __OPER = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'OPER'), 'OPER', '__httpchercheurs_edf_comlogicielsefficas_T_commandes_httpchercheurs_edf_comlogicielsefficasOPER', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 79, 1), )
+
+
+ OPER = property(__OPER.value, __OPER.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}PROC uses Python identifier PROC
+ __PROC = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'PROC'), 'PROC', '__httpchercheurs_edf_comlogicielsefficas_T_commandes_httpchercheurs_edf_comlogicielsefficasPROC', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 165, 1), )
+
+
+ PROC = property(__PROC.value, __PROC.set, None, None)
+
+ _ElementMap.update({
+ __OPER.name() : __OPER,
+ __PROC.name() : __PROC
+ })
+ _AttributeMap.update({
+
+ })
+Namespace.addCategoryObject('typeBinding', u'T_commandes', T_commandes)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Cardinalite with content type EMPTY
+class T_Cardinalite (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Cardinalite with content type EMPTY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Cardinalite')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 57, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is pyxb.binding.datatypes.anyType
+ _ElementMap.update({
+
+ })
+ _AttributeMap.update({
+
+ })
+Namespace.addCategoryObject('typeBinding', u'T_Cardinalite', T_Cardinalite)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_plageValeur with content type ELEMENT_ONLY
+class T_plageValeur (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_plageValeur with content type ELEMENT_ONLY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_plageValeur')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 58, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is pyxb.binding.datatypes.anyType
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}borne_sup uses Python identifier borne_sup
+ __borne_sup = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'borne_sup'), 'borne_sup', '__httpchercheurs_edf_comlogicielsefficas_T_plageValeur_httpchercheurs_edf_comlogicielsefficasborne_sup', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 26, 1), )
+
+
+ borne_sup = property(__borne_sup.value, __borne_sup.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}borne_inf uses Python identifier borne_inf
+ __borne_inf = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'borne_inf'), 'borne_inf', '__httpchercheurs_edf_comlogicielsefficas_T_plageValeur_httpchercheurs_edf_comlogicielsefficasborne_inf', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 27, 1), )
+
+
+ borne_inf = property(__borne_inf.value, __borne_inf.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}into uses Python identifier into
+ __into = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'into'), 'into', '__httpchercheurs_edf_comlogicielsefficas_T_plageValeur_httpchercheurs_edf_comlogicielsefficasinto', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 29, 1), )
+
+
+ into = property(__into.value, __into.set, None, None)
+
+ _ElementMap.update({
+ __borne_sup.name() : __borne_sup,
+ __borne_inf.name() : __borne_inf,
+ __into.name() : __into
+ })
+ _AttributeMap.update({
+
+ })
+Namespace.addCategoryObject('typeBinding', u'T_plageValeur', T_plageValeur)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_predicat2 with content type ELEMENT_ONLY
+class T_predicat2 (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_predicat2 with content type ELEMENT_ONLY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_predicat2')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 401, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is pyxb.binding.datatypes.anyType
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}p1 uses Python identifier p1
+ __p1 = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'p1'), 'p1', '__httpchercheurs_edf_comlogicielsefficas_T_predicat2_httpchercheurs_edf_comlogicielsefficasp1', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 403, 3), )
+
+
+ p1 = property(__p1.value, __p1.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}p2 uses Python identifier p2
+ __p2 = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'p2'), 'p2', '__httpchercheurs_edf_comlogicielsefficas_T_predicat2_httpchercheurs_edf_comlogicielsefficasp2', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 404, 3), )
+
+
+ p2 = property(__p2.value, __p2.set, None, None)
+
+ _ElementMap.update({
+ __p1.name() : __p1,
+ __p2.name() : __p2
+ })
+ _AttributeMap.update({
+
+ })
+Namespace.addCategoryObject('typeBinding', u'T_predicat2', T_predicat2)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_regles with content type ELEMENT_ONLY
+class T_regles (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_regles with content type ELEMENT_ONLY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_regles')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 428, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is pyxb.binding.datatypes.anyType
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}A_CLASSER uses Python identifier A_CLASSER
+ __A_CLASSER = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'A_CLASSER'), 'A_CLASSER', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasA_CLASSER', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 408, 1), )
+
+
+ A_CLASSER = property(__A_CLASSER.value, __A_CLASSER.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}AU_MOINS_UN uses Python identifier AU_MOINS_UN
+ __AU_MOINS_UN = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'AU_MOINS_UN'), 'AU_MOINS_UN', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasAU_MOINS_UN', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 409, 1), )
+
+
+ AU_MOINS_UN = property(__AU_MOINS_UN.value, __AU_MOINS_UN.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}AU_PLUS_UN uses Python identifier AU_PLUS_UN
+ __AU_PLUS_UN = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'AU_PLUS_UN'), 'AU_PLUS_UN', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasAU_PLUS_UN', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 410, 1), )
+
+
+ AU_PLUS_UN = property(__AU_PLUS_UN.value, __AU_PLUS_UN.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}ENSEMBLE uses Python identifier ENSEMBLE
+ __ENSEMBLE = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'ENSEMBLE'), 'ENSEMBLE', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasENSEMBLE', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 411, 1), )
+
+
+ ENSEMBLE = property(__ENSEMBLE.value, __ENSEMBLE.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}EXCLUS uses Python identifier EXCLUS
+ __EXCLUS = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'EXCLUS'), 'EXCLUS', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasEXCLUS', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 412, 1), )
+
+
+ EXCLUS = property(__EXCLUS.value, __EXCLUS.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}PRESENT_ABSENT uses Python identifier PRESENT_ABSENT
+ __PRESENT_ABSENT = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_ABSENT'), 'PRESENT_ABSENT', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasPRESENT_ABSENT', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 413, 1), )
+
+
+ PRESENT_ABSENT = property(__PRESENT_ABSENT.value, __PRESENT_ABSENT.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}PRESENT_PRESENT uses Python identifier PRESENT_PRESENT
+ __PRESENT_PRESENT = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_PRESENT'), 'PRESENT_PRESENT', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasPRESENT_PRESENT', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 414, 1), )
+
+
+ PRESENT_PRESENT = property(__PRESENT_PRESENT.value, __PRESENT_PRESENT.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}UN_PARMI uses Python identifier UN_PARMI
+ __UN_PARMI = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'UN_PARMI'), 'UN_PARMI', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasUN_PARMI', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 415, 1), )
+
+
+ UN_PARMI = property(__UN_PARMI.value, __UN_PARMI.set, None, None)
+
+ _ElementMap.update({
+ __A_CLASSER.name() : __A_CLASSER,
+ __AU_MOINS_UN.name() : __AU_MOINS_UN,
+ __AU_PLUS_UN.name() : __AU_PLUS_UN,
+ __ENSEMBLE.name() : __ENSEMBLE,
+ __EXCLUS.name() : __EXCLUS,
+ __PRESENT_ABSENT.name() : __PRESENT_ABSENT,
+ __PRESENT_PRESENT.name() : __PRESENT_PRESENT,
+ __UN_PARMI.name() : __UN_PARMI
+ })
+ _AttributeMap.update({
+
+ })
+Namespace.addCategoryObject('typeBinding', u'T_regles', T_regles)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_grma with content type EMPTY
+class T_grma (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_grma with content type EMPTY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_grma')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 532, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is pyxb.binding.datatypes.anyType
+ _ElementMap.update({
+
+ })
+ _AttributeMap.update({
+
+ })
+Namespace.addCategoryObject('typeBinding', u'T_grma', T_grma)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_grno with content type EMPTY
+class T_grno (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_grno with content type EMPTY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_grno')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 533, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is pyxb.binding.datatypes.anyType
+ _ElementMap.update({
+
+ })
+ _AttributeMap.update({
+
+ })
+Namespace.addCategoryObject('typeBinding', u'T_grno', T_grno)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_SalomeEntry with content type EMPTY
+class T_SalomeEntry (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_SalomeEntry with content type EMPTY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_SalomeEntry')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 534, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is pyxb.binding.datatypes.anyType
+ _ElementMap.update({
+
+ })
+ _AttributeMap.update({
+
+ })
+Namespace.addCategoryObject('typeBinding', u'T_SalomeEntry', T_SalomeEntry)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Fichier with content type EMPTY
+class T_Fichier (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Fichier with content type EMPTY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Fichier')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 535, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is pyxb.binding.datatypes.anyType
+ _ElementMap.update({
+
+ })
+ _AttributeMap.update({
+
+ })
+Namespace.addCategoryObject('typeBinding', u'T_Fichier', T_Fichier)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_tuple with content type SIMPLE
+class T_tuple (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_tuple with content type SIMPLE"""
+ _TypeDefinition = pyxb.binding.datatypes.anySimpleType
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_tuple')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 591, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is pyxb.binding.datatypes.anySimpleType
+
+ # Attribute n uses Python identifier n
+ __n = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'n'), 'n', '__httpchercheurs_edf_comlogicielsefficas_T_tuple_n', pyxb.binding.datatypes.int, required=True)
+ __n._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 594, 4)
+ __n._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 594, 4)
+
+ n = property(__n.value, __n.set, None, None)
+
+ _ElementMap.update({
+
+ })
+ _AttributeMap.update({
+ __n.name() : __n
+ })
+Namespace.addCategoryObject('typeBinding', u'T_tuple', T_tuple)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_into with content type ELEMENT_ONLY
+class T_into (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_into with content type ELEMENT_ONLY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_into')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 638, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is pyxb.binding.datatypes.anyType
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}fonction_utilisateur uses Python identifier fonction_utilisateur
+ __fonction_utilisateur = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'fonction_utilisateur'), 'fonction_utilisateur', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficasfonction_utilisateur', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 11, 1), )
+
+
+ fonction_utilisateur = property(__fonction_utilisateur.value, __fonction_utilisateur.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}typesimple uses Python identifier typesimple
+ __typesimple = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'typesimple'), 'typesimple', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficastypesimple', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 601, 1), )
+
+
+ typesimple = property(__typesimple.value, __typesimple.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}matrice_double uses Python identifier matrice_double
+ __matrice_double = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'matrice_double'), 'matrice_double', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficasmatrice_double', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 602, 1), )
+
+
+ matrice_double = property(__matrice_double.value, __matrice_double.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}matrice_symetrique_double uses Python identifier matrice_symetrique_double
+ __matrice_symetrique_double = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'matrice_symetrique_double'), 'matrice_symetrique_double', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficasmatrice_symetrique_double', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 603, 1), )
+
+
+ matrice_symetrique_double = property(__matrice_symetrique_double.value, __matrice_symetrique_double.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}tuple uses Python identifier tuple
+ __tuple = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'tuple'), 'tuple', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficastuple', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 604, 1), )
+
+
+ tuple = property(__tuple.value, __tuple.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}classe_utilisateur uses Python identifier classe_utilisateur
+ __classe_utilisateur = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'classe_utilisateur'), 'classe_utilisateur', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficasclasse_utilisateur', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 605, 1), )
+
+
+ classe_utilisateur = property(__classe_utilisateur.value, __classe_utilisateur.set, None, None)
+
+ _ElementMap.update({
+ __fonction_utilisateur.name() : __fonction_utilisateur,
+ __typesimple.name() : __typesimple,
+ __matrice_double.name() : __matrice_double,
+ __matrice_symetrique_double.name() : __matrice_symetrique_double,
+ __tuple.name() : __tuple,
+ __classe_utilisateur.name() : __classe_utilisateur
+ })
+ _AttributeMap.update({
+
+ })
+Namespace.addCategoryObject('typeBinding', u'T_into', T_into)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_doc with content type EMPTY
+class T_doc (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_doc with content type EMPTY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_doc')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 41, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is pyxb.binding.datatypes.anyType
+
+ # Attribute {http://chercheurs.edf.com/logiciels/efficas}fr uses Python identifier fr
+ __fr = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'fr'), 'fr', '__httpchercheurs_edf_comlogicielsefficas_T_doc_httpchercheurs_edf_comlogicielsefficasfr', pyxb.binding.datatypes.string)
+ __fr._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 33, 1)
+ __fr._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 42, 2)
+
+ fr = property(__fr.value, __fr.set, None, None)
+
+
+ # Attribute {http://chercheurs.edf.com/logiciels/efficas}ang uses Python identifier ang
+ __ang = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'ang'), 'ang', '__httpchercheurs_edf_comlogicielsefficas_T_doc_httpchercheurs_edf_comlogicielsefficasang', pyxb.binding.datatypes.string)
+ __ang._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 34, 1)
+ __ang._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 43, 2)
+
+ ang = property(__ang.value, __ang.set, None, None)
+
+
+ # Attribute {http://chercheurs.edf.com/logiciels/efficas}docu uses Python identifier docu
+ __docu = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'docu'), 'docu', '__httpchercheurs_edf_comlogicielsefficas_T_doc_httpchercheurs_edf_comlogicielsefficasdocu', AT_docu)
+ __docu._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 35, 1)
+ __docu._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 44, 2)
+
+ docu = property(__docu.value, __docu.set, None, None)
+
+ _ElementMap.update({
+
+ })
+ _AttributeMap.update({
+ __fr.name() : __fr,
+ __ang.name() : __ang,
+ __docu.name() : __docu
+ })
+Namespace.addCategoryObject('typeBinding', u'T_doc', T_doc)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common with content type ELEMENT_ONLY
+class T_Accas_Common (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common with content type ELEMENT_ONLY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Accas_Common')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 67, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is pyxb.binding.datatypes.anyType
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}doc uses Python identifier doc
+ __doc = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'doc'), 'doc', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasdoc', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 5, 1), )
+
+
+ doc = property(__doc.value, __doc.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}regles uses Python identifier regles
+ __regles = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'regles'), 'regles', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasregles', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 7, 1), )
+
+
+ regles = property(__regles.value, __regles.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}SIMP uses Python identifier SIMP
+ __SIMP = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'SIMP'), 'SIMP', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasSIMP', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 23, 1), )
+
+
+ SIMP = property(__SIMP.value, __SIMP.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}FACT uses Python identifier FACT
+ __FACT = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'FACT'), 'FACT', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasFACT', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 246, 1), )
+
+
+ FACT = property(__FACT.value, __FACT.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}BLOC uses Python identifier BLOC
+ __BLOC = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'BLOC'), 'BLOC', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasBLOC', True, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 296, 1), )
+
+
+ BLOC = property(__BLOC.value, __BLOC.set, None, None)
+
+
+ # Attribute {http://chercheurs.edf.com/logiciels/efficas}nom uses Python identifier nom
+ __nom = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'nom'), 'nom', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasnom', AT_nom, required=True)
+ __nom._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 31, 1)
+ __nom._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 77, 2)
+
+ nom = property(__nom.value, __nom.set, None, None)
+
+ _ElementMap.update({
+ __doc.name() : __doc,
+ __regles.name() : __regles,
+ __SIMP.name() : __SIMP,
+ __FACT.name() : __FACT,
+ __BLOC.name() : __BLOC
+ })
+ _AttributeMap.update({
+ __nom.name() : __nom
+ })
+Namespace.addCategoryObject('typeBinding', u'T_Accas_Common', T_Accas_Common)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_SIMP with content type ELEMENT_ONLY
+class T_SIMP (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_SIMP with content type ELEMENT_ONLY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_SIMP')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 318, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is pyxb.binding.datatypes.anyType
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}doc uses Python identifier doc
+ __doc = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'doc'), 'doc', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasdoc', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 5, 1), )
+
+
+ doc = property(__doc.value, __doc.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}valeurDef uses Python identifier valeurDef
+ __valeurDef = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'valeurDef'), 'valeurDef', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasvaleurDef', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 9, 1), )
+
+
+ valeurDef = property(__valeurDef.value, __valeurDef.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}valeurSugg uses Python identifier valeurSugg
+ __valeurSugg = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'valeurSugg'), 'valeurSugg', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasvaleurSugg', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 10, 1), )
+
+
+ valeurSugg = property(__valeurSugg.value, __valeurSugg.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}validators uses Python identifier validators
+ __validators = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'validators'), 'validators', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasvalidators', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 19, 1), )
+
+
+ validators = property(__validators.value, __validators.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}plageValeur uses Python identifier plageValeur
+ __plageValeur = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'plageValeur'), 'plageValeur', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasplageValeur', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 20, 1), )
+
+
+ plageValeur = property(__plageValeur.value, __plageValeur.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}typeAttendu uses Python identifier typeAttendu
+ __typeAttendu = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'typeAttendu'), 'typeAttendu', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficastypeAttendu', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 21, 1), )
+
+
+ typeAttendu = property(__typeAttendu.value, __typeAttendu.set, None, None)
+
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}portee uses Python identifier portee
+ __portee = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'portee'), 'portee', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasportee', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 24, 1), )
+
+
+ portee = property(__portee.value, __portee.set, None, None)
+
+
+ # Attribute {http://chercheurs.edf.com/logiciels/efficas}nom uses Python identifier nom
+ __nom = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'nom'), 'nom', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasnom', AT_nom, required=True)
+ __nom._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 31, 1)
+ __nom._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 332, 2)
+
+ nom = property(__nom.value, __nom.set, None, None)
+
+
+ # Attribute {http://chercheurs.edf.com/logiciels/efficas}statut uses Python identifier statut
+ __statut = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'statut'), 'statut', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasstatut', AT_statut, unicode_default=u'o')
+ __statut._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 37, 1)
+ __statut._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 333, 2)
+
+ statut = property(__statut.value, __statut.set, None, None)
+
+
+ # Attribute {http://chercheurs.edf.com/logiciels/efficas}max_occurs uses Python identifier max_occurs
+ __max_occurs = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'max_occurs'), 'max_occurs', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasmax_occurs', AT_max_occurs, unicode_default=u'1')
+ __max_occurs._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 38, 1)
+ __max_occurs._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 335, 2)
+
+ max_occurs = property(__max_occurs.value, __max_occurs.set, None, None)
+
+
+ # Attribute {http://chercheurs.edf.com/logiciels/efficas}min_occurs uses Python identifier min_occurs
+ __min_occurs = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'min_occurs'), 'min_occurs', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasmin_occurs', AT_min_occurs, unicode_default=u'1')
+ __min_occurs._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 39, 1)
+ __min_occurs._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 334, 2)
+
+ min_occurs = property(__min_occurs.value, __min_occurs.set, None, None)
+
+ _ElementMap.update({
+ __doc.name() : __doc,
+ __valeurDef.name() : __valeurDef,
+ __valeurSugg.name() : __valeurSugg,
+ __validators.name() : __validators,
+ __plageValeur.name() : __plageValeur,
+ __typeAttendu.name() : __typeAttendu,
+ __portee.name() : __portee
+ })
+ _AttributeMap.update({
+ __nom.name() : __nom,
+ __statut.name() : __statut,
+ __max_occurs.name() : __max_occurs,
+ __min_occurs.name() : __min_occurs
+ })
+Namespace.addCategoryObject('typeBinding', u'T_SIMP', T_SIMP)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Matrice_double with content type SIMPLE
+class T_Matrice_double (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Matrice_double with content type SIMPLE"""
+ _TypeDefinition = T_list_double
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Matrice_double')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 569, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is T_list_double
+
+ # Attribute n uses Python identifier n
+ __n = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'n'), 'n', '__httpchercheurs_edf_comlogicielsefficas_T_Matrice_double_n', pyxb.binding.datatypes.integer, required=True)
+ __n._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 572, 4)
+ __n._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 572, 4)
+
+ n = property(__n.value, __n.set, None, None)
+
+
+ # Attribute m uses Python identifier m
+ __m = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'm'), 'm', '__httpchercheurs_edf_comlogicielsefficas_T_Matrice_double_m', pyxb.binding.datatypes.integer, required=True)
+ __m._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 573, 4)
+ __m._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 573, 4)
+
+ m = property(__m.value, __m.set, None, None)
+
+ _ElementMap.update({
+
+ })
+ _AttributeMap.update({
+ __n.name() : __n,
+ __m.name() : __m
+ })
+Namespace.addCategoryObject('typeBinding', u'T_Matrice_double', T_Matrice_double)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Matrice_Symetrique_double with content type SIMPLE
+class T_Matrice_Symetrique_double (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Matrice_Symetrique_double with content type SIMPLE"""
+ _TypeDefinition = T_list_double
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Matrice_Symetrique_double')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 578, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is T_list_double
+
+ # Attribute n uses Python identifier n
+ __n = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'n'), 'n', '__httpchercheurs_edf_comlogicielsefficas_T_Matrice_Symetrique_double_n', pyxb.binding.datatypes.int, required=True)
+ __n._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 581, 4)
+ __n._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 581, 4)
+
+ n = property(__n.value, __n.set, None, None)
+
+ _ElementMap.update({
+
+ })
+ _AttributeMap.update({
+ __n.name() : __n
+ })
+Namespace.addCategoryObject('typeBinding', u'T_Matrice_Symetrique_double', T_Matrice_Symetrique_double)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_typeAttendu with content type ELEMENT_ONLY
+class T_typeAttendu (T_into):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_typeAttendu with content type ELEMENT_ONLY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_typeAttendu')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 649, 1)
+ _ElementMap = T_into._ElementMap.copy()
+ _AttributeMap = T_into._AttributeMap.copy()
+ # Base type is T_into
+
+ # Element typesimple ({http://chercheurs.edf.com/logiciels/efficas}typesimple) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_into
+
+ # Element matrice_double ({http://chercheurs.edf.com/logiciels/efficas}matrice_double) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_into
+
+ # Element matrice_symetrique_double ({http://chercheurs.edf.com/logiciels/efficas}matrice_symetrique_double) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_into
+
+ # Element tuple ({http://chercheurs.edf.com/logiciels/efficas}tuple) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_into
+
+ # Element classe_utilisateur ({http://chercheurs.edf.com/logiciels/efficas}classe_utilisateur) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_into
+ _ElementMap.update({
+
+ })
+ _AttributeMap.update({
+
+ })
+Namespace.addCategoryObject('typeBinding', u'T_typeAttendu', T_typeAttendu)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_OPER with content type ELEMENT_ONLY
+class T_OPER (T_Accas_Common):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_OPER with content type ELEMENT_ONLY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_OPER')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 155, 1)
+ _ElementMap = T_Accas_Common._ElementMap.copy()
+ _AttributeMap = T_Accas_Common._AttributeMap.copy()
+ # Base type is T_Accas_Common
+
+ # Element doc ({http://chercheurs.edf.com/logiciels/efficas}doc) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element regles ({http://chercheurs.edf.com/logiciels/efficas}regles) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}typeCree uses Python identifier typeCree
+ __typeCree = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'typeCree'), 'typeCree', '__httpchercheurs_edf_comlogicielsefficas_T_OPER_httpchercheurs_edf_comlogicielsefficastypeCree', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 8, 1), )
+
+
+ typeCree = property(__typeCree.value, __typeCree.set, None, None)
+
+
+ # Element SIMP ({http://chercheurs.edf.com/logiciels/efficas}SIMP) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element FACT ({http://chercheurs.edf.com/logiciels/efficas}FACT) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element BLOC ({http://chercheurs.edf.com/logiciels/efficas}BLOC) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Attribute nom inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Attribute {http://chercheurs.edf.com/logiciels/efficas}subroutine uses Python identifier subroutine
+ __subroutine = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'subroutine'), 'subroutine', '__httpchercheurs_edf_comlogicielsefficas_T_OPER_httpchercheurs_edf_comlogicielsefficassubroutine', AT_subroutine, unicode_default=u'None')
+ __subroutine._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 40, 1)
+ __subroutine._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 161, 4)
+
+ subroutine = property(__subroutine.value, __subroutine.set, None, None)
+
+ _ElementMap.update({
+ __typeCree.name() : __typeCree
+ })
+ _AttributeMap.update({
+ __subroutine.name() : __subroutine
+ })
+Namespace.addCategoryObject('typeBinding', u'T_OPER', T_OPER)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_PROC with content type ELEMENT_ONLY
+class T_PROC (T_Accas_Common):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_PROC with content type ELEMENT_ONLY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_PROC')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 239, 1)
+ _ElementMap = T_Accas_Common._ElementMap.copy()
+ _AttributeMap = T_Accas_Common._AttributeMap.copy()
+ # Base type is T_Accas_Common
+
+ # Element doc ({http://chercheurs.edf.com/logiciels/efficas}doc) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element regles ({http://chercheurs.edf.com/logiciels/efficas}regles) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element SIMP ({http://chercheurs.edf.com/logiciels/efficas}SIMP) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element FACT ({http://chercheurs.edf.com/logiciels/efficas}FACT) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element BLOC ({http://chercheurs.edf.com/logiciels/efficas}BLOC) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Attribute nom inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Attribute {http://chercheurs.edf.com/logiciels/efficas}subroutine uses Python identifier subroutine
+ __subroutine = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'subroutine'), 'subroutine', '__httpchercheurs_edf_comlogicielsefficas_T_PROC_httpchercheurs_edf_comlogicielsefficassubroutine', AT_subroutine, unicode_default=u'None')
+ __subroutine._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 40, 1)
+ __subroutine._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 242, 4)
+
+ subroutine = property(__subroutine.value, __subroutine.set, None, None)
+
+ _ElementMap.update({
+
+ })
+ _AttributeMap.update({
+ __subroutine.name() : __subroutine
+ })
+Namespace.addCategoryObject('typeBinding', u'T_PROC', T_PROC)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_FACT with content type ELEMENT_ONLY
+class T_FACT (T_Accas_Common):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_FACT with content type ELEMENT_ONLY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_FACT')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 277, 1)
+ _ElementMap = T_Accas_Common._ElementMap.copy()
+ _AttributeMap = T_Accas_Common._AttributeMap.copy()
+ # Base type is T_Accas_Common
+
+ # Element doc ({http://chercheurs.edf.com/logiciels/efficas}doc) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element regles ({http://chercheurs.edf.com/logiciels/efficas}regles) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element SIMP ({http://chercheurs.edf.com/logiciels/efficas}SIMP) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element FACT ({http://chercheurs.edf.com/logiciels/efficas}FACT) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element BLOC ({http://chercheurs.edf.com/logiciels/efficas}BLOC) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Attribute nom inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Attribute {http://chercheurs.edf.com/logiciels/efficas}statut uses Python identifier statut
+ __statut = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'statut'), 'statut', '__httpchercheurs_edf_comlogicielsefficas_T_FACT_httpchercheurs_edf_comlogicielsefficasstatut', AT_statut, unicode_default=u'o')
+ __statut._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 37, 1)
+ __statut._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 280, 4)
+
+ statut = property(__statut.value, __statut.set, None, None)
+
+
+ # Attribute {http://chercheurs.edf.com/logiciels/efficas}max_occurs uses Python identifier max_occurs
+ __max_occurs = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'max_occurs'), 'max_occurs', '__httpchercheurs_edf_comlogicielsefficas_T_FACT_httpchercheurs_edf_comlogicielsefficasmax_occurs', AT_max_occurs, unicode_default=u'1')
+ __max_occurs._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 38, 1)
+ __max_occurs._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 282, 4)
+
+ max_occurs = property(__max_occurs.value, __max_occurs.set, None, None)
+
+
+ # Attribute {http://chercheurs.edf.com/logiciels/efficas}min_occurs uses Python identifier min_occurs
+ __min_occurs = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'min_occurs'), 'min_occurs', '__httpchercheurs_edf_comlogicielsefficas_T_FACT_httpchercheurs_edf_comlogicielsefficasmin_occurs', AT_min_occurs, unicode_default=u'1')
+ __min_occurs._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 39, 1)
+ __min_occurs._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 281, 4)
+
+ min_occurs = property(__min_occurs.value, __min_occurs.set, None, None)
+
+ _ElementMap.update({
+
+ })
+ _AttributeMap.update({
+ __statut.name() : __statut,
+ __max_occurs.name() : __max_occurs,
+ __min_occurs.name() : __min_occurs
+ })
+Namespace.addCategoryObject('typeBinding', u'T_FACT', T_FACT)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_BLOC with content type ELEMENT_ONLY
+class T_BLOC (T_Accas_Common):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_BLOC with content type ELEMENT_ONLY"""
+ _TypeDefinition = None
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_BLOC')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 309, 1)
+ _ElementMap = T_Accas_Common._ElementMap.copy()
+ _AttributeMap = T_Accas_Common._AttributeMap.copy()
+ # Base type is T_Accas_Common
+
+ # Element doc ({http://chercheurs.edf.com/logiciels/efficas}doc) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element regles ({http://chercheurs.edf.com/logiciels/efficas}regles) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element SIMP ({http://chercheurs.edf.com/logiciels/efficas}SIMP) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element {http://chercheurs.edf.com/logiciels/efficas}condition uses Python identifier condition
+ __condition = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'condition'), 'condition', '__httpchercheurs_edf_comlogicielsefficas_T_BLOC_httpchercheurs_edf_comlogicielsefficascondition', False, pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 25, 1), )
+
+
+ condition = property(__condition.value, __condition.set, None, None)
+
+
+ # Element FACT ({http://chercheurs.edf.com/logiciels/efficas}FACT) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Element BLOC ({http://chercheurs.edf.com/logiciels/efficas}BLOC) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+
+ # Attribute nom inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas_Common
+ _ElementMap.update({
+ __condition.name() : __condition
+ })
+ _AttributeMap.update({
+
+ })
+Namespace.addCategoryObject('typeBinding', u'T_BLOC', T_BLOC)
+
+
+# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_classe_utilisateur_username with content type SIMPLE
+class T_classe_utilisateur_username (pyxb.binding.basis.complexTypeDefinition):
+ """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_classe_utilisateur_username with content type SIMPLE"""
+ _TypeDefinition = T_classe_utilisateur_name
+ _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE
+ _Abstract = False
+ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_classe_utilisateur_username')
+ _XSDLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 513, 1)
+ _ElementMap = {}
+ _AttributeMap = {}
+ # Base type is T_classe_utilisateur_name
+
+ # Attribute {http://chercheurs.edf.com/logiciels/efficas}nom uses Python identifier nom
+ __nom = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'nom'), 'nom', '__httpchercheurs_edf_comlogicielsefficas_T_classe_utilisateur_username_httpchercheurs_edf_comlogicielsefficasnom', AT_nom, required=True)
+ __nom._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 31, 1)
+ __nom._UseLocation = pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 516, 4)
+
+ nom = property(__nom.value, __nom.set, None, None)
+
+ _ElementMap.update({
+
+ })
+ _AttributeMap.update({
+ __nom.name() : __nom
+ })
+Namespace.addCategoryObject('typeBinding', u'T_classe_utilisateur_username', T_classe_utilisateur_username)
+
+
+cata = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'cata'), T_cata, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 6, 1))
+Namespace.addCategoryObject('elementBinding', cata.name().localName(), cata)
+
+regles = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'regles'), T_regles, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 7, 1))
+Namespace.addCategoryObject('elementBinding', regles.name().localName(), regles)
+
+fonction_utilisateur = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'fonction_utilisateur'), T_fonction_python, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 11, 1))
+Namespace.addCategoryObject('elementBinding', fonction_utilisateur.name().localName(), fonction_utilisateur)
+
+commandes = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'commandes'), T_commandes, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 12, 1))
+Namespace.addCategoryObject('elementBinding', commandes.name().localName(), commandes)
+
+validators = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'validators'), T_validators, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 19, 1))
+Namespace.addCategoryObject('elementBinding', validators.name().localName(), validators)
+
+plageValeur = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'plageValeur'), T_plageValeur, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 20, 1))
+Namespace.addCategoryObject('elementBinding', plageValeur.name().localName(), plageValeur)
+
+portee = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'portee'), T_portee, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 24, 1), unicode_default=u'None')
+Namespace.addCategoryObject('elementBinding', portee.name().localName(), portee)
+
+condition = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'condition'), T_fonction_python, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 25, 1))
+Namespace.addCategoryObject('elementBinding', condition.name().localName(), condition)
+
+into = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'into'), T_into, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 29, 1))
+Namespace.addCategoryObject('elementBinding', into.name().localName(), into)
+
+A_CLASSER = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'A_CLASSER'), T_predicat2, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 408, 1))
+Namespace.addCategoryObject('elementBinding', A_CLASSER.name().localName(), A_CLASSER)
+
+tuple = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'tuple'), T_tuple, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 604, 1))
+Namespace.addCategoryObject('elementBinding', tuple.name().localName(), tuple)
+
+doc = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'doc'), T_doc, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 5, 1))
+Namespace.addCategoryObject('elementBinding', doc.name().localName(), doc)
+
+typeCree = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typeCree'), T_classe_utilisateur, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 8, 1))
+Namespace.addCategoryObject('elementBinding', typeCree.name().localName(), typeCree)
+
+valeurDef = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'valeurDef'), T_typeAttendu, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 9, 1))
+Namespace.addCategoryObject('elementBinding', valeurDef.name().localName(), valeurDef)
+
+valeurSugg = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'valeurSugg'), T_typeAttendu, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 10, 1))
+Namespace.addCategoryObject('elementBinding', valeurSugg.name().localName(), valeurSugg)
+
+SIMP = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'SIMP'), T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 23, 1))
+Namespace.addCategoryObject('elementBinding', SIMP.name().localName(), SIMP)
+
+borne_sup = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'borne_sup'), T_typeAttendu, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 26, 1))
+Namespace.addCategoryObject('elementBinding', borne_sup.name().localName(), borne_sup)
+
+borne_inf = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'borne_inf'), T_typeAttendu, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 27, 1))
+Namespace.addCategoryObject('elementBinding', borne_inf.name().localName(), borne_inf)
+
+AU_MOINS_UN = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'AU_MOINS_UN'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 409, 1))
+Namespace.addCategoryObject('elementBinding', AU_MOINS_UN.name().localName(), AU_MOINS_UN)
+
+AU_PLUS_UN = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'AU_PLUS_UN'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 410, 1))
+Namespace.addCategoryObject('elementBinding', AU_PLUS_UN.name().localName(), AU_PLUS_UN)
+
+ENSEMBLE = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'ENSEMBLE'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 411, 1))
+Namespace.addCategoryObject('elementBinding', ENSEMBLE.name().localName(), ENSEMBLE)
+
+EXCLUS = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'EXCLUS'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 412, 1))
+Namespace.addCategoryObject('elementBinding', EXCLUS.name().localName(), EXCLUS)
+
+PRESENT_ABSENT = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_ABSENT'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 413, 1))
+Namespace.addCategoryObject('elementBinding', PRESENT_ABSENT.name().localName(), PRESENT_ABSENT)
+
+PRESENT_PRESENT = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_PRESENT'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 414, 1))
+Namespace.addCategoryObject('elementBinding', PRESENT_PRESENT.name().localName(), PRESENT_PRESENT)
+
+UN_PARMI = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'UN_PARMI'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 415, 1))
+Namespace.addCategoryObject('elementBinding', UN_PARMI.name().localName(), UN_PARMI)
+
+matrice_double = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'matrice_double'), T_Matrice_double, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 602, 1))
+Namespace.addCategoryObject('elementBinding', matrice_double.name().localName(), matrice_double)
+
+matrice_symetrique_double = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'matrice_symetrique_double'), T_Matrice_Symetrique_double, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 603, 1))
+Namespace.addCategoryObject('elementBinding', matrice_symetrique_double.name().localName(), matrice_symetrique_double)
+
+classe_utilisateur = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'classe_utilisateur'), T_classe_utilisateur, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 605, 1))
+Namespace.addCategoryObject('elementBinding', classe_utilisateur.name().localName(), classe_utilisateur)
+
+OPER = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'OPER'), T_OPER, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 79, 1))
+Namespace.addCategoryObject('elementBinding', OPER.name().localName(), OPER)
+
+PROC = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PROC'), T_PROC, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 165, 1))
+Namespace.addCategoryObject('elementBinding', PROC.name().localName(), PROC)
+
+FACT = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'FACT'), T_FACT, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 246, 1))
+Namespace.addCategoryObject('elementBinding', FACT.name().localName(), FACT)
+
+BLOC = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'BLOC'), T_BLOC, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 296, 1))
+Namespace.addCategoryObject('elementBinding', BLOC.name().localName(), BLOC)
+
+typeAttendu = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typeAttendu'), T_name, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 21, 1))
+Namespace.addCategoryObject('elementBinding', typeAttendu.name().localName(), typeAttendu)
+
+typesimple = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typesimple'), T_simple, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 601, 1))
+Namespace.addCategoryObject('elementBinding', typesimple.name().localName(), typesimple)
+
+classeUtilisateurName = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'classeUtilisateurName'), T_classe_utilisateur_username, abstract=pyxb.binding.datatypes.boolean(1), location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 22, 1))
+Namespace.addCategoryObject('elementBinding', classeUtilisateurName.name().localName(), classeUtilisateurName)
+
+
+
+T_cata._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'commandes'), T_commandes, scope=T_cata, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 12, 1)))
+
+def _BuildAutomaton ():
+ # Remove this helper function from the namespace after it is invoked
+ global _BuildAutomaton
+ del _BuildAutomaton
+ import pyxb.utils.fac as fac
+
+ counters = set()
+ cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 48, 3))
+ counters.add(cc_0)
+ states = []
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_0, False))
+ symbol = pyxb.binding.content.ElementUse(T_cata._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'commandes')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 48, 3))
+ st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_0)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ fac.UpdateInstruction(cc_0, True) ]))
+ st_0._set_transitionSet(transitions)
+ return fac.Automaton(states, counters, True, containing_state=None)
+T_cata._Automaton = _BuildAutomaton()
+
+
+
+
+T_commandes._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'OPER'), T_OPER, scope=T_commandes, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 79, 1)))
+
+T_commandes._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PROC'), T_PROC, scope=T_commandes, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 165, 1)))
+
+def _BuildAutomaton_ ():
+ # Remove this helper function from the namespace after it is invoked
+ global _BuildAutomaton_
+ del _BuildAutomaton_
+ import pyxb.utils.fac as fac
+
+ counters = set()
+ cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 52, 2))
+ counters.add(cc_0)
+ states = []
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_0, False))
+ symbol = pyxb.binding.content.ElementUse(T_commandes._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'OPER')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 53, 3))
+ st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_0)
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_0, False))
+ symbol = pyxb.binding.content.ElementUse(T_commandes._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'PROC')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 54, 3))
+ st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_1)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ fac.UpdateInstruction(cc_0, True) ]))
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_0, True) ]))
+ st_0._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ fac.UpdateInstruction(cc_0, True) ]))
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_0, True) ]))
+ st_1._set_transitionSet(transitions)
+ return fac.Automaton(states, counters, True, containing_state=None)
+T_commandes._Automaton = _BuildAutomaton_()
+
+
+
+
+T_plageValeur._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'borne_sup'), T_typeAttendu, scope=T_plageValeur, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 26, 1)))
+
+T_plageValeur._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'borne_inf'), T_typeAttendu, scope=T_plageValeur, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 27, 1)))
+
+T_plageValeur._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'into'), T_into, scope=T_plageValeur, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 29, 1)))
+
+def _BuildAutomaton_2 ():
+ # Remove this helper function from the namespace after it is invoked
+ global _BuildAutomaton_2
+ del _BuildAutomaton_2
+ import pyxb.utils.fac as fac
+
+ counters = set()
+ cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 61, 4))
+ counters.add(cc_0)
+ cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 62, 4))
+ counters.add(cc_1)
+ states = []
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_0, False))
+ symbol = pyxb.binding.content.ElementUse(T_plageValeur._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'borne_sup')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 61, 4))
+ st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_0)
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_1, False))
+ symbol = pyxb.binding.content.ElementUse(T_plageValeur._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'borne_inf')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 62, 4))
+ st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_1)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_plageValeur._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'into')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 64, 3))
+ st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_2)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ fac.UpdateInstruction(cc_0, True) ]))
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ st_0._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_1, True) ]))
+ st_1._set_transitionSet(transitions)
+ transitions = []
+ st_2._set_transitionSet(transitions)
+ return fac.Automaton(states, counters, True, containing_state=None)
+T_plageValeur._Automaton = _BuildAutomaton_2()
+
+
+
+
+T_predicat2._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'p1'), T_predicat1, scope=T_predicat2, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 403, 3)))
+
+T_predicat2._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'p2'), AT_nom, scope=T_predicat2, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 404, 3)))
+
+def _BuildAutomaton_3 ():
+ # Remove this helper function from the namespace after it is invoked
+ global _BuildAutomaton_3
+ del _BuildAutomaton_3
+ import pyxb.utils.fac as fac
+
+ counters = set()
+ states = []
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_predicat2._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'p1')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 403, 3))
+ st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_0)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_predicat2._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'p2')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 404, 3))
+ st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_1)
+ transitions = []
+ transitions.append(fac.Transition(st_1, [
+ ]))
+ st_0._set_transitionSet(transitions)
+ transitions = []
+ st_1._set_transitionSet(transitions)
+ return fac.Automaton(states, counters, False, containing_state=None)
+T_predicat2._Automaton = _BuildAutomaton_3()
+
+
+
+
+T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'A_CLASSER'), T_predicat2, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 408, 1)))
+
+T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'AU_MOINS_UN'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 409, 1)))
+
+T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'AU_PLUS_UN'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 410, 1)))
+
+T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'ENSEMBLE'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 411, 1)))
+
+T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'EXCLUS'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 412, 1)))
+
+T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_ABSENT'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 413, 1)))
+
+T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_PRESENT'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 414, 1)))
+
+T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'UN_PARMI'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 415, 1)))
+
+def _BuildAutomaton_4 ():
+ # Remove this helper function from the namespace after it is invoked
+ global _BuildAutomaton_4
+ del _BuildAutomaton_4
+ import pyxb.utils.fac as fac
+
+ counters = set()
+ states = []
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'A_CLASSER')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 418, 3))
+ st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_0)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'AU_MOINS_UN')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 419, 3))
+ st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_1)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'AU_PLUS_UN')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 420, 3))
+ st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_2)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'ENSEMBLE')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 421, 3))
+ st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_3)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'EXCLUS')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 422, 3))
+ st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_4)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_ABSENT')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 423, 3))
+ st_5 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_5)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_PRESENT')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 424, 3))
+ st_6 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_6)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'UN_PARMI')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 425, 3))
+ st_7 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_7)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ ]))
+ transitions.append(fac.Transition(st_1, [
+ ]))
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ transitions.append(fac.Transition(st_5, [
+ ]))
+ transitions.append(fac.Transition(st_6, [
+ ]))
+ transitions.append(fac.Transition(st_7, [
+ ]))
+ st_0._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ ]))
+ transitions.append(fac.Transition(st_1, [
+ ]))
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ transitions.append(fac.Transition(st_5, [
+ ]))
+ transitions.append(fac.Transition(st_6, [
+ ]))
+ transitions.append(fac.Transition(st_7, [
+ ]))
+ st_1._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ ]))
+ transitions.append(fac.Transition(st_1, [
+ ]))
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ transitions.append(fac.Transition(st_5, [
+ ]))
+ transitions.append(fac.Transition(st_6, [
+ ]))
+ transitions.append(fac.Transition(st_7, [
+ ]))
+ st_2._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ ]))
+ transitions.append(fac.Transition(st_1, [
+ ]))
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ transitions.append(fac.Transition(st_5, [
+ ]))
+ transitions.append(fac.Transition(st_6, [
+ ]))
+ transitions.append(fac.Transition(st_7, [
+ ]))
+ st_3._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ ]))
+ transitions.append(fac.Transition(st_1, [
+ ]))
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ transitions.append(fac.Transition(st_5, [
+ ]))
+ transitions.append(fac.Transition(st_6, [
+ ]))
+ transitions.append(fac.Transition(st_7, [
+ ]))
+ st_4._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ ]))
+ transitions.append(fac.Transition(st_1, [
+ ]))
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ transitions.append(fac.Transition(st_5, [
+ ]))
+ transitions.append(fac.Transition(st_6, [
+ ]))
+ transitions.append(fac.Transition(st_7, [
+ ]))
+ st_5._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ ]))
+ transitions.append(fac.Transition(st_1, [
+ ]))
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ transitions.append(fac.Transition(st_5, [
+ ]))
+ transitions.append(fac.Transition(st_6, [
+ ]))
+ transitions.append(fac.Transition(st_7, [
+ ]))
+ st_6._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ ]))
+ transitions.append(fac.Transition(st_1, [
+ ]))
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ transitions.append(fac.Transition(st_5, [
+ ]))
+ transitions.append(fac.Transition(st_6, [
+ ]))
+ transitions.append(fac.Transition(st_7, [
+ ]))
+ st_7._set_transitionSet(transitions)
+ return fac.Automaton(states, counters, False, containing_state=None)
+T_regles._Automaton = _BuildAutomaton_4()
+
+
+
+
+T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'fonction_utilisateur'), T_fonction_python, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 11, 1)))
+
+T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typesimple'), T_simple, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 601, 1)))
+
+T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'matrice_double'), T_Matrice_double, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 602, 1)))
+
+T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'matrice_symetrique_double'), T_Matrice_Symetrique_double, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 603, 1)))
+
+T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'tuple'), T_tuple, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 604, 1)))
+
+T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'classe_utilisateur'), T_classe_utilisateur, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 605, 1)))
+
+def _BuildAutomaton_5 ():
+ # Remove this helper function from the namespace after it is invoked
+ global _BuildAutomaton_5
+ del _BuildAutomaton_5
+ import pyxb.utils.fac as fac
+
+ counters = set()
+ cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 641, 3))
+ counters.add(cc_0)
+ cc_1 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 642, 3))
+ counters.add(cc_1)
+ cc_2 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 643, 3))
+ counters.add(cc_2)
+ cc_3 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 644, 3))
+ counters.add(cc_3)
+ cc_4 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 645, 3))
+ counters.add(cc_4)
+ states = []
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_0, False))
+ symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'typesimple')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 641, 3))
+ st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_0)
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_1, False))
+ symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'matrice_double')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 642, 3))
+ st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_1)
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_2, False))
+ symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'matrice_symetrique_double')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 643, 3))
+ st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_2)
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_3, False))
+ symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'tuple')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 644, 3))
+ st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_3)
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_4, False))
+ symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'classe_utilisateur')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 645, 3))
+ st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_4)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'fonction_utilisateur')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 646, 3))
+ st_5 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_5)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ fac.UpdateInstruction(cc_0, True) ]))
+ st_0._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_1, True) ]))
+ st_1._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ fac.UpdateInstruction(cc_2, True) ]))
+ st_2._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_3, True) ]))
+ st_3._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_4, True) ]))
+ st_4._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_5, [
+ ]))
+ st_5._set_transitionSet(transitions)
+ return fac.Automaton(states, counters, True, containing_state=None)
+T_into._Automaton = _BuildAutomaton_5()
+
+
+
+
+T_Accas_Common._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'doc'), T_doc, scope=T_Accas_Common, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 5, 1)))
+
+T_Accas_Common._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'regles'), T_regles, scope=T_Accas_Common, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 7, 1)))
+
+T_Accas_Common._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'SIMP'), T_SIMP, scope=T_Accas_Common, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 23, 1)))
+
+T_Accas_Common._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'FACT'), T_FACT, scope=T_Accas_Common, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 246, 1)))
+
+T_Accas_Common._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'BLOC'), T_BLOC, scope=T_Accas_Common, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 296, 1)))
+
+def _BuildAutomaton_6 ():
+ # Remove this helper function from the namespace after it is invoked
+ global _BuildAutomaton_6
+ del _BuildAutomaton_6
+ import pyxb.utils.fac as fac
+
+ counters = set()
+ cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 69, 3))
+ counters.add(cc_0)
+ cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 70, 3))
+ counters.add(cc_1)
+ states = []
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_Accas_Common._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'regles')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 69, 3))
+ st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_0)
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_Accas_Common._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 70, 3))
+ st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_1)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_Accas_Common._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'BLOC')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 72, 4))
+ st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_2)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_Accas_Common._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'FACT')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 73, 4))
+ st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_3)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_Accas_Common._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'SIMP')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 74, 4))
+ st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_4)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ fac.UpdateInstruction(cc_0, True) ]))
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_2, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ st_0._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_1, True) ]))
+ transitions.append(fac.Transition(st_2, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ st_1._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ st_2._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ st_3._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ st_4._set_transitionSet(transitions)
+ return fac.Automaton(states, counters, False, containing_state=None)
+T_Accas_Common._Automaton = _BuildAutomaton_6()
+
+
+
+
+T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'doc'), T_doc, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 5, 1)))
+
+T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'valeurDef'), T_typeAttendu, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 9, 1)))
+
+T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'valeurSugg'), T_typeAttendu, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 10, 1)))
+
+T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'validators'), T_validators, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 19, 1)))
+
+T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'plageValeur'), T_plageValeur, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 20, 1)))
+
+T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typeAttendu'), T_name, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 21, 1)))
+
+T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'portee'), T_portee, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 24, 1), unicode_default=u'None'))
+
+def _BuildAutomaton_7 ():
+ # Remove this helper function from the namespace after it is invoked
+ global _BuildAutomaton_7
+ del _BuildAutomaton_7
+ import pyxb.utils.fac as fac
+
+ counters = set()
+ cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 320, 3))
+ counters.add(cc_0)
+ cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 321, 3))
+ counters.add(cc_1)
+ cc_2 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 326, 3))
+ counters.add(cc_2)
+ cc_3 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 327, 3))
+ counters.add(cc_3)
+ cc_4 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 328, 3))
+ counters.add(cc_4)
+ cc_5 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 330, 3))
+ counters.add(cc_5)
+ states = []
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 320, 3))
+ st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_0)
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'portee')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 321, 3))
+ st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_1)
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'valeurDef')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 326, 3))
+ st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_2)
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'valeurSugg')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 327, 3))
+ st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_3)
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'plageValeur')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 328, 3))
+ st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_4)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'typeAttendu')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 329, 3))
+ st_5 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_5)
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_5, False))
+ symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'validators')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 330, 3))
+ st_6 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_6)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ fac.UpdateInstruction(cc_0, True) ]))
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_2, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_5, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ st_0._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_1, True) ]))
+ transitions.append(fac.Transition(st_2, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ transitions.append(fac.Transition(st_5, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ st_1._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ fac.UpdateInstruction(cc_2, True) ]))
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_2, False) ]))
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_2, False) ]))
+ transitions.append(fac.Transition(st_5, [
+ fac.UpdateInstruction(cc_2, False) ]))
+ st_2._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_3, True) ]))
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_3, False) ]))
+ transitions.append(fac.Transition(st_5, [
+ fac.UpdateInstruction(cc_3, False) ]))
+ st_3._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_4, True) ]))
+ transitions.append(fac.Transition(st_5, [
+ fac.UpdateInstruction(cc_4, False) ]))
+ st_4._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_6, [
+ ]))
+ st_5._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_6, [
+ fac.UpdateInstruction(cc_5, True) ]))
+ st_6._set_transitionSet(transitions)
+ return fac.Automaton(states, counters, False, containing_state=None)
+T_SIMP._Automaton = _BuildAutomaton_7()
+
+
+
+
+def _BuildAutomaton_8 ():
+ # Remove this helper function from the namespace after it is invoked
+ global _BuildAutomaton_8
+ del _BuildAutomaton_8
+ import pyxb.utils.fac as fac
+
+ counters = set()
+ cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 653, 5))
+ counters.add(cc_0)
+ cc_1 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 654, 5))
+ counters.add(cc_1)
+ cc_2 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 655, 5))
+ counters.add(cc_2)
+ cc_3 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 656, 5))
+ counters.add(cc_3)
+ cc_4 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 657, 5))
+ counters.add(cc_4)
+ states = []
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_0, False))
+ symbol = pyxb.binding.content.ElementUse(T_typeAttendu._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'typesimple')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 653, 5))
+ st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_0)
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_1, False))
+ symbol = pyxb.binding.content.ElementUse(T_typeAttendu._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'matrice_double')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 654, 5))
+ st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_1)
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_2, False))
+ symbol = pyxb.binding.content.ElementUse(T_typeAttendu._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'matrice_symetrique_double')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 655, 5))
+ st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_2)
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_3, False))
+ symbol = pyxb.binding.content.ElementUse(T_typeAttendu._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'tuple')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 656, 5))
+ st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_3)
+ final_update = set()
+ final_update.add(fac.UpdateInstruction(cc_4, False))
+ symbol = pyxb.binding.content.ElementUse(T_typeAttendu._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'classe_utilisateur')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 657, 5))
+ st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_4)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ fac.UpdateInstruction(cc_0, True) ]))
+ st_0._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_1, True) ]))
+ st_1._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ fac.UpdateInstruction(cc_2, True) ]))
+ st_2._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_3, True) ]))
+ st_3._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_4, True) ]))
+ st_4._set_transitionSet(transitions)
+ return fac.Automaton(states, counters, True, containing_state=None)
+T_typeAttendu._Automaton = _BuildAutomaton_8()
+
+
+
+
+T_OPER._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typeCree'), T_classe_utilisateur, scope=T_OPER, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 8, 1)))
+
+def _BuildAutomaton_9 ():
+ # Remove this helper function from the namespace after it is invoked
+ global _BuildAutomaton_9
+ del _BuildAutomaton_9
+ import pyxb.utils.fac as fac
+
+ counters = set()
+ cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 69, 3))
+ counters.add(cc_0)
+ cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 70, 3))
+ counters.add(cc_1)
+ states = []
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'regles')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 69, 3))
+ st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_0)
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 70, 3))
+ st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_1)
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'BLOC')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 72, 4))
+ st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_2)
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'FACT')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 73, 4))
+ st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_3)
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'SIMP')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 74, 4))
+ st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_4)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'typeCree')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 159, 5))
+ st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_5)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ fac.UpdateInstruction(cc_0, True) ]))
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_2, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ st_0._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_1, True) ]))
+ transitions.append(fac.Transition(st_2, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ st_1._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ transitions.append(fac.Transition(st_5, [
+ ]))
+ st_2._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ transitions.append(fac.Transition(st_5, [
+ ]))
+ st_3._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ transitions.append(fac.Transition(st_5, [
+ ]))
+ st_4._set_transitionSet(transitions)
+ transitions = []
+ st_5._set_transitionSet(transitions)
+ return fac.Automaton(states, counters, False, containing_state=None)
+T_OPER._Automaton = _BuildAutomaton_9()
+
+
+
+
+def _BuildAutomaton_10 ():
+ # Remove this helper function from the namespace after it is invoked
+ global _BuildAutomaton_10
+ del _BuildAutomaton_10
+ import pyxb.utils.fac as fac
+
+ counters = set()
+ cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 69, 3))
+ counters.add(cc_0)
+ cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 70, 3))
+ counters.add(cc_1)
+ states = []
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_PROC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'regles')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 69, 3))
+ st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_0)
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_PROC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 70, 3))
+ st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_1)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_PROC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'BLOC')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 72, 4))
+ st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_2)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_PROC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'FACT')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 73, 4))
+ st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_3)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_PROC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'SIMP')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 74, 4))
+ st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_4)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ fac.UpdateInstruction(cc_0, True) ]))
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_2, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ st_0._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_1, True) ]))
+ transitions.append(fac.Transition(st_2, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ st_1._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ st_2._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ st_3._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ st_4._set_transitionSet(transitions)
+ return fac.Automaton(states, counters, False, containing_state=None)
+T_PROC._Automaton = _BuildAutomaton_10()
+
+
+
+
+def _BuildAutomaton_11 ():
+ # Remove this helper function from the namespace after it is invoked
+ global _BuildAutomaton_11
+ del _BuildAutomaton_11
+ import pyxb.utils.fac as fac
+
+ counters = set()
+ cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 69, 3))
+ counters.add(cc_0)
+ cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 70, 3))
+ counters.add(cc_1)
+ states = []
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_FACT._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'regles')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 69, 3))
+ st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_0)
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_FACT._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 70, 3))
+ st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_1)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_FACT._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'BLOC')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 72, 4))
+ st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_2)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_FACT._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'FACT')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 73, 4))
+ st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_3)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_FACT._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'SIMP')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 74, 4))
+ st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_4)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ fac.UpdateInstruction(cc_0, True) ]))
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_2, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ st_0._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_1, True) ]))
+ transitions.append(fac.Transition(st_2, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ st_1._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ st_2._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ st_3._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ st_4._set_transitionSet(transitions)
+ return fac.Automaton(states, counters, False, containing_state=None)
+T_FACT._Automaton = _BuildAutomaton_11()
+
+
+
+
+T_BLOC._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'condition'), T_fonction_python, scope=T_BLOC, location=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 25, 1)))
+
+def _BuildAutomaton_12 ():
+ # Remove this helper function from the namespace after it is invoked
+ global _BuildAutomaton_12
+ del _BuildAutomaton_12
+ import pyxb.utils.fac as fac
+
+ counters = set()
+ cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 69, 3))
+ counters.add(cc_0)
+ cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 70, 3))
+ counters.add(cc_1)
+ states = []
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'regles')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 69, 3))
+ st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_0)
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 70, 3))
+ st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_1)
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'BLOC')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 72, 4))
+ st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_2)
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'FACT')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 73, 4))
+ st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_3)
+ final_update = None
+ symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'SIMP')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 74, 4))
+ st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_4)
+ final_update = set()
+ symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'condition')), pyxb.utils.utility.Location('/home/A96028/QT5GitEficasTravail/eficas/EssaiInit/model.xsd', 313, 5))
+ st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
+ states.append(st_5)
+ transitions = []
+ transitions.append(fac.Transition(st_0, [
+ fac.UpdateInstruction(cc_0, True) ]))
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_2, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_0, False) ]))
+ st_0._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_1, [
+ fac.UpdateInstruction(cc_1, True) ]))
+ transitions.append(fac.Transition(st_2, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ transitions.append(fac.Transition(st_3, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ transitions.append(fac.Transition(st_4, [
+ fac.UpdateInstruction(cc_1, False) ]))
+ st_1._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ transitions.append(fac.Transition(st_5, [
+ ]))
+ st_2._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ transitions.append(fac.Transition(st_5, [
+ ]))
+ st_3._set_transitionSet(transitions)
+ transitions = []
+ transitions.append(fac.Transition(st_2, [
+ ]))
+ transitions.append(fac.Transition(st_3, [
+ ]))
+ transitions.append(fac.Transition(st_4, [
+ ]))
+ transitions.append(fac.Transition(st_5, [
+ ]))
+ st_4._set_transitionSet(transitions)
+ transitions = []
+ st_5._set_transitionSet(transitions)
+ return fac.Automaton(states, counters, False, containing_state=None)
+T_BLOC._Automaton = _BuildAutomaton_12()
+
+
+classeUtilisateurName._setSubstitutionGroup(typeAttendu)
--- /dev/null
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+import sys,os
+import raw.efficas as efficas
+import types
+
+sys.path.insert(0,os.path.abspath(os.path.join(os.getcwd(),'..')))
+sys.path.insert(0,os.path.abspath(os.path.join(os.getcwd(),'..','UiQT5')))
+
+
+from Accas import *
+
+
+# Attention pas d heritage possible (cf doc pyxbe)
+
+dictSIMPEficasXML= { 'typ' : 'typeAttendu', 'statut' : 'statut',
+ 'min_occurs': 'min' , 'max_occurs' : 'max',
+ 'homo' : 'homo' , 'position' : 'portee',
+ 'validators': 'validators' , 'sug' : 'valeur_sugg',
+ 'defaut' : 'ValeurDef' , 'into' : ('PlageValeur','into'),
+ 'val_min' : ('PlageValeur','borne_inf') , 'val_max' : ('PlageValeur','borne_sup'),
+ 'ang' : ('doc','ang') , 'fr' : ('doc','fr',) ,
+ 'docu' : ('doc','docu'),}
+
+dictSIMPXMLEficas = {'doc' : {'fr' : 'fr' , 'ang' : 'ang' , 'docu' : 'docu' },
+ 'PlageValeur' : {'borne_sup' : 'val_max' , 'into' : 'into' , 'borne_inf' : 'val_min' ,},
+ 'statut' : 'statut' , 'validators' : 'validators' , 'homo' : 'homo' ,
+ 'ValeurDef' : 'defaut' , 'min' : 'min_occurs' ,
+ 'valeur_sugg' : 'sug' , 'portee' : 'position' , 'max' : 'max_occurs' , }
+
+
+# ------------------------------
+class monSIMP (efficas.T_SIMP):
+# ------------------------------
+
+ def explore(self):
+ print "je passe dans explore pour SIMP ", self.nom
+ self.dictArgsEficas={}
+ self.dictArgsEficas['typ']=self.typeAttendu
+ for nomXMLArg in dir(self) :
+ if nomXMLArg in dictSIMPXMLEficas.keys() :
+ nomEficasArg=dictSIMPXMLEficas[nomXMLArg]
+ argu=getattr(self,nomXMLArg)
+ if argu==None : continue
+ if type(nomEficasArg) == types.DictionaryType:
+ for nomXML in nomEficasArg.keys():
+ arguDecoupe=getattr(argu,nomXML)
+ nomEficasDecoupe=nomEficasArg[nomXML]
+ self.dictArgsEficas[nomEficasDecoupe]=arguDecoupe
+ else :
+ self.dictArgsEficas[nomEficasArg] = argu
+
+ #if argNew != None : print argNew
+ self.objAccas=A_SIMP.SIMP(**self.dictArgsEficas)
+ self.objAccas.nom=self.nom
+
+ def getAccasEquivalent(self):
+ return self.nom, self.objAccas
+
+# ------------------------------
+class monPROC(efficas.T_PROC):
+# ------------------------------
+ def explore(self):
+ print "je passe dans explore pour PROC ", self.nom
+ self.dictConstruction={}
+ self.dictConstruction['nom']=self.nom
+
+ for obj in self.content():
+ if hasattr(obj,'explore') : obj.explore ()
+ if hasattr(obj,'getAccasEquivalent') :
+ nom,objetAccas=obj.getAccasEquivalent()
+ self.dictConstruction[nom]=objetAccas
+ self.dictConstruction['op']=None
+ self.objAccas=A_PROC.PROC(**self.dictConstruction)
+ print dir(self.objAccas)
+ print self.objAccas.entites
+
+
+# ------------------------------
+class monFACT(efficas.T_FACT):
+# ------------------------------
+ def explore(self):
+ #print "je passe dans explore pour FACT ", self.nom
+ self.dictConstruction={}
+ for obj in self.content():
+ if hasattr(obj,'explore') : obj.explore
+ if hasattr(obj,'creeAccasEquivalent') :
+ nom,objetAccas=obj.creeAccasEquivalent()
+ self.dictConstruction[nom]=objetAccas
+ self.objAccas=A_FACT.FACT(**self.dictConstruction)
+
+ def getAccasEquivalent(self):
+ return self.nom, self.objAccas
+
+
+# ------------------------------
+class monCata(efficas.T_cata):
+# ------------------------------
+ def exploreCata(self):
+ # On positionne le contexte ACCAS
+ self.JdC = JDC_CATA (code = 'MED', execmodul = None,)
+ objAExplorer=self.commandes[0]
+ for obj in objAExplorer.content():
+ if hasattr(obj,'explore') : obj.explore()
+
+
+
+efficas.T_SIMP._SetSupersedingClass(monSIMP)
+efficas.T_FACT._SetSupersedingClass(monFACT)
+efficas.T_PROC._SetSupersedingClass(monPROC)
+efficas.T_cata._SetSupersedingClass(monCata)
+
+if __name__ == "__main__":
+# print dir(efficas)
+# print dir(efficas.T_SIMP)
+
+
+ xml = open('Cata_MED_FAM.xml').read()
+ SchemaMed = efficas.CreateFromDocument(xml)
+ SchemaMed.exploreCata()
+
+ #print dir(efficas.T_SIMP)
+ #print dir(efficas.T_SIMP)
+
+ #for maCommande in monCata.commandes :
+ # for monProc in maCommande.PROC:
+ # for monFact in monProc.FACT:
+ # for simp in monFact.SIMP:
+ # simp.creeAccasEquivalent()
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<cata xmlns="http://chercheurs.edf.com/logiciels/efficas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://chercheurs.edf.com/logiciels/efficas file:///Z:/home_fayolle/MED_SVN/PASCALE/XSD/Model%20Efficas%20(1.1)%20%20v5.xsd">\r
-<commandes>\r
-<PROC xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" efficas:nom="FAS">\r
- <efficas:FACT efficas:nom="FAMILY_MESH_NAME_REF" efficas:statut="o" efficas:min_occurs="1" efficas:max_occurs="-1">\r
- <SIMP efficas:nom="NAME" efficas:statut="o"><typeAttendu>TXM</typeAttendu></SIMP>\r
- <efficas:FACT efficas:nom="ELEM" efficas:statut="f" efficas:min_occurs="1" efficas:max_occurs="-1">\r
-<!-- <efficas:regles>\r
- --><!-- Ajouter des contraintes de vérification de la présence ATT et GRO --><!--\r
- <efficas:PRESENT_PRESENT>ATT GRO</efficas:PRESENT_PRESENT>\r
- </efficas:regles>-->\r
- <efficas:SIMP efficas:nom="NUM" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>TXM</typeAttendu></efficas:SIMP>\r
- <efficas:SIMP efficas:nom="NAME" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>TXM</typeAttendu></efficas:SIMP>\r
- <efficas:FACT efficas:nom="ATT" efficas:statut="f" efficas:max_occurs="1">\r
- <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>I</typeAttendu></SIMP>\r
- <SIMP efficas:nom="DES" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>TXM</typeAttendu></SIMP>\r
- <SIMP efficas:nom="IDE" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>I</typeAttendu></SIMP>\r
- <SIMP efficas:nom="VAL" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>I</typeAttendu></SIMP>\r
- </efficas:FACT>\r
- <efficas:FACT efficas:nom="GRO" efficas:statut="f" efficas:max_occurs="1">\r
- <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>I</typeAttendu></SIMP>\r
- <SIMP efficas:nom="NOM" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>TXM</typeAttendu></SIMP>\r
- </efficas:FACT>\r
- </efficas:FACT>\r
- </efficas:FACT>\r
-</PROC>\r
-</commandes>\r
-</cata>\r
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<cata xmlns="http://chercheurs.edf.com/logiciels/efficas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://chercheurs.edf.com/logiciels/efficas file:///Z:/home_fayolle/MED_SVN/PASCALE/XSD/Model%20Efficas%20(1.1)%20%20v5.xsd">\r
-<commandes>\r
-<PROC xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" efficas:nom="FAS">\r
- <efficas:FACT efficas:nom="FAMILY_MESH_NAME_REF" efficas:statut="o" efficas:min_occurs="1" efficas:max_occurs="-1">\r
- <SIMP efficas:nom="NAME" efficas:statut="o"><typeAttendu>TXM</typeAttendu></SIMP>\r
- <efficas:FACT efficas:nom="ELEM" efficas:statut="f" efficas:min_occurs="1" efficas:max_occurs="-1">\r
-<!-- <efficas:regles>\r
- --><!-- Ajouter des contraintes de vérification de la présence ATT et GRO --><!--\r
- <efficas:PRESENT_PRESENT>ATT GRO</efficas:PRESENT_PRESENT>\r
- </efficas:regles>-->\r
- <efficas:SIMP efficas:nom="NUM" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>TXM</typeAttendu></efficas:SIMP>\r
- <efficas:SIMP efficas:nom="NAME" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>TXM</typeAttendu></efficas:SIMP>\r
- <efficas:FACT efficas:nom="ATT" efficas:statut="f" efficas:max_occurs="1">\r
- <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>I</typeAttendu></SIMP>\r
- <SIMP efficas:nom="DES" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>TXM</typeAttendu></SIMP>\r
- <SIMP efficas:nom="IDE" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>I</typeAttendu></SIMP>\r
- <SIMP efficas:nom="VAL" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>I</typeAttendu></SIMP>\r
- </efficas:FACT>\r
- <efficas:FACT efficas:nom="GRO" efficas:statut="f" efficas:max_occurs="1">\r
- <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>I</typeAttendu></SIMP>\r
- <SIMP efficas:nom="NOM" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>TXM</typeAttendu></SIMP>\r
- </efficas:FACT>\r
- </efficas:FACT>\r
- </efficas:FACT>\r
-</PROC>\r
-</commandes>\r
-</cata>\r
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<cata xmlns="http://chercheurs.edf.com/logiciels/efficas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://chercheurs.edf.com/logiciels/efficas file:///Z:/home_fayolle/MED_SVN/PASCALE/XSD/Model%20Efficas%20(1.1)%20%20v5.xsd">\r
-<commandes>\r
-<PROC xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" efficas:nom="FAS">\r
- <efficas:FACT efficas:nom="FAMILY_MESH_NAME_REF" efficas:statut="o" efficas:min_occurs="1" efficas:max_occurs="-1">\r
- <SIMP efficas:nom="NAME" efficas:statut="o"><typeAttendu>TXM</typeAttendu></SIMP>\r
- <efficas:FACT efficas:nom="ELEM" efficas:statut="f" efficas:min_occurs="1" efficas:max_occurs="-1">\r
-<!-- <efficas:regles>\r
- --><!-- Ajouter des contraintes de vérification de la présence ATT et GRO --><!--\r
- <efficas:PRESENT_PRESENT>ATT GRO</efficas:PRESENT_PRESENT>\r
- </efficas:regles>-->\r
- <efficas:SIMP efficas:nom="NUM" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>TXM</typeAttendu></efficas:SIMP>\r
- <efficas:SIMP efficas:nom="NAME" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>TXM</typeAttendu></efficas:SIMP>\r
- <efficas:FACT efficas:nom="ATT" efficas:statut="f" efficas:max_occurs="1">\r
- <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>I</typeAttendu></SIMP>\r
- <SIMP efficas:nom="DES" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>TXM</typeAttendu></SIMP>\r
- <SIMP efficas:nom="IDE" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>I</typeAttendu></SIMP>\r
- <SIMP efficas:nom="VAL" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>I</typeAttendu></SIMP>\r
- </efficas:FACT>\r
- <efficas:FACT efficas:nom="GRO" efficas:statut="f" efficas:max_occurs="1">\r
- <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>I</typeAttendu></SIMP>\r
- <SIMP efficas:nom="NOM" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>TXM</typeAttendu></SIMP>\r
- </efficas:FACT>\r
- </efficas:FACT>\r
- </efficas:FACT>\r
-</PROC>\r
-</commandes>\r
-</cata>\r
+++ /dev/null
-pyxbgen -u model.xsd -m efficas --write-for-customization
+++ /dev/null
-Factory
-
-OPER
-
-PROC
-
-_Abstract
-
-_AddElement
-
-_AlternativeConstructor
-
-_AttributeMap
-
-_AttributeWildcard
-
-_Automaton
-
-_CT_ELEMENT_ONLY
-
-_CT_EMPTY
-
-_CT_MIXED
-
-_CT_SIMPLE
-
-_CompatibleValue
-
-_ContentTypeTag
-
-_DynamicCreate
-
-_DynamicCreate_mixin__AlternativeConstructorAttribute
-
-_DynamicCreate_mixin__SupersedingClassAttribute
-
-_ElementBindingDeclForName
-
-_ElementMap
-
-_ExpandedName
-
-_GetValidationConfig
-
-_HasWildcardElement
-
-_IsMixed
-
-_IsSimpleTypeContent
-
-_IsUrType
-
-_Locatable_mixin__location
-
-_Name
-
-_PerformValidation
-
-_PreFactory_vx
-
-_PyXBFactoryKeywords
-
-_RequireXSIType
-
-_ReservedSymbols
-
-_SetAlternativeConstructor
-
-_SetSupersedingClass
-
-_SetValidationConfig
-
-_SupersedingClass
-
-_T_commandes__OPER
-
-_T_commandes__PROC
-
-_TypeBinding_mixin__AttributesFromDOM
-
-_TypeBinding_mixin__WarnedUnassociatedElement
-
-_TypeBinding_mixin__checkNilCtor
-
-_TypeBinding_mixin__constructedWithValue
-
-_TypeBinding_mixin__element
-
-_TypeBinding_mixin__getValidationConfig
-
-_TypeBinding_mixin__namespaceContext
-
-_TypeBinding_mixin__xsiNil
-
-_TypeDefinition
-
-_UseForTag
-
-_XSDLocation
-
-__class__
-
-__delattr__
-
-__dict__
-
-__doc__
-
-__format__
-
-__getattribute__
-
-__hash__
-
-__httpchercheurs_edf_comlogicielsefficas_T_commandes_httpchercheurs_edf_comlogicielsefficasOPER
-
-__httpchercheurs_edf_comlogicielsefficas_T_commandes_httpchercheurs_edf_comlogicielsefficasPROC
-
-__init__
-
-__module__
-
-__new__
-
-__reduce__
-
-__reduce_ex__
-
-__repr__
-
-__setattr__
-
-__sizeof__
-
-__str__
-
-__subclasshook__
-
-__weakref__
-
-_addContent
-
-_appendWildcardElement
-
-_automatonConfiguration
-
-_complexTypeDefinition__NeedWarnOnContent
-
-_complexTypeDefinition__WarnOnContent
-
-_complexTypeDefinition__automatonConfiguration
-
-_complexTypeDefinition__childrenForDOM
-
-_complexTypeDefinition__content
-
-_complexTypeDefinition__setContent
-
-_complexTypeDefinition__wildcardAttributeMap
-
-_complexTypeDefinition__wildcardElements
-
-_constructedWithValue
-
-_description
-
-_diagnosticName
-
-_element
-
-_finalizeContentModel
-
-_isNil
-
-_location
-
-_namespaceContext
-
-_performValidation
-
-_postDOMValidate
-
-_postFactory_vx
-
-_resetAutomaton
-
-_resetContent
-
-_setAttribute
-
-_setAttributesFromKeywordsAndDOM
-
-_setDOMFromAttributes
-
-_setElement
-
-_setIsNil
-
-_setLocation
-
-_setNamespaceContext
-
-_setValidationConfig
-
-_substitutesFor
-
-_symbolSet
-
-_toDOM_csc
-
-_validateAttributes
-
-_validateBinding_vx
-
-_validatedChildren
-
-_validationConfig
-
-_validationConfig_
-
-append
-
-content
-
-extend
-
-orderedContent
-
-reset
-
-toDOM
-
-toxml
-
-validateBinding
-
-value
-
-wildcardAttributeMap
-
-wildcardElements
-
-xsdConstraintsOK
-
-_______________________
-je passe ds CreerAccas
-PlageValeur
-ValeurDef
-doc
-portee
-statut
-o
-typeAttendu
-TXM
-validators
-_______________________
+++ /dev/null
-# -*- coding: utf-8 -*-
-from raw.efficas import *
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!-- edited with XMLSpy v2014 rel. 2 (x64) (http://www.altova.com) by BC (ED) -->\r
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns="http://chercheurs.edf.com/logiciels/efficas" xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" xmlns:altova="http://www.altova.com/xml-schema-extensions" targetNamespace="http://chercheurs.edf.com/logiciels/efficas" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0" vc:minVersion="1.1">\r
- <xs:element name="doc" type="T_doc"/>\r
- <xs:element name="cata" type="T_cata"/>\r
- <xs:element name="regles" type="T_regles"/>\r
- <xs:element name="typeCree" type="T_classe_utilisateur"/>\r
- <xs:element name="ValeurDef" type="T_typeAttendu"/>\r
- <xs:element name="ValeurSugg" type="T_typeAttendu"/>\r
- <xs:element name="fonction_utilisateur" type="T_fonction_python"/>\r
- <xs:element name="commandes" type="T_commandes">\r
- <xs:unique name="Uniq_Command">\r
- <xs:selector xpath="*"/>\r
- <xs:field xpath="@efficas:nom"/>\r
- </xs:unique>\r
- <xs:key name="Uniq_Name_In_Oper">\r
- <xs:annotation>\r
- <xs:documentation>SIMP devrait être selectionné que si .//SIMP[portee='Global']</xs:documentation>\r
- </xs:annotation>\r
- <xs:selector xpath="./OPER/BLOC |./OPER/FACT|./OPER/SIMP"/>\r
- <xs:field xpath="@efficas:nom"/>\r
- </xs:key>\r
- <xs:keyref name="Ref_A_Name_In_Oper" refer="Uniq_Name_In_Oper">\r
- <xs:selector xpath="./OPER/regles"/>\r
- <xs:field xpath="EXCLUS"/>\r
- </xs:keyref>\r
- <xs:key name="Uniq_Name_In_Proc">\r
- <xs:annotation>\r
- <xs:documentation>SIMP devrait être selectionné que si .//SIMP[portee='Global']</xs:documentation>\r
- </xs:annotation>\r
- <xs:selector xpath="./PROC/BLOC | ./PROC/FACT| ./PROC/SIMP"/>\r
- <xs:field xpath="@efficas:nom"/>\r
- </xs:key>\r
- <xs:keyref name="Ref_A_Name_In_Proc" refer="Uniq_Name_In_Proc">\r
- <xs:selector xpath="./PROC/regles"/>\r
- <xs:field xpath="EXCLUS"/>\r
- </xs:keyref>\r
- </xs:element>\r
- <xs:element name="validators" type="T_validators"/>\r
- <xs:element name="PlageValeur" type="T_PlageValeur"/>\r
- <xs:element name="typeAttendu" type="T_name"/>\r
- <xs:element name="classeUtilisateurName" type="T_classe_utilisateur_username" abstract="true" substitutionGroup="typeAttendu"/>\r
- <xs:element name="SIMP" type="T_SIMP"/>\r
- <xs:element name="portee" type="T_portee" default="None"/>\r
- <xs:element name="condition" type="T_fonction_python"/>\r
- <xs:element name="borne_sup" type="T_typeAttendu"/>\r
- <xs:element name="borne_inf" type="T_typeAttendu"/>\r
- <!-- <xs:element name="into" type="T_into"/>-->\r
- <xs:element name="into" type="T_into"/>\r
- <!-- <xs:element name="into_plus_fonction" type="T_into" abstract="true" substitutionGroup="into"/>-->\r
- <xs:attribute name="nom" type="AT_nom"/>\r
- <xs:attribute name="ag" type="AT_ag"/>\r
- <xs:attribute name="fr" type="xs:string"/>\r
- <xs:attribute name="ang" type="xs:string"/>\r
- <xs:attribute name="docu" type="AT_docu"/>\r
- <xs:attribute name="valeur_sugg" type="AT_valeur_sugg"/>\r
- <xs:attribute name="statut" type="AT_statut" default="o"/>\r
- <xs:attribute name="max_occurs" type="AT_max_occurs"/>\r
- <xs:attribute name="min_occurs" type="AT_min_occurs"/>\r
- <xs:attribute name="subroutine" type="AT_subroutine" default="None"/>\r
- <xs:complexType name="T_doc">\r
- <xs:attribute ref="fr" use="optional"/>\r
- <xs:attribute ref="ang"/>\r
- <xs:attribute ref="docu"/>\r
- </xs:complexType>\r
- <xs:complexType name="T_cata">\r
- <xs:sequence>\r
- <xs:element ref="commandes" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:sequence>\r
- </xs:complexType>\r
- <xs:complexType name="T_commandes">\r
- <xs:choice minOccurs="0" maxOccurs="unbounded">\r
- <xs:element ref="OPER"/>\r
- <xs:element ref="PROC"/>\r
- </xs:choice>\r
- </xs:complexType>\r
- <xs:complexType name="T_Cardinalite"/>\r
- <xs:complexType name="T_PlageValeur">\r
- <xs:choice>\r
- <xs:sequence>\r
- <xs:element ref="borne_sup" minOccurs="0"/>\r
- <xs:element ref="borne_inf" minOccurs="0"/>\r
- </xs:sequence>\r
- <xs:element ref="into"/>\r
- </xs:choice>\r
- </xs:complexType>\r
- <xs:complexType name="T_Accas.Common">\r
- <xs:sequence>\r
- <xs:element ref="regles" minOccurs="0"/>\r
- <xs:element ref="doc" minOccurs="0"/>\r
- <xs:choice maxOccurs="unbounded">\r
- <xs:element ref="BLOC"/>\r
- <xs:element ref="FACT"/>\r
- <xs:element ref="SIMP"/>\r
- </xs:choice>\r
- </xs:sequence>\r
- <xs:attribute ref="nom" use="required"/>\r
- </xs:complexType>\r
- <xs:element name="OPER" type="T_OPER"/>\r
- <xs:complexType name="T_OPER">\r
- <xs:complexContent>\r
- <xs:extension base="T_Accas.Common">\r
- <xs:sequence>\r
- <xs:element ref="typeCree"/>\r
- </xs:sequence>\r
- <xs:attribute ref="subroutine"/>\r
- </xs:extension>\r
- </xs:complexContent>\r
- </xs:complexType>\r
- <xs:element name="PROC" type="T_PROC">\r
- <xs:unique name="Uniqb_NAme_In_PRoc">\r
- <xs:selector xpath="BLOC|FACT|SIMP"/>\r
- <xs:field xpath="@efficas:nom"/>\r
- </xs:unique>\r
- </xs:element>\r
- <xs:complexType name="T_PROC">\r
- <xs:complexContent>\r
- <xs:extension base="T_Accas.Common">\r
- <xs:attribute ref="subroutine"/>\r
- </xs:extension>\r
- </xs:complexContent>\r
- </xs:complexType>\r
- <xs:element name="FACT" type="T_FACT"/>\r
- <!-- <xs:complexType name="T_FACT">\r
- <xs:complexContent>\r
- <xs:restriction base="T_Accas.Common">\r
- <xs:sequence>\r
- <xs:element ref="regles" minOccurs="0"/>\r
- <xs:element ref="doc" minOccurs="0"/>\r
- <xs:choice maxOccurs="unbounded">\r
- <xs:element ref="BLOC"/>\r
- <xs:element ref="FACT"/>\r
- <xs:element ref="SIMP"/>\r
- </xs:choice>\r
- </xs:sequence>\r
- </xs:restriction>\r
- </xs:complexContent>\r
- </xs:complexType>-->\r
- <xs:complexType name="T_FACT">\r
- <xs:complexContent>\r
- <xs:extension base="T_Accas.Common">\r
- <xs:attribute ref="statut"/>\r
- <xs:attribute ref="min_occurs" default="1"/>\r
- <xs:attribute ref="max_occurs" default="1">\r
- <xs:annotation>\r
- <xs:documentation>La valuer -1 equivaut à oo</xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- <xs:assert test=".[exists(@efficas:max_occurs) and exists(@efficas:min_occurs) and @efficas:max_occurs gt @efficas:min_occurs]"/>\r
- <!--<xs:assert test="if (.[exists(@efficas:max_occurs)] and .[exists(@efficas:min_occurs)] ) then (@efficas:max_occurs gt @efficas:min_occurs) or @efficas:max_occurs = -1 else true" altova:message="Erreur max_occurs > min_occurs "/>-->\r
- </xs:extension>\r
- </xs:complexContent>\r
- </xs:complexType>\r
- <xs:simpleType name="T_fonction_python">\r
- <xs:restriction base="xs:string"/>\r
- </xs:simpleType>\r
- <xs:element name="BLOC" type="T_BLOC"/>\r
- <xs:complexType name="T_BLOC">\r
- <xs:complexContent>\r
- <xs:extension base="T_Accas.Common">\r
- <xs:sequence>\r
- <xs:element ref="condition"/>\r
- </xs:sequence>\r
- </xs:extension>\r
- </xs:complexContent>\r
- </xs:complexType>\r
- <xs:complexType name="T_SIMP">\r
- <xs:sequence>\r
- <xs:element ref="doc" minOccurs="0"/>\r
- <xs:element ref="portee" minOccurs="0">\r
- <xs:annotation>\r
- <xs:documentation>La portée pouurait devenir un attribut de SIMP. Une autre solution consisterait a créer un SIMPG pour distinguer les @nom uniques des SIMP a portée globale des autres.</xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element ref="ValeurDef" minOccurs="0"/>\r
- <xs:element ref="ValeurSugg" minOccurs="0"/>\r
- <xs:element ref="PlageValeur" minOccurs="0"/>\r
- <xs:element ref="typeAttendu"/>\r
- <xs:element ref="validators" minOccurs="0"/>\r
- </xs:sequence>\r
- <xs:attribute ref="nom" use="required"/>\r
- <xs:attribute ref="statut"/>\r
- <xs:attribute ref="min_occurs" default="1"/>\r
- <xs:attribute ref="max_occurs" default="1">\r
- <xs:annotation>\r
- <xs:documentation>La valuer -1 equivaut à oo</xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- </xs:complexType>\r
- <xs:simpleType name="AT_statut">\r
- <xs:restriction base="xs:string">\r
- <xs:enumeration value="f"/>\r
- <xs:enumeration value="o"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <!--<xs:simpleType name="T_repetable">\r
- <xs:restriction base="xs:string">\r
- <xs:enumeration value="n"/>\r
- <xs:enumeration value="o"/>\r
- </xs:restriction>\r
- </xs:simpleType>-->\r
- <xs:simpleType name="T_portee">\r
- <xs:restriction base="xs:string">\r
- <xs:enumeration value="None"/>\r
- <xs:enumeration value="Global"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <xs:simpleType name="AT_max_occurs">\r
- <xs:restriction base="xs:long">\r
- <xs:minInclusive value="-1"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <xs:simpleType name="AT_min_occurs">\r
- <xs:restriction base="xs:long">\r
- <xs:minExclusive value="0"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <!-- Comparable -->\r
- <!-- <xs:simpleType name="AT_borne_sup">\r
- <xs:atomic base="xs:double"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="AT_borne_inf">\r
- <xs:restriction base="xs:double"/>\r
- </xs:simpleType>\r
--->\r
- <xs:simpleType name="AT_ag">\r
- <xs:restriction base="xs:string">\r
- <xs:enumeration value="No comment"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <xs:simpleType name="AT_docu">\r
- <xs:annotation>\r
- <xs:documentation>Référence une position dans un fichier maître contenant une liste de références à des pages de documentations</xs:documentation>\r
- </xs:annotation>\r
- <xs:restriction base="xs:string"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="AT_valeur_sugg">\r
- <xs:restriction base="xs:string"/>\r
- </xs:simpleType>\r
- <!-- TODO: Exclure mots clés python|efficas -->\r
- <xs:simpleType name="AT_nom">\r
- <xs:restriction base="xs:string">\r
- <xs:pattern value="([A-Z]|[a-z]|_)([A-Z]|[a-z]|_|[0-9])*"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_predicat1">\r
- <xs:list itemType="AT_nom"/>\r
- <!-- TODO: Supprimer la liste -->\r
- </xs:simpleType>\r
- <xs:complexType name="T_predicat2">\r
- <xs:sequence>\r
- <xs:element name="p1" type="T_predicat1" minOccurs="1"/>\r
- <xs:element name="p2" type="AT_nom" minOccurs="1"/>\r
- </xs:sequence>\r
- <!-- TODO: Supprimer la séquence -->\r
- </xs:complexType>\r
- <xs:element name="A_CLASSER" type="T_predicat2"/>\r
- <xs:element name="AU_MOINS_UN" type="T_predicat1"/>\r
- <xs:element name="AU_PLUS_UN" type="T_predicat1"/>\r
- <xs:element name="ENSEMBLE" type="T_predicat1"/>\r
- <xs:element name="EXCLUS" type="T_predicat1">\r
- <!-- A priori, ce n'est pas l'endroit pour le placer : ? scope de Uniq_Command-->\r
- <!-- <xs:keyref name="referToAnAlreadyDefinedName" refer="Uniq_Command">\r
- <xs:selector xpath="."/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
--->\r
- </xs:element>\r
- <xs:element name="PRESENT_ABSENT" type="T_predicat1"/>\r
- <xs:element name="PRESENT_PRESENT" type="T_predicat1"/>\r
- <xs:element name="UN_PARMI" type="T_predicat1"/>\r
- <xs:group name="predicat">\r
- <xs:choice>\r
- <xs:element ref="A_CLASSER"/>\r
- <xs:element ref="AU_MOINS_UN"/>\r
- <xs:element ref="AU_PLUS_UN"/>\r
- <xs:element ref="ENSEMBLE"/>\r
- <xs:element ref="EXCLUS">\r
- <!-- A priori, ce n'est pas l'endroit pour le placer -->\r
- <!-- <xs:keyref name="referToAnAlreadyDefinedName" refer="/Uniq_Command">\r
- <xs:selector xpath="."/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
--->\r
- </xs:element>\r
- <xs:element ref="PRESENT_ABSENT"/>\r
- <xs:element ref="PRESENT_PRESENT"/>\r
- <xs:element ref="UN_PARMI"/>\r
- </xs:choice>\r
- </xs:group>\r
- <xs:complexType name="T_regles">\r
- <xs:sequence maxOccurs="unbounded">\r
- <xs:group ref="predicat"/>\r
- </xs:sequence>\r
- </xs:complexType>\r
- <!-- <xs:simpleType name="T_typeCree">\r
- <xs:restriction base="T_classe_utilisateur"/>\r
- </xs:simpleType>\r
--->\r
- <xs:simpleType name="AT_subroutine">\r
- <xs:restriction base="AT_nom"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_validators">\r
- <xs:restriction base="xs:string">\r
- <xs:enumeration value="NoRepeat"/>\r
- <xs:enumeration value="OnlyStr"/>\r
- <xs:enumeration value="VerifExiste"/>\r
- <xs:enumeration value="VerifTypeTuple"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_Bool">\r
- <xs:restriction base="xs:boolean"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_list_Bool">\r
- <xs:list itemType="T_Bool"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_I">\r
- <xs:restriction base="xs:int"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_list_I">\r
- <xs:list itemType="T_I"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_R">\r
- <xs:restriction base="xs:double"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_list_R">\r
- <xs:list itemType="T_R"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_TXM">\r
- <xs:restriction base="AT_nom"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_list_TXM">\r
- <xs:list itemType="T_TXM"/>\r
- </xs:simpleType>\r
- <!--fonctionne mais ne permet pas de créer une liste de liste -->\r
- <xs:simpleType name="T_C">\r
- <xs:restriction>\r
- <xs:simpleType>\r
- <xs:list itemType="xs:double"/>\r
- </xs:simpleType>\r
- <xs:minLength value="2"/>\r
- <xs:maxLength value="2"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <!-- Ajouter une contrainte : taille pair -->\r
- <!-- Il n'est pas possible de définir des listes de listes -->\r
- <xs:simpleType name="T_list_C">\r
- <xs:list itemType="xs:double"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_name_base">\r
- <xs:restriction base="AT_nom"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_simple_name">\r
- <xs:restriction base="T_name_base">\r
- <xs:enumeration value="Fichier"/>\r
- <xs:enumeration value="Repertoire"/>\r
- <xs:enumeration value="TXM"/>\r
- <xs:enumeration value="I"/>\r
- <xs:enumeration value="R"/>\r
- <xs:enumeration value="C"/>\r
- <xs:enumeration value="Bool"/>\r
- <xs:enumeration value="grma"/>\r
- <xs:enumeration value="grno"/>\r
- <xs:enumeration value="SalomeEntry"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <!-- On ne peut pas rendre abstrait un simpleType && \r
- Il n'est pas possible de dérivé par restriction un simplecontent d'un type complex qui\r
- lui peut être abstrait\r
- -->\r
- <xs:simpleType name="T_classe_utilisateur_name">\r
- <xs:restriction base="T_name">\r
- <xs:enumeration value="T_classe_utilisateur"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <xs:complexType name="T_classe_utilisateur_username">\r
- <xs:simpleContent>\r
- <xs:extension base="T_classe_utilisateur_name">\r
- <xs:attribute ref="nom" use="required"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- <xs:simpleType name="T_name">\r
- <xs:union memberTypes="T_simple_name">\r
- <xs:simpleType>\r
- <xs:restriction base="AT_nom">\r
- <xs:enumeration value="T_Matrice_double"/>\r
- <xs:enumeration value="T_Matrice_Symetrique_double"/>\r
- <xs:enumeration value="T_tuple"/>\r
- <xs:enumeration value="T_classe_utilisateur"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:union>\r
- </xs:simpleType>\r
- <xs:complexType name="T_grma"/>\r
- <xs:complexType name="T_grno"/>\r
- <xs:complexType name="T_SalomeEntry"/>\r
- <xs:complexType name="T_Fichier"/>\r
- <!-- <xs:complexType name="T_Repertoire"/>-->\r
- <xs:simpleType name="T_Repertoire">\r
- <xs:list>\r
- <xs:simpleType>\r
- <xs:restriction base="xs:string">\r
- <xs:whiteSpace value="preserve"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:list>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_simple">\r
- <xs:union memberTypes="T_I T_list_I T_R T_list_R T_C T_list_C T_TXM T_list_TXM T_Bool T_list_Bool T_Repertoire"/>\r
- </xs:simpleType>\r
- <!-- <xs:complexType name="T_TXM"/>-->\r
- <!-- <xs:simpleType name="T_simple">\r
- <xs:restriction base="xs:string">\r
- <xs:enumeration value="Fichier"/>\r
- <xs:enumeration value="Repertoire"/>\r
- <xs:enumeration value="TXM"/>\r
- <xs:enumeration value="I"/>\r
- <xs:enumeration value="R"/>\r
- <xs:enumeration value="C"/>\r
- <xs:enumeration value="Bool"/>\r
- <xs:enumeration value="grma"/>\r
- <xs:enumeration value="grno"/>\r
- <xs:enumeration value="SalomeEntry"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
--->\r
- <xs:simpleType name="T_list_double">\r
- <xs:list itemType="xs:double"/>\r
- </xs:simpleType>\r
- <!-- Possibilité d'utiliser un type paramétré ? -->\r
- <xs:complexType name="T_Matrice_double">\r
- <xs:simpleContent>\r
- <xs:extension base="T_list_double">\r
- <xs:attribute name="n" type="xs:integer" use="required"/>\r
- <xs:attribute name="m" type="xs:integer" use="required"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- <!-- Faire l'exercice de dériver de T_Matrice_double -->\r
- <xs:complexType name="T_Matrice_Symetrique_double">\r
- <xs:simpleContent>\r
- <xs:extension base="T_list_double">\r
- <xs:attribute name="n" type="xs:int" use="required"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- <!-- Une liste est aussi un type simple !!!! -->\r
- <!-- <xs:simpleType name="T_list_anySimpleType">\r
- <xs:list itemType="xs:anySimpleType"/>\r
- </xs:simpleType>\r
--->\r
- <!-- Le fait de ne pas déclarer une liste risque d'être problématique pour le parsing : A voir-->\r
- <xs:complexType name="T_tuple">\r
- <xs:simpleContent>\r
- <xs:extension base="xs:anySimpleType">\r
- <xs:attribute name="n" type="xs:int" use="required"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- <xs:simpleType name="T_classe_utilisateur">\r
- <xs:restriction base="AT_nom"/>\r
- </xs:simpleType>\r
- <xs:element name="typesimple" type="T_simple"/>\r
- <xs:element name="matrice_double" type="T_Matrice_double"/>\r
- <xs:element name="matrice_symetrique_double" type="T_Matrice_Symetrique_double"/>\r
- <xs:element name="tuple" type="T_tuple"/>\r
- <xs:element name="classe_utilisateur" type="T_classe_utilisateur"/>\r
- <!-- Essai -->\r
- <!-- <xs:group name="T_Attendu_group1">\r
- <xs:choice>\r
- <xs:element ref="typesimple"/>\r
- <xs:element ref="matrice_double"/>\r
- <xs:element ref="matrice_symetrique_double"/>\r
- <xs:element ref="tuple"/>\r
- <xs:element ref="classe_utilisateur"/>\r
- </xs:choice>\r
- </xs:group>\r
-\r
- <xs:group name="T_Attendu_group2">\r
- <xs:choice>\r
- <xs:element ref="typesimple"/>\r
- <xs:element ref="matrice_double"/>\r
- <xs:element ref="matrice_symetrique_double"/>\r
- <xs:element ref="tuple"/>\r
- <xs:element ref="classe_utilisateur"/>\r
- <xs:element ref="fonction_utilisateur" minOccurs="1" maxOccurs="unbounded"/>\r
- </xs:choice>\r
- </xs:group>\r
-\r
- <xs:complexType name="T_typeAttendu">\r
- <xs:group ref="T_Attendu_group1"/>\r
- </xs:complexType>\r
- -->\r
- <!-- Faire plutot un groupe de substitution pour ne pas croiser les choix -->\r
- <!--\r
- <xs:complexType name="T_into">\r
- <xs:group ref="T_Attendu_group2"/>\r
- </xs:complexType>\r
- -->\r
- <xs:complexType name="T_into">\r
- <xs:choice>\r
- <!-- <xs:element ref="typesimple" type="T_Base"/>-->\r
- <xs:element ref="typesimple" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="matrice_double" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="matrice_symetrique_double" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="tuple" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="classe_utilisateur" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="fonction_utilisateur" minOccurs="1" maxOccurs="unbounded"/>\r
- </xs:choice>\r
- </xs:complexType>\r
- <xs:complexType name="T_typeAttendu">\r
- <xs:complexContent>\r
- <xs:restriction base="T_into">\r
- <xs:choice>\r
- <xs:element ref="typesimple" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="matrice_double" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="matrice_symetrique_double" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="tuple" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="classe_utilisateur" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:choice>\r
- </xs:restriction>\r
- </xs:complexContent>\r
- </xs:complexType>\r
-</xs:schema>\r
-<!-- Catalogue EFFICAS équivalent\r
-\r
-# coding: utf-8\r
-from Accas import *\r
-\r
-class carte (ASSD) : pass\r
-class maille (ASSD) : pass\r
-class carte_flux_r (carte):pass\r
-\r
-class NOM_CHAM_INTO:\r
- def __call__(self, *l_typ_cham, **kwargs):\r
- return tuple(('A','B','C'))\r
-C_NOM_CHAM_INTO = NOM_CHAM_INTO()\r
-\r
-JdC = JDC_CATA(code='MAP',\r
- execmodul=None,\r
- regles=ENSEMBLE('E1','E2','E3')\r
- )\r
-\r
-CREECARTE = OPER(nom="CREECARTE",op=None, sd_prod=carte, UNITE=SIMP(statut='f',typ='I',defaut=21),);\r
-\r
-CREECARTEFLUX = OPER(nom="CREECARTEFLUX",op=None, sd_prod=carte_flux_r,\r
- NOMFLUX=SIMP(statut='o',typ='TXM',defaut='monFlux'),\r
- );\r
-\r
-CREEMAILLE = OPER(nom="CREEMAILLE",op=None, sd_prod=maille,\r
- NOEUDS=SIMP(statut='o',typ='I',defaut=(1,2),min=2,max=2)\r
- );\r
-\r
-E1=PROC(nom="E1",\r
- op=None,\r
- regles = (EXCLUS('ETAT_INIT','RESULTAT',),),\r
- ETAT_INIT = FACT(statut='f', max='**',\r
- GROUP_MA_1=SIMP(statut='o',typ='I',validators=NoRepeat(),max='**'),\r
- GROUP_NO_2=SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'),\r
- ),\r
-\r
- RESULTAT = FACT(statut='f',\r
- DEPL=SIMP(statut='o', typ='R', validators=NoRepeat()),\r
- VITE=SIMP(statut='f', typ='R', validators=NoRepeat()),\r
- ACCE=SIMP(statut='f', typ='R', validators=NoRepeat()),\r
- ), \r
- );\r
-\r
-E2=PROC(nom="E2", op=None,\r
- regles = (UN_PARMI('CONCEPT','CHAINE','TOUT' ),),\r
- CONCEPT = FACT(statut='f',max='**',\r
- NOM = SIMP(statut='o',typ=assd,validators=NoRepeat(),max='**'),\r
- ),\r
- CHAINE = SIMP(statut='f',typ='TXM'),\r
- POSITION = SIMP(statut='f',typ='I',defaut=1),\r
- TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ),\r
- );\r
-\r
-E3=PROC(nom="E3",op=None,\r
- DEFORMATION = SIMP(statut='f',typ='TXM',defaut="PETIT",\r
- into=("PETIT","PETIT_REAC","GROT_GDEP","SIMO_MIEHE","GDEF_HYPO_ELAS","GDEF_LOG")),\r
- b_blocIn = BLOC(condition = "DEFORMATION in ('PETIT','PETIT_REAC','GROT_GDEP')",\r
- ITER_INTE_PAS = SIMP(statut='f',typ='I',defaut= 0 ),\r
- ALGO_INTE = SIMP(statut='f',typ='TXM',into=("ANALYTIQUE", "SECANTE", "DEKKER", "NEWTON_1D","BRENT",),),\r
- CARTE = SIMP(statut='f',typ=carte,),\r
- b_carte = BLOC(condition= "(AsType(CARTE) != carte_flux_r)",\r
- CONTRAINTE = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',\r
- fr="Options pour le calcul de contraintes et efforts generalises",\r
- into=C_NOM_CHAM_INTO(phenomene='CONTRAINTE',categorie='lin'),)\r
- ),\r
- ), \r
- );\r
-\r
--->\r
+++ /dev/null
-# ./raw/efficas.py
-# -*- coding: utf-8 -*-
-# PyXB bindings for NM:759f40938b7670cd6d5941e706557eb2115fb17f
-# Generated 2016-11-23 16:51:37.568270 by PyXB version 1.2.3
-# Namespace http://chercheurs.edf.com/logiciels/efficas
-
-import pyxb
-import pyxb.binding
-import pyxb.binding.saxer
-import io
-import pyxb.utils.utility
-import pyxb.utils.domutils
-import sys
-
-# Unique identifier for bindings created at the same time
-_GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:b79c3f70-b194-11e6-bb0f-b05adafd94d6')
-
-# Version of PyXB used to generate the bindings
-_PyXBVersion = '1.2.3'
-# Generated bindings are not compatible across PyXB versions
-if pyxb.__version__ != _PyXBVersion:
- raise pyxb.PyXBVersionError(_PyXBVersion)
-
-# Import bindings for namespaces imported into schema
-import pyxb.binding.datatypes
-
-# NOTE: All namespace declarations are reserved within the binding
-Namespace = pyxb.namespace.NamespaceForURI(u'http://chercheurs.edf.com/logiciels/efficas', create_if_missing=True)
-Namespace.configureCategories(['typeBinding', 'elementBinding'])
-
-def CreateFromDocument (xml_text, default_namespace=None, location_base=None):
- """Parse the given XML and use the document element to create a
- Python instance.
-
- @param xml_text An XML document. This should be data (Python 2
- str or Python 3 bytes), or a text (Python 2 unicode or Python 3
- str) in the L{pyxb._InputEncoding} encoding.
-
- @keyword default_namespace The L{pyxb.Namespace} instance to use as the
- default namespace where there is no default namespace in scope.
- If unspecified or C{None}, the namespace of the module containing
- this function will be used.
-
- @keyword location_base: An object to be recorded as the base of all
- L{pyxb.utils.utility.Location} instances associated with events and
- objects handled by the parser. You might pass the URI from which
- the document was obtained.
- """
-
- if pyxb.XMLStyle_saxer != pyxb._XMLStyle:
- dom = pyxb.utils.domutils.StringToDOM(xml_text)
- return CreateFromDOM(dom.documentElement)
- if default_namespace is None:
- default_namespace = Namespace.fallbackNamespace()
- saxer = pyxb.binding.saxer.make_parser(fallback_namespace=default_namespace, location_base=location_base)
- handler = saxer.getContentHandler()
- xmld = xml_text
- if isinstance(xmld, unicode):
- xmld = xmld.encode(pyxb._InputEncoding)
- saxer.parse(io.BytesIO(xmld))
- instance = handler.rootObject()
- return instance
-
-def CreateFromDOM (node, default_namespace=None):
- """Create a Python instance from the given DOM node.
- The node tag must correspond to an element declaration in this module.
-
- @deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}."""
- if default_namespace is None:
- default_namespace = Namespace.fallbackNamespace()
- return pyxb.binding.basis.element.AnyCreateFromDOM(node, default_namespace)
-
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_fonction_python
-class T_fonction_python (pyxb.binding.datatypes.string):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_fonction_python')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 154, 1)
- _Documentation = None
-T_fonction_python._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'T_fonction_python', T_fonction_python)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_statut
-class AT_statut (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_statut')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 190, 1)
- _Documentation = None
-AT_statut._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=AT_statut, enum_prefix=None)
-AT_statut.f = AT_statut._CF_enumeration.addEnumeration(unicode_value=u'f', tag=u'f')
-AT_statut.o = AT_statut._CF_enumeration.addEnumeration(unicode_value=u'o', tag=u'o')
-AT_statut._InitializeFacetMap(AT_statut._CF_enumeration)
-Namespace.addCategoryObject('typeBinding', u'AT_statut', AT_statut)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_portee
-class T_portee (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_portee')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 202, 1)
- _Documentation = None
-T_portee._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_portee, enum_prefix=None)
-T_portee.None_ = T_portee._CF_enumeration.addEnumeration(unicode_value=u'None', tag=u'None_')
-T_portee.Global = T_portee._CF_enumeration.addEnumeration(unicode_value=u'Global', tag=u'Global')
-T_portee._InitializeFacetMap(T_portee._CF_enumeration)
-Namespace.addCategoryObject('typeBinding', u'T_portee', T_portee)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_max_occurs
-class AT_max_occurs (pyxb.binding.datatypes.long):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_max_occurs')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 208, 1)
- _Documentation = None
-AT_max_occurs._CF_minInclusive = pyxb.binding.facets.CF_minInclusive(value_datatype=AT_max_occurs, value=pyxb.binding.datatypes.long(-1L))
-AT_max_occurs._InitializeFacetMap(AT_max_occurs._CF_minInclusive)
-Namespace.addCategoryObject('typeBinding', u'AT_max_occurs', AT_max_occurs)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_min_occurs
-class AT_min_occurs (pyxb.binding.datatypes.long):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_min_occurs')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 213, 1)
- _Documentation = None
-AT_min_occurs._CF_minExclusive = pyxb.binding.facets.CF_minExclusive(value_datatype=pyxb.binding.datatypes.long, value=pyxb.binding.datatypes.integer(0L))
-AT_min_occurs._InitializeFacetMap(AT_min_occurs._CF_minExclusive)
-Namespace.addCategoryObject('typeBinding', u'AT_min_occurs', AT_min_occurs)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_ag
-class AT_ag (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_ag')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 226, 1)
- _Documentation = None
-AT_ag._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=AT_ag, enum_prefix=None)
-AT_ag.No_comment = AT_ag._CF_enumeration.addEnumeration(unicode_value=u'No comment', tag=u'No_comment')
-AT_ag._InitializeFacetMap(AT_ag._CF_enumeration)
-Namespace.addCategoryObject('typeBinding', u'AT_ag', AT_ag)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_docu
-class AT_docu (pyxb.binding.datatypes.string):
-
- """Référence une position dans un fichier maître contenant une liste de références à des pages de documentations"""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_docu')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 231, 1)
- _Documentation = u'R\xe9f\xe9rence une position dans un fichier ma\xeetre contenant une liste de r\xe9f\xe9rences \xe0 des pages de documentations'
-AT_docu._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'AT_docu', AT_docu)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_valeur_sugg
-class AT_valeur_sugg (pyxb.binding.datatypes.string):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_valeur_sugg')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 237, 1)
- _Documentation = None
-AT_valeur_sugg._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'AT_valeur_sugg', AT_valeur_sugg)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_nom
-class AT_nom (pyxb.binding.datatypes.string):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_nom')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 241, 1)
- _Documentation = None
-AT_nom._CF_pattern = pyxb.binding.facets.CF_pattern()
-AT_nom._CF_pattern.addPattern(pattern=u'([A-Z]|[a-z]|_)([A-Z]|[a-z]|_|[0-9])*')
-AT_nom._InitializeFacetMap(AT_nom._CF_pattern)
-Namespace.addCategoryObject('typeBinding', u'AT_nom', AT_nom)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_validators
-class T_validators (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_validators')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 303, 1)
- _Documentation = None
-T_validators._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_validators, enum_prefix=None)
-T_validators.NoRepeat = T_validators._CF_enumeration.addEnumeration(unicode_value=u'NoRepeat', tag=u'NoRepeat')
-T_validators.OnlyStr = T_validators._CF_enumeration.addEnumeration(unicode_value=u'OnlyStr', tag=u'OnlyStr')
-T_validators.VerifExiste = T_validators._CF_enumeration.addEnumeration(unicode_value=u'VerifExiste', tag=u'VerifExiste')
-T_validators.VerifTypeTuple = T_validators._CF_enumeration.addEnumeration(unicode_value=u'VerifTypeTuple', tag=u'VerifTypeTuple')
-T_validators._InitializeFacetMap(T_validators._CF_enumeration)
-Namespace.addCategoryObject('typeBinding', u'T_validators', T_validators)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_Bool
-class T_Bool (pyxb.binding.datatypes.boolean):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Bool')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 311, 1)
- _Documentation = None
-T_Bool._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'T_Bool', T_Bool)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_I
-class T_I (pyxb.binding.datatypes.int):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_I')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 317, 1)
- _Documentation = None
-T_I._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'T_I', T_I)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_R
-class T_R (pyxb.binding.datatypes.double):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_R')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 323, 1)
- _Documentation = None
-T_R._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'T_R', T_R)
-
-# List simple type: [anonymous]
-# superclasses pyxb.binding.datatypes.anySimpleType
-class STD_ANON (pyxb.binding.basis.STD_list):
-
- """Simple type that is a list of pyxb.binding.datatypes.double."""
-
- _ExpandedName = None
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 338, 3)
- _Documentation = None
-
- _ItemType = pyxb.binding.datatypes.double
-STD_ANON._InitializeFacetMap()
-
-# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_C
-# superclasses pyxb.binding.datatypes.anySimpleType
-class T_list_C (pyxb.binding.basis.STD_list):
-
- """Simple type that is a list of pyxb.binding.datatypes.double."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_C')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 347, 1)
- _Documentation = None
-
- _ItemType = pyxb.binding.datatypes.double
-T_list_C._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'T_list_C', T_list_C)
-
-# Atomic simple type: [anonymous]
-class STD_ANON_ (pyxb.binding.datatypes.string):
-
- """An atomic simple type."""
-
- _ExpandedName = None
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 402, 3)
- _Documentation = None
-STD_ANON_._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.preserve)
-STD_ANON_._InitializeFacetMap(STD_ANON_._CF_whiteSpace)
-
-# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_double
-# superclasses pyxb.binding.datatypes.anySimpleType
-class T_list_double (pyxb.binding.basis.STD_list):
-
- """Simple type that is a list of pyxb.binding.datatypes.double."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_double')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 428, 1)
- _Documentation = None
-
- _ItemType = pyxb.binding.datatypes.double
-T_list_double._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'T_list_double', T_list_double)
-
-# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_predicat1
-# superclasses pyxb.binding.datatypes.anySimpleType
-class T_predicat1 (pyxb.binding.basis.STD_list):
-
- """Simple type that is a list of AT_nom."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_predicat1')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 246, 1)
- _Documentation = None
-
- _ItemType = AT_nom
-T_predicat1._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'T_predicat1', T_predicat1)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_subroutine
-class AT_subroutine (AT_nom):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_subroutine')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 300, 1)
- _Documentation = None
-AT_subroutine._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'AT_subroutine', AT_subroutine)
-
-# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_Bool
-# superclasses pyxb.binding.datatypes.anySimpleType
-class T_list_Bool (pyxb.binding.basis.STD_list):
-
- """Simple type that is a list of T_Bool."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_Bool')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 314, 1)
- _Documentation = None
-
- _ItemType = T_Bool
-T_list_Bool._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'T_list_Bool', T_list_Bool)
-
-# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_I
-# superclasses pyxb.binding.datatypes.anySimpleType
-class T_list_I (pyxb.binding.basis.STD_list):
-
- """Simple type that is a list of T_I."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_I')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 320, 1)
- _Documentation = None
-
- _ItemType = T_I
-T_list_I._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'T_list_I', T_list_I)
-
-# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_R
-# superclasses pyxb.binding.datatypes.anySimpleType
-class T_list_R (pyxb.binding.basis.STD_list):
-
- """Simple type that is a list of T_R."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_R')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 326, 1)
- _Documentation = None
-
- _ItemType = T_R
-T_list_R._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'T_list_R', T_list_R)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_TXM
-class T_TXM (AT_nom):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_TXM')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 329, 1)
- _Documentation = None
-T_TXM._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'T_TXM', T_TXM)
-
-# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_C
-# superclasses STD_ANON
-class T_C (pyxb.binding.basis.STD_list):
-
- """Simple type that is a list of pyxb.binding.datatypes.double."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_C')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 336, 1)
- _Documentation = None
-
- _ItemType = pyxb.binding.datatypes.double
-T_C._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(2L))
-T_C._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(2L))
-T_C._InitializeFacetMap(T_C._CF_maxLength,
- T_C._CF_minLength)
-Namespace.addCategoryObject('typeBinding', u'T_C', T_C)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_name_base
-class T_name_base (AT_nom):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_name_base')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 350, 1)
- _Documentation = None
-T_name_base._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'T_name_base', T_name_base)
-
-# Atomic simple type: [anonymous]
-class STD_ANON_2 (AT_nom, pyxb.binding.basis.enumeration_mixin):
-
- """An atomic simple type."""
-
- _ExpandedName = None
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 385, 3)
- _Documentation = None
-STD_ANON_2._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=STD_ANON_2, enum_prefix=None)
-STD_ANON_2.T_Matrice_double = STD_ANON_2._CF_enumeration.addEnumeration(unicode_value=u'T_Matrice_double', tag=u'T_Matrice_double')
-STD_ANON_2.T_Matrice_Symetrique_double = STD_ANON_2._CF_enumeration.addEnumeration(unicode_value=u'T_Matrice_Symetrique_double', tag=u'T_Matrice_Symetrique_double')
-STD_ANON_2.T_tuple = STD_ANON_2._CF_enumeration.addEnumeration(unicode_value=u'T_tuple', tag=u'T_tuple')
-STD_ANON_2.T_classe_utilisateur = STD_ANON_2._CF_enumeration.addEnumeration(unicode_value=u'T_classe_utilisateur', tag=u'T_classe_utilisateur')
-STD_ANON_2._InitializeFacetMap(STD_ANON_2._CF_enumeration)
-
-# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_Repertoire
-# superclasses pyxb.binding.datatypes.anySimpleType
-class T_Repertoire (pyxb.binding.basis.STD_list):
-
- """Simple type that is a list of STD_ANON_."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Repertoire')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 400, 1)
- _Documentation = None
-
- _ItemType = STD_ANON_
-T_Repertoire._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'T_Repertoire', T_Repertoire)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_classe_utilisateur
-class T_classe_utilisateur (AT_nom):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_classe_utilisateur')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 461, 1)
- _Documentation = None
-T_classe_utilisateur._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'T_classe_utilisateur', T_classe_utilisateur)
-
-# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_TXM
-# superclasses pyxb.binding.datatypes.anySimpleType
-class T_list_TXM (pyxb.binding.basis.STD_list):
-
- """Simple type that is a list of T_TXM."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_TXM')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 332, 1)
- _Documentation = None
-
- _ItemType = T_TXM
-T_list_TXM._InitializeFacetMap()
-Namespace.addCategoryObject('typeBinding', u'T_list_TXM', T_list_TXM)
-
-# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_simple_name
-class T_simple_name (T_name_base, pyxb.binding.basis.enumeration_mixin):
-
- """An atomic simple type."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_simple_name')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 353, 1)
- _Documentation = None
-T_simple_name._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_simple_name, enum_prefix=None)
-T_simple_name.Fichier = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'Fichier', tag=u'Fichier')
-T_simple_name.Repertoire = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'Repertoire', tag=u'Repertoire')
-T_simple_name.TXM = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'TXM', tag=u'TXM')
-T_simple_name.I = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'I', tag=u'I')
-T_simple_name.R = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'R', tag=u'R')
-T_simple_name.C = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'C', tag=u'C')
-T_simple_name.Bool = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'Bool', tag=u'Bool')
-T_simple_name.grma = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'grma', tag=u'grma')
-T_simple_name.grno = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'grno', tag=u'grno')
-T_simple_name.SalomeEntry = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'SalomeEntry', tag=u'SalomeEntry')
-T_simple_name._InitializeFacetMap(T_simple_name._CF_enumeration)
-Namespace.addCategoryObject('typeBinding', u'T_simple_name', T_simple_name)
-
-# Union simple type: {http://chercheurs.edf.com/logiciels/efficas}T_name
-# superclasses pyxb.binding.datatypes.anySimpleType
-class T_name (pyxb.binding.basis.STD_union):
-
- """Simple type that is a union of T_simple_name, STD_ANON_2."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_name')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 383, 1)
- _Documentation = None
-
- _MemberTypes = ( T_simple_name, STD_ANON_2, )
-T_name._CF_pattern = pyxb.binding.facets.CF_pattern()
-T_name._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_name)
-T_name.Fichier = u'Fichier' # originally T_simple_name.Fichier
-T_name.Repertoire = u'Repertoire' # originally T_simple_name.Repertoire
-T_name.TXM = u'TXM' # originally T_simple_name.TXM
-T_name.I = u'I' # originally T_simple_name.I
-T_name.R = u'R' # originally T_simple_name.R
-T_name.C = u'C' # originally T_simple_name.C
-T_name.Bool = u'Bool' # originally T_simple_name.Bool
-T_name.grma = u'grma' # originally T_simple_name.grma
-T_name.grno = u'grno' # originally T_simple_name.grno
-T_name.SalomeEntry = u'SalomeEntry' # originally T_simple_name.SalomeEntry
-T_name.T_Matrice_double = u'T_Matrice_double' # originally STD_ANON_2.T_Matrice_double
-T_name.T_Matrice_Symetrique_double = u'T_Matrice_Symetrique_double'# originally STD_ANON_2.T_Matrice_Symetrique_double
-T_name.T_tuple = u'T_tuple' # originally STD_ANON_2.T_tuple
-T_name.T_classe_utilisateur = u'T_classe_utilisateur'# originally STD_ANON_2.T_classe_utilisateur
-T_name._InitializeFacetMap(T_name._CF_pattern,
- T_name._CF_enumeration)
-Namespace.addCategoryObject('typeBinding', u'T_name', T_name)
-
-# Union simple type: {http://chercheurs.edf.com/logiciels/efficas}T_simple
-# superclasses pyxb.binding.datatypes.anySimpleType
-class T_simple (pyxb.binding.basis.STD_union):
-
- """Simple type that is a union of T_I, T_list_I, T_R, T_list_R, T_C, T_list_C, T_TXM, T_list_TXM, T_Bool, T_list_Bool, T_Repertoire."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_simple')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 409, 1)
- _Documentation = None
-
- _MemberTypes = ( T_I, T_list_I, T_R, T_list_R, T_C, T_list_C, T_TXM, T_list_TXM, T_Bool, T_list_Bool, T_Repertoire, )
-T_simple._CF_pattern = pyxb.binding.facets.CF_pattern()
-T_simple._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_simple)
-T_simple._InitializeFacetMap(T_simple._CF_pattern,
- T_simple._CF_enumeration)
-Namespace.addCategoryObject('typeBinding', u'T_simple', T_simple)
-
-# Union simple type: {http://chercheurs.edf.com/logiciels/efficas}T_classe_utilisateur_name
-# superclasses T_name, pyxb.binding.basis.enumeration_mixin
-class T_classe_utilisateur_name (pyxb.binding.basis.STD_union):
-
- """Simple type that is a union of T_simple_name, STD_ANON_2."""
-
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_classe_utilisateur_name')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 371, 1)
- _Documentation = None
-
- _MemberTypes = ( T_simple_name, STD_ANON_2, )
-T_classe_utilisateur_name._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_classe_utilisateur_name, enum_prefix=None)
-T_classe_utilisateur_name.T_classe_utilisateur = T_classe_utilisateur_name._CF_enumeration.addEnumeration(unicode_value=u'T_classe_utilisateur', tag=u'T_classe_utilisateur')
-T_classe_utilisateur_name._InitializeFacetMap(T_classe_utilisateur_name._CF_enumeration)
-Namespace.addCategoryObject('typeBinding', u'T_classe_utilisateur_name', T_classe_utilisateur_name)
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_cata with content type ELEMENT_ONLY
-class T_cata (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_cata with content type ELEMENT_ONLY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_cata')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 66, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is pyxb.binding.datatypes.anyType
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}commandes uses Python identifier commandes
- __commandes = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'commandes'), 'commandes', '__httpchercheurs_edf_comlogicielsefficas_T_cata_httpchercheurs_edf_comlogicielsefficascommandes', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 11, 1), )
-
-
- commandes = property(__commandes.value, __commandes.set, None, None)
-
- _ElementMap.update({
- __commandes.name() : __commandes
- })
- _AttributeMap.update({
-
- })
-Namespace.addCategoryObject('typeBinding', u'T_cata', T_cata)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_commandes with content type ELEMENT_ONLY
-class T_commandes (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_commandes with content type ELEMENT_ONLY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_commandes')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 71, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is pyxb.binding.datatypes.anyType
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}OPER uses Python identifier OPER
- __OPER = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'OPER'), 'OPER', '__httpchercheurs_edf_comlogicielsefficas_T_commandes_httpchercheurs_edf_comlogicielsefficasOPER', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 99, 1), )
-
-
- OPER = property(__OPER.value, __OPER.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}PROC uses Python identifier PROC
- __PROC = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'PROC'), 'PROC', '__httpchercheurs_edf_comlogicielsefficas_T_commandes_httpchercheurs_edf_comlogicielsefficasPROC', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 110, 1), )
-
-
- PROC = property(__PROC.value, __PROC.set, None, None)
-
- _ElementMap.update({
- __OPER.name() : __OPER,
- __PROC.name() : __PROC
- })
- _AttributeMap.update({
-
- })
-Namespace.addCategoryObject('typeBinding', u'T_commandes', T_commandes)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Cardinalite with content type EMPTY
-class T_Cardinalite (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Cardinalite with content type EMPTY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Cardinalite')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 77, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is pyxb.binding.datatypes.anyType
- _ElementMap.update({
-
- })
- _AttributeMap.update({
-
- })
-Namespace.addCategoryObject('typeBinding', u'T_Cardinalite', T_Cardinalite)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_PlageValeur with content type ELEMENT_ONLY
-class T_PlageValeur (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_PlageValeur with content type ELEMENT_ONLY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_PlageValeur')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 78, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is pyxb.binding.datatypes.anyType
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}borne_sup uses Python identifier borne_sup
- __borne_sup = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'borne_sup'), 'borne_sup', '__httpchercheurs_edf_comlogicielsefficas_T_PlageValeur_httpchercheurs_edf_comlogicielsefficasborne_sup', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 46, 1), )
-
-
- borne_sup = property(__borne_sup.value, __borne_sup.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}borne_inf uses Python identifier borne_inf
- __borne_inf = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'borne_inf'), 'borne_inf', '__httpchercheurs_edf_comlogicielsefficas_T_PlageValeur_httpchercheurs_edf_comlogicielsefficasborne_inf', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 47, 1), )
-
-
- borne_inf = property(__borne_inf.value, __borne_inf.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}into uses Python identifier into
- __into = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'into'), 'into', '__httpchercheurs_edf_comlogicielsefficas_T_PlageValeur_httpchercheurs_edf_comlogicielsefficasinto', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 49, 1), )
-
-
- into = property(__into.value, __into.set, None, None)
-
- _ElementMap.update({
- __borne_sup.name() : __borne_sup,
- __borne_inf.name() : __borne_inf,
- __into.name() : __into
- })
- _AttributeMap.update({
-
- })
-Namespace.addCategoryObject('typeBinding', u'T_PlageValeur', T_PlageValeur)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_predicat2 with content type ELEMENT_ONLY
-class T_predicat2 (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_predicat2 with content type ELEMENT_ONLY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_predicat2')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 250, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is pyxb.binding.datatypes.anyType
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}p1 uses Python identifier p1
- __p1 = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'p1'), 'p1', '__httpchercheurs_edf_comlogicielsefficas_T_predicat2_httpchercheurs_edf_comlogicielsefficasp1', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 252, 3), )
-
-
- p1 = property(__p1.value, __p1.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}p2 uses Python identifier p2
- __p2 = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'p2'), 'p2', '__httpchercheurs_edf_comlogicielsefficas_T_predicat2_httpchercheurs_edf_comlogicielsefficasp2', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 253, 3), )
-
-
- p2 = property(__p2.value, __p2.set, None, None)
-
- _ElementMap.update({
- __p1.name() : __p1,
- __p2.name() : __p2
- })
- _AttributeMap.update({
-
- })
-Namespace.addCategoryObject('typeBinding', u'T_predicat2', T_predicat2)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_regles with content type ELEMENT_ONLY
-class T_regles (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_regles with content type ELEMENT_ONLY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_regles')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 291, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is pyxb.binding.datatypes.anyType
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}A_CLASSER uses Python identifier A_CLASSER
- __A_CLASSER = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'A_CLASSER'), 'A_CLASSER', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasA_CLASSER', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 257, 1), )
-
-
- A_CLASSER = property(__A_CLASSER.value, __A_CLASSER.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}AU_MOINS_UN uses Python identifier AU_MOINS_UN
- __AU_MOINS_UN = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'AU_MOINS_UN'), 'AU_MOINS_UN', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasAU_MOINS_UN', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 258, 1), )
-
-
- AU_MOINS_UN = property(__AU_MOINS_UN.value, __AU_MOINS_UN.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}AU_PLUS_UN uses Python identifier AU_PLUS_UN
- __AU_PLUS_UN = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'AU_PLUS_UN'), 'AU_PLUS_UN', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasAU_PLUS_UN', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 259, 1), )
-
-
- AU_PLUS_UN = property(__AU_PLUS_UN.value, __AU_PLUS_UN.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}ENSEMBLE uses Python identifier ENSEMBLE
- __ENSEMBLE = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'ENSEMBLE'), 'ENSEMBLE', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasENSEMBLE', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 260, 1), )
-
-
- ENSEMBLE = property(__ENSEMBLE.value, __ENSEMBLE.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}EXCLUS uses Python identifier EXCLUS
- __EXCLUS = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'EXCLUS'), 'EXCLUS', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasEXCLUS', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 261, 1), )
-
-
- EXCLUS = property(__EXCLUS.value, __EXCLUS.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}PRESENT_ABSENT uses Python identifier PRESENT_ABSENT
- __PRESENT_ABSENT = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_ABSENT'), 'PRESENT_ABSENT', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasPRESENT_ABSENT', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 269, 1), )
-
-
- PRESENT_ABSENT = property(__PRESENT_ABSENT.value, __PRESENT_ABSENT.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}PRESENT_PRESENT uses Python identifier PRESENT_PRESENT
- __PRESENT_PRESENT = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_PRESENT'), 'PRESENT_PRESENT', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasPRESENT_PRESENT', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 270, 1), )
-
-
- PRESENT_PRESENT = property(__PRESENT_PRESENT.value, __PRESENT_PRESENT.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}UN_PARMI uses Python identifier UN_PARMI
- __UN_PARMI = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'UN_PARMI'), 'UN_PARMI', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasUN_PARMI', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 271, 1), )
-
-
- UN_PARMI = property(__UN_PARMI.value, __UN_PARMI.set, None, None)
-
- _ElementMap.update({
- __A_CLASSER.name() : __A_CLASSER,
- __AU_MOINS_UN.name() : __AU_MOINS_UN,
- __AU_PLUS_UN.name() : __AU_PLUS_UN,
- __ENSEMBLE.name() : __ENSEMBLE,
- __EXCLUS.name() : __EXCLUS,
- __PRESENT_ABSENT.name() : __PRESENT_ABSENT,
- __PRESENT_PRESENT.name() : __PRESENT_PRESENT,
- __UN_PARMI.name() : __UN_PARMI
- })
- _AttributeMap.update({
-
- })
-Namespace.addCategoryObject('typeBinding', u'T_regles', T_regles)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_grma with content type EMPTY
-class T_grma (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_grma with content type EMPTY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_grma')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 395, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is pyxb.binding.datatypes.anyType
- _ElementMap.update({
-
- })
- _AttributeMap.update({
-
- })
-Namespace.addCategoryObject('typeBinding', u'T_grma', T_grma)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_grno with content type EMPTY
-class T_grno (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_grno with content type EMPTY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_grno')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 396, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is pyxb.binding.datatypes.anyType
- _ElementMap.update({
-
- })
- _AttributeMap.update({
-
- })
-Namespace.addCategoryObject('typeBinding', u'T_grno', T_grno)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_SalomeEntry with content type EMPTY
-class T_SalomeEntry (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_SalomeEntry with content type EMPTY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_SalomeEntry')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 397, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is pyxb.binding.datatypes.anyType
- _ElementMap.update({
-
- })
- _AttributeMap.update({
-
- })
-Namespace.addCategoryObject('typeBinding', u'T_SalomeEntry', T_SalomeEntry)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Fichier with content type EMPTY
-class T_Fichier (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Fichier with content type EMPTY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Fichier')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 398, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is pyxb.binding.datatypes.anyType
- _ElementMap.update({
-
- })
- _AttributeMap.update({
-
- })
-Namespace.addCategoryObject('typeBinding', u'T_Fichier', T_Fichier)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_tuple with content type SIMPLE
-class T_tuple (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_tuple with content type SIMPLE"""
- _TypeDefinition = pyxb.binding.datatypes.anySimpleType
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_tuple')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 454, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is pyxb.binding.datatypes.anySimpleType
-
- # Attribute n uses Python identifier n
- __n = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'n'), 'n', '__httpchercheurs_edf_comlogicielsefficas_T_tuple_n', pyxb.binding.datatypes.int, required=True)
- __n._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 457, 4)
- __n._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 457, 4)
-
- n = property(__n.value, __n.set, None, None)
-
- _ElementMap.update({
-
- })
- _AttributeMap.update({
- __n.name() : __n
- })
-Namespace.addCategoryObject('typeBinding', u'T_tuple', T_tuple)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_into with content type ELEMENT_ONLY
-class T_into (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_into with content type ELEMENT_ONLY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_into')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 501, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is pyxb.binding.datatypes.anyType
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}fonction_utilisateur uses Python identifier fonction_utilisateur
- __fonction_utilisateur = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'fonction_utilisateur'), 'fonction_utilisateur', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficasfonction_utilisateur', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 10, 1), )
-
-
- fonction_utilisateur = property(__fonction_utilisateur.value, __fonction_utilisateur.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}typesimple uses Python identifier typesimple
- __typesimple = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'typesimple'), 'typesimple', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficastypesimple', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 464, 1), )
-
-
- typesimple = property(__typesimple.value, __typesimple.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}matrice_double uses Python identifier matrice_double
- __matrice_double = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'matrice_double'), 'matrice_double', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficasmatrice_double', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 465, 1), )
-
-
- matrice_double = property(__matrice_double.value, __matrice_double.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}matrice_symetrique_double uses Python identifier matrice_symetrique_double
- __matrice_symetrique_double = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'matrice_symetrique_double'), 'matrice_symetrique_double', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficasmatrice_symetrique_double', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 466, 1), )
-
-
- matrice_symetrique_double = property(__matrice_symetrique_double.value, __matrice_symetrique_double.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}tuple uses Python identifier tuple
- __tuple = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'tuple'), 'tuple', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficastuple', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 467, 1), )
-
-
- tuple = property(__tuple.value, __tuple.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}classe_utilisateur uses Python identifier classe_utilisateur
- __classe_utilisateur = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'classe_utilisateur'), 'classe_utilisateur', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficasclasse_utilisateur', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 468, 1), )
-
-
- classe_utilisateur = property(__classe_utilisateur.value, __classe_utilisateur.set, None, None)
-
- _ElementMap.update({
- __fonction_utilisateur.name() : __fonction_utilisateur,
- __typesimple.name() : __typesimple,
- __matrice_double.name() : __matrice_double,
- __matrice_symetrique_double.name() : __matrice_symetrique_double,
- __tuple.name() : __tuple,
- __classe_utilisateur.name() : __classe_utilisateur
- })
- _AttributeMap.update({
-
- })
-Namespace.addCategoryObject('typeBinding', u'T_into', T_into)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_doc with content type EMPTY
-class T_doc (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_doc with content type EMPTY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_doc')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 61, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is pyxb.binding.datatypes.anyType
-
- # Attribute {http://chercheurs.edf.com/logiciels/efficas}fr uses Python identifier fr
- __fr = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'fr'), 'fr', '__httpchercheurs_edf_comlogicielsefficas_T_doc_httpchercheurs_edf_comlogicielsefficasfr', pyxb.binding.datatypes.string)
- __fr._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 53, 1)
- __fr._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 62, 2)
-
- fr = property(__fr.value, __fr.set, None, None)
-
-
- # Attribute {http://chercheurs.edf.com/logiciels/efficas}ang uses Python identifier ang
- __ang = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'ang'), 'ang', '__httpchercheurs_edf_comlogicielsefficas_T_doc_httpchercheurs_edf_comlogicielsefficasang', pyxb.binding.datatypes.string)
- __ang._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 54, 1)
- __ang._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 63, 2)
-
- ang = property(__ang.value, __ang.set, None, None)
-
-
- # Attribute {http://chercheurs.edf.com/logiciels/efficas}docu uses Python identifier docu
- __docu = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'docu'), 'docu', '__httpchercheurs_edf_comlogicielsefficas_T_doc_httpchercheurs_edf_comlogicielsefficasdocu', AT_docu)
- __docu._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 55, 1)
- __docu._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 64, 2)
-
- docu = property(__docu.value, __docu.set, None, None)
-
- _ElementMap.update({
-
- })
- _AttributeMap.update({
- __fr.name() : __fr,
- __ang.name() : __ang,
- __docu.name() : __docu
- })
-Namespace.addCategoryObject('typeBinding', u'T_doc', T_doc)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common with content type ELEMENT_ONLY
-class T_Accas_Common (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common with content type ELEMENT_ONLY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Accas.Common')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 87, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is pyxb.binding.datatypes.anyType
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}doc uses Python identifier doc
- __doc = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'doc'), 'doc', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasdoc', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 4, 1), )
-
-
- doc = property(__doc.value, __doc.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}regles uses Python identifier regles
- __regles = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'regles'), 'regles', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasregles', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 6, 1), )
-
-
- regles = property(__regles.value, __regles.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}SIMP uses Python identifier SIMP
- __SIMP = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'SIMP'), 'SIMP', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasSIMP', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 43, 1), )
-
-
- SIMP = property(__SIMP.value, __SIMP.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}FACT uses Python identifier FACT
- __FACT = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'FACT'), 'FACT', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasFACT', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 123, 1), )
-
-
- FACT = property(__FACT.value, __FACT.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}BLOC uses Python identifier BLOC
- __BLOC = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'BLOC'), 'BLOC', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasBLOC', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 157, 1), )
-
-
- BLOC = property(__BLOC.value, __BLOC.set, None, None)
-
-
- # Attribute {http://chercheurs.edf.com/logiciels/efficas}nom uses Python identifier nom
- __nom = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'nom'), 'nom', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasnom', AT_nom, required=True)
- __nom._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 51, 1)
- __nom._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 97, 2)
-
- nom = property(__nom.value, __nom.set, None, None)
-
- _ElementMap.update({
- __doc.name() : __doc,
- __regles.name() : __regles,
- __SIMP.name() : __SIMP,
- __FACT.name() : __FACT,
- __BLOC.name() : __BLOC
- })
- _AttributeMap.update({
- __nom.name() : __nom
- })
-Namespace.addCategoryObject('typeBinding', u'T_Accas.Common', T_Accas_Common)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_SIMP with content type ELEMENT_ONLY
-class T_SIMP (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_SIMP with content type ELEMENT_ONLY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_SIMP')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 167, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is pyxb.binding.datatypes.anyType
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}doc uses Python identifier doc
- __doc = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'doc'), 'doc', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasdoc', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 4, 1), )
-
-
- doc = property(__doc.value, __doc.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}ValeurDef uses Python identifier ValeurDef
- __ValeurDef = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'ValeurDef'), 'ValeurDef', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasValeurDef', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 8, 1), )
-
-
- ValeurDef = property(__ValeurDef.value, __ValeurDef.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}ValeurSugg uses Python identifier ValeurSugg
- __ValeurSugg = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'ValeurSugg'), 'ValeurSugg', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasValeurSugg', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 9, 1), )
-
-
- ValeurSugg = property(__ValeurSugg.value, __ValeurSugg.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}validators uses Python identifier validators
- __validators = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'validators'), 'validators', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasvalidators', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 39, 1), )
-
-
- validators = property(__validators.value, __validators.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}PlageValeur uses Python identifier PlageValeur
- __PlageValeur = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'PlageValeur'), 'PlageValeur', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasPlageValeur', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 40, 1), )
-
-
- PlageValeur = property(__PlageValeur.value, __PlageValeur.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}typeAttendu uses Python identifier typeAttendu
- __typeAttendu = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'typeAttendu'), 'typeAttendu', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficastypeAttendu', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 41, 1), )
-
-
- typeAttendu = property(__typeAttendu.value, __typeAttendu.set, None, None)
-
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}portee uses Python identifier portee
- __portee = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'portee'), 'portee', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasportee', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 44, 1), )
-
-
- portee = property(__portee.value, __portee.set, None, None)
-
-
- # Attribute {http://chercheurs.edf.com/logiciels/efficas}nom uses Python identifier nom
- __nom = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'nom'), 'nom', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasnom', AT_nom, required=True)
- __nom._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 51, 1)
- __nom._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 181, 2)
-
- nom = property(__nom.value, __nom.set, None, None)
-
-
- # Attribute {http://chercheurs.edf.com/logiciels/efficas}statut uses Python identifier statut
- __statut = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'statut'), 'statut', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasstatut', AT_statut, unicode_default=u'o')
- __statut._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 57, 1)
- __statut._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 182, 2)
-
- statut = property(__statut.value, __statut.set, None, None)
-
-
- # Attribute {http://chercheurs.edf.com/logiciels/efficas}max_occurs uses Python identifier max_occurs
- __max_occurs = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'max_occurs'), 'max_occurs', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasmax_occurs', AT_max_occurs, unicode_default=u'1')
- __max_occurs._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 58, 1)
- __max_occurs._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 184, 2)
-
- max_occurs = property(__max_occurs.value, __max_occurs.set, None, None)
-
-
- # Attribute {http://chercheurs.edf.com/logiciels/efficas}min_occurs uses Python identifier min_occurs
- __min_occurs = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'min_occurs'), 'min_occurs', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasmin_occurs', AT_min_occurs, unicode_default=u'1')
- __min_occurs._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 59, 1)
- __min_occurs._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 183, 2)
-
- min_occurs = property(__min_occurs.value, __min_occurs.set, None, None)
-
- _ElementMap.update({
- __doc.name() : __doc,
- __ValeurDef.name() : __ValeurDef,
- __ValeurSugg.name() : __ValeurSugg,
- __validators.name() : __validators,
- __PlageValeur.name() : __PlageValeur,
- __typeAttendu.name() : __typeAttendu,
- __portee.name() : __portee
- })
- _AttributeMap.update({
- __nom.name() : __nom,
- __statut.name() : __statut,
- __max_occurs.name() : __max_occurs,
- __min_occurs.name() : __min_occurs
- })
-Namespace.addCategoryObject('typeBinding', u'T_SIMP', T_SIMP)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Matrice_double with content type SIMPLE
-class T_Matrice_double (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Matrice_double with content type SIMPLE"""
- _TypeDefinition = T_list_double
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Matrice_double')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 432, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is T_list_double
-
- # Attribute n uses Python identifier n
- __n = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'n'), 'n', '__httpchercheurs_edf_comlogicielsefficas_T_Matrice_double_n', pyxb.binding.datatypes.integer, required=True)
- __n._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 435, 4)
- __n._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 435, 4)
-
- n = property(__n.value, __n.set, None, None)
-
-
- # Attribute m uses Python identifier m
- __m = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'm'), 'm', '__httpchercheurs_edf_comlogicielsefficas_T_Matrice_double_m', pyxb.binding.datatypes.integer, required=True)
- __m._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 436, 4)
- __m._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 436, 4)
-
- m = property(__m.value, __m.set, None, None)
-
- _ElementMap.update({
-
- })
- _AttributeMap.update({
- __n.name() : __n,
- __m.name() : __m
- })
-Namespace.addCategoryObject('typeBinding', u'T_Matrice_double', T_Matrice_double)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Matrice_Symetrique_double with content type SIMPLE
-class T_Matrice_Symetrique_double (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Matrice_Symetrique_double with content type SIMPLE"""
- _TypeDefinition = T_list_double
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Matrice_Symetrique_double')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 441, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is T_list_double
-
- # Attribute n uses Python identifier n
- __n = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'n'), 'n', '__httpchercheurs_edf_comlogicielsefficas_T_Matrice_Symetrique_double_n', pyxb.binding.datatypes.int, required=True)
- __n._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 444, 4)
- __n._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 444, 4)
-
- n = property(__n.value, __n.set, None, None)
-
- _ElementMap.update({
-
- })
- _AttributeMap.update({
- __n.name() : __n
- })
-Namespace.addCategoryObject('typeBinding', u'T_Matrice_Symetrique_double', T_Matrice_Symetrique_double)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_typeAttendu with content type ELEMENT_ONLY
-class T_typeAttendu (T_into):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_typeAttendu with content type ELEMENT_ONLY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_typeAttendu')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 512, 1)
- _ElementMap = T_into._ElementMap.copy()
- _AttributeMap = T_into._AttributeMap.copy()
- # Base type is T_into
-
- # Element typesimple ({http://chercheurs.edf.com/logiciels/efficas}typesimple) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_into
-
- # Element matrice_double ({http://chercheurs.edf.com/logiciels/efficas}matrice_double) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_into
-
- # Element matrice_symetrique_double ({http://chercheurs.edf.com/logiciels/efficas}matrice_symetrique_double) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_into
-
- # Element tuple ({http://chercheurs.edf.com/logiciels/efficas}tuple) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_into
-
- # Element classe_utilisateur ({http://chercheurs.edf.com/logiciels/efficas}classe_utilisateur) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_into
- _ElementMap.update({
-
- })
- _AttributeMap.update({
-
- })
-Namespace.addCategoryObject('typeBinding', u'T_typeAttendu', T_typeAttendu)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_OPER with content type ELEMENT_ONLY
-class T_OPER (T_Accas_Common):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_OPER with content type ELEMENT_ONLY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_OPER')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 100, 1)
- _ElementMap = T_Accas_Common._ElementMap.copy()
- _AttributeMap = T_Accas_Common._AttributeMap.copy()
- # Base type is T_Accas_Common
-
- # Element doc ({http://chercheurs.edf.com/logiciels/efficas}doc) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element regles ({http://chercheurs.edf.com/logiciels/efficas}regles) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}typeCree uses Python identifier typeCree
- __typeCree = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'typeCree'), 'typeCree', '__httpchercheurs_edf_comlogicielsefficas_T_OPER_httpchercheurs_edf_comlogicielsefficastypeCree', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 7, 1), )
-
-
- typeCree = property(__typeCree.value, __typeCree.set, None, None)
-
-
- # Element SIMP ({http://chercheurs.edf.com/logiciels/efficas}SIMP) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element FACT ({http://chercheurs.edf.com/logiciels/efficas}FACT) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element BLOC ({http://chercheurs.edf.com/logiciels/efficas}BLOC) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Attribute nom inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Attribute {http://chercheurs.edf.com/logiciels/efficas}subroutine uses Python identifier subroutine
- __subroutine = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'subroutine'), 'subroutine', '__httpchercheurs_edf_comlogicielsefficas_T_OPER_httpchercheurs_edf_comlogicielsefficassubroutine', AT_subroutine, unicode_default=u'None')
- __subroutine._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 60, 1)
- __subroutine._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 106, 4)
-
- subroutine = property(__subroutine.value, __subroutine.set, None, None)
-
- _ElementMap.update({
- __typeCree.name() : __typeCree
- })
- _AttributeMap.update({
- __subroutine.name() : __subroutine
- })
-Namespace.addCategoryObject('typeBinding', u'T_OPER', T_OPER)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_PROC with content type ELEMENT_ONLY
-class T_PROC (T_Accas_Common):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_PROC with content type ELEMENT_ONLY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_PROC')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 116, 1)
- _ElementMap = T_Accas_Common._ElementMap.copy()
- _AttributeMap = T_Accas_Common._AttributeMap.copy()
- # Base type is T_Accas_Common
-
- # Element doc ({http://chercheurs.edf.com/logiciels/efficas}doc) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element regles ({http://chercheurs.edf.com/logiciels/efficas}regles) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element SIMP ({http://chercheurs.edf.com/logiciels/efficas}SIMP) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element FACT ({http://chercheurs.edf.com/logiciels/efficas}FACT) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element BLOC ({http://chercheurs.edf.com/logiciels/efficas}BLOC) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Attribute nom inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Attribute {http://chercheurs.edf.com/logiciels/efficas}subroutine uses Python identifier subroutine
- __subroutine = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'subroutine'), 'subroutine', '__httpchercheurs_edf_comlogicielsefficas_T_PROC_httpchercheurs_edf_comlogicielsefficassubroutine', AT_subroutine, unicode_default=u'None')
- __subroutine._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 60, 1)
- __subroutine._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 119, 4)
-
- subroutine = property(__subroutine.value, __subroutine.set, None, None)
-
- _ElementMap.update({
-
- })
- _AttributeMap.update({
- __subroutine.name() : __subroutine
- })
-Namespace.addCategoryObject('typeBinding', u'T_PROC', T_PROC)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_FACT with content type ELEMENT_ONLY
-class T_FACT (T_Accas_Common):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_FACT with content type ELEMENT_ONLY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_FACT')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 139, 1)
- _ElementMap = T_Accas_Common._ElementMap.copy()
- _AttributeMap = T_Accas_Common._AttributeMap.copy()
- # Base type is T_Accas_Common
-
- # Element doc ({http://chercheurs.edf.com/logiciels/efficas}doc) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element regles ({http://chercheurs.edf.com/logiciels/efficas}regles) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element SIMP ({http://chercheurs.edf.com/logiciels/efficas}SIMP) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element FACT ({http://chercheurs.edf.com/logiciels/efficas}FACT) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element BLOC ({http://chercheurs.edf.com/logiciels/efficas}BLOC) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Attribute nom inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Attribute {http://chercheurs.edf.com/logiciels/efficas}statut uses Python identifier statut
- __statut = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'statut'), 'statut', '__httpchercheurs_edf_comlogicielsefficas_T_FACT_httpchercheurs_edf_comlogicielsefficasstatut', AT_statut, unicode_default=u'o')
- __statut._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 57, 1)
- __statut._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 142, 4)
-
- statut = property(__statut.value, __statut.set, None, None)
-
-
- # Attribute {http://chercheurs.edf.com/logiciels/efficas}max_occurs uses Python identifier max_occurs
- __max_occurs = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'max_occurs'), 'max_occurs', '__httpchercheurs_edf_comlogicielsefficas_T_FACT_httpchercheurs_edf_comlogicielsefficasmax_occurs', AT_max_occurs, unicode_default=u'1')
- __max_occurs._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 58, 1)
- __max_occurs._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 144, 4)
-
- max_occurs = property(__max_occurs.value, __max_occurs.set, None, None)
-
-
- # Attribute {http://chercheurs.edf.com/logiciels/efficas}min_occurs uses Python identifier min_occurs
- __min_occurs = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'min_occurs'), 'min_occurs', '__httpchercheurs_edf_comlogicielsefficas_T_FACT_httpchercheurs_edf_comlogicielsefficasmin_occurs', AT_min_occurs, unicode_default=u'1')
- __min_occurs._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 59, 1)
- __min_occurs._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 143, 4)
-
- min_occurs = property(__min_occurs.value, __min_occurs.set, None, None)
-
- _ElementMap.update({
-
- })
- _AttributeMap.update({
- __statut.name() : __statut,
- __max_occurs.name() : __max_occurs,
- __min_occurs.name() : __min_occurs
- })
-Namespace.addCategoryObject('typeBinding', u'T_FACT', T_FACT)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_BLOC with content type ELEMENT_ONLY
-class T_BLOC (T_Accas_Common):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_BLOC with content type ELEMENT_ONLY"""
- _TypeDefinition = None
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_BLOC')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 158, 1)
- _ElementMap = T_Accas_Common._ElementMap.copy()
- _AttributeMap = T_Accas_Common._AttributeMap.copy()
- # Base type is T_Accas_Common
-
- # Element doc ({http://chercheurs.edf.com/logiciels/efficas}doc) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element regles ({http://chercheurs.edf.com/logiciels/efficas}regles) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element SIMP ({http://chercheurs.edf.com/logiciels/efficas}SIMP) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element {http://chercheurs.edf.com/logiciels/efficas}condition uses Python identifier condition
- __condition = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'condition'), 'condition', '__httpchercheurs_edf_comlogicielsefficas_T_BLOC_httpchercheurs_edf_comlogicielsefficascondition', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 45, 1), )
-
-
- condition = property(__condition.value, __condition.set, None, None)
-
-
- # Element FACT ({http://chercheurs.edf.com/logiciels/efficas}FACT) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Element BLOC ({http://chercheurs.edf.com/logiciels/efficas}BLOC) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
-
- # Attribute nom inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common
- _ElementMap.update({
- __condition.name() : __condition
- })
- _AttributeMap.update({
-
- })
-Namespace.addCategoryObject('typeBinding', u'T_BLOC', T_BLOC)
-
-
-# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_classe_utilisateur_username with content type SIMPLE
-class T_classe_utilisateur_username (pyxb.binding.basis.complexTypeDefinition):
- """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_classe_utilisateur_username with content type SIMPLE"""
- _TypeDefinition = T_classe_utilisateur_name
- _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE
- _Abstract = False
- _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_classe_utilisateur_username')
- _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 376, 1)
- _ElementMap = {}
- _AttributeMap = {}
- # Base type is T_classe_utilisateur_name
-
- # Attribute {http://chercheurs.edf.com/logiciels/efficas}nom uses Python identifier nom
- __nom = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'nom'), 'nom', '__httpchercheurs_edf_comlogicielsefficas_T_classe_utilisateur_username_httpchercheurs_edf_comlogicielsefficasnom', AT_nom, required=True)
- __nom._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 51, 1)
- __nom._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 379, 4)
-
- nom = property(__nom.value, __nom.set, None, None)
-
- _ElementMap.update({
-
- })
- _AttributeMap.update({
- __nom.name() : __nom
- })
-Namespace.addCategoryObject('typeBinding', u'T_classe_utilisateur_username', T_classe_utilisateur_username)
-
-
-cata = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'cata'), T_cata, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 5, 1))
-Namespace.addCategoryObject('elementBinding', cata.name().localName(), cata)
-
-regles = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'regles'), T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 6, 1))
-Namespace.addCategoryObject('elementBinding', regles.name().localName(), regles)
-
-fonction_utilisateur = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'fonction_utilisateur'), T_fonction_python, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 10, 1))
-Namespace.addCategoryObject('elementBinding', fonction_utilisateur.name().localName(), fonction_utilisateur)
-
-commandes = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'commandes'), T_commandes, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 11, 1))
-Namespace.addCategoryObject('elementBinding', commandes.name().localName(), commandes)
-
-validators = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'validators'), T_validators, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 39, 1))
-Namespace.addCategoryObject('elementBinding', validators.name().localName(), validators)
-
-PlageValeur = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PlageValeur'), T_PlageValeur, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 40, 1))
-Namespace.addCategoryObject('elementBinding', PlageValeur.name().localName(), PlageValeur)
-
-portee = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'portee'), T_portee, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 44, 1), unicode_default=u'None')
-Namespace.addCategoryObject('elementBinding', portee.name().localName(), portee)
-
-condition = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'condition'), T_fonction_python, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 45, 1))
-Namespace.addCategoryObject('elementBinding', condition.name().localName(), condition)
-
-into = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'into'), T_into, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 49, 1))
-Namespace.addCategoryObject('elementBinding', into.name().localName(), into)
-
-A_CLASSER = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'A_CLASSER'), T_predicat2, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 257, 1))
-Namespace.addCategoryObject('elementBinding', A_CLASSER.name().localName(), A_CLASSER)
-
-tuple = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'tuple'), T_tuple, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 467, 1))
-Namespace.addCategoryObject('elementBinding', tuple.name().localName(), tuple)
-
-doc = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'doc'), T_doc, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 4, 1))
-Namespace.addCategoryObject('elementBinding', doc.name().localName(), doc)
-
-typeCree = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typeCree'), T_classe_utilisateur, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 7, 1))
-Namespace.addCategoryObject('elementBinding', typeCree.name().localName(), typeCree)
-
-ValeurDef = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'ValeurDef'), T_typeAttendu, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 8, 1))
-Namespace.addCategoryObject('elementBinding', ValeurDef.name().localName(), ValeurDef)
-
-ValeurSugg = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'ValeurSugg'), T_typeAttendu, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 9, 1))
-Namespace.addCategoryObject('elementBinding', ValeurSugg.name().localName(), ValeurSugg)
-
-SIMP = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'SIMP'), T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 43, 1))
-Namespace.addCategoryObject('elementBinding', SIMP.name().localName(), SIMP)
-
-borne_sup = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'borne_sup'), T_typeAttendu, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 46, 1))
-Namespace.addCategoryObject('elementBinding', borne_sup.name().localName(), borne_sup)
-
-borne_inf = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'borne_inf'), T_typeAttendu, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 47, 1))
-Namespace.addCategoryObject('elementBinding', borne_inf.name().localName(), borne_inf)
-
-AU_MOINS_UN = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'AU_MOINS_UN'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 258, 1))
-Namespace.addCategoryObject('elementBinding', AU_MOINS_UN.name().localName(), AU_MOINS_UN)
-
-AU_PLUS_UN = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'AU_PLUS_UN'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 259, 1))
-Namespace.addCategoryObject('elementBinding', AU_PLUS_UN.name().localName(), AU_PLUS_UN)
-
-ENSEMBLE = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'ENSEMBLE'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 260, 1))
-Namespace.addCategoryObject('elementBinding', ENSEMBLE.name().localName(), ENSEMBLE)
-
-EXCLUS = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'EXCLUS'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 261, 1))
-Namespace.addCategoryObject('elementBinding', EXCLUS.name().localName(), EXCLUS)
-
-PRESENT_ABSENT = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_ABSENT'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 269, 1))
-Namespace.addCategoryObject('elementBinding', PRESENT_ABSENT.name().localName(), PRESENT_ABSENT)
-
-PRESENT_PRESENT = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_PRESENT'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 270, 1))
-Namespace.addCategoryObject('elementBinding', PRESENT_PRESENT.name().localName(), PRESENT_PRESENT)
-
-UN_PARMI = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'UN_PARMI'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 271, 1))
-Namespace.addCategoryObject('elementBinding', UN_PARMI.name().localName(), UN_PARMI)
-
-matrice_double = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'matrice_double'), T_Matrice_double, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 465, 1))
-Namespace.addCategoryObject('elementBinding', matrice_double.name().localName(), matrice_double)
-
-matrice_symetrique_double = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'matrice_symetrique_double'), T_Matrice_Symetrique_double, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 466, 1))
-Namespace.addCategoryObject('elementBinding', matrice_symetrique_double.name().localName(), matrice_symetrique_double)
-
-classe_utilisateur = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'classe_utilisateur'), T_classe_utilisateur, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 468, 1))
-Namespace.addCategoryObject('elementBinding', classe_utilisateur.name().localName(), classe_utilisateur)
-
-OPER = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'OPER'), T_OPER, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 99, 1))
-Namespace.addCategoryObject('elementBinding', OPER.name().localName(), OPER)
-
-PROC = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PROC'), T_PROC, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 110, 1))
-Namespace.addCategoryObject('elementBinding', PROC.name().localName(), PROC)
-
-FACT = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'FACT'), T_FACT, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 123, 1))
-Namespace.addCategoryObject('elementBinding', FACT.name().localName(), FACT)
-
-BLOC = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'BLOC'), T_BLOC, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 157, 1))
-Namespace.addCategoryObject('elementBinding', BLOC.name().localName(), BLOC)
-
-typeAttendu = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typeAttendu'), T_name, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 41, 1))
-Namespace.addCategoryObject('elementBinding', typeAttendu.name().localName(), typeAttendu)
-
-typesimple = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typesimple'), T_simple, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 464, 1))
-Namespace.addCategoryObject('elementBinding', typesimple.name().localName(), typesimple)
-
-classeUtilisateurName = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'classeUtilisateurName'), T_classe_utilisateur_username, abstract=pyxb.binding.datatypes.boolean(1), location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 42, 1))
-Namespace.addCategoryObject('elementBinding', classeUtilisateurName.name().localName(), classeUtilisateurName)
-
-
-
-T_cata._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'commandes'), T_commandes, scope=T_cata, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 11, 1)))
-
-def _BuildAutomaton ():
- # Remove this helper function from the namespace after it is invoked
- global _BuildAutomaton
- del _BuildAutomaton
- import pyxb.utils.fac as fac
-
- counters = set()
- cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 68, 3))
- counters.add(cc_0)
- states = []
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_0, False))
- symbol = pyxb.binding.content.ElementUse(T_cata._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'commandes')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 68, 3))
- st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_0)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- fac.UpdateInstruction(cc_0, True) ]))
- st_0._set_transitionSet(transitions)
- return fac.Automaton(states, counters, True, containing_state=None)
-T_cata._Automaton = _BuildAutomaton()
-
-
-
-
-T_commandes._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'OPER'), T_OPER, scope=T_commandes, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 99, 1)))
-
-T_commandes._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PROC'), T_PROC, scope=T_commandes, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 110, 1)))
-
-def _BuildAutomaton_ ():
- # Remove this helper function from the namespace after it is invoked
- global _BuildAutomaton_
- del _BuildAutomaton_
- import pyxb.utils.fac as fac
-
- counters = set()
- cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 72, 2))
- counters.add(cc_0)
- states = []
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_0, False))
- symbol = pyxb.binding.content.ElementUse(T_commandes._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'OPER')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 73, 3))
- st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_0)
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_0, False))
- symbol = pyxb.binding.content.ElementUse(T_commandes._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'PROC')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 74, 3))
- st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_1)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- fac.UpdateInstruction(cc_0, True) ]))
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_0, True) ]))
- st_0._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- fac.UpdateInstruction(cc_0, True) ]))
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_0, True) ]))
- st_1._set_transitionSet(transitions)
- return fac.Automaton(states, counters, True, containing_state=None)
-T_commandes._Automaton = _BuildAutomaton_()
-
-
-
-
-T_PlageValeur._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'borne_sup'), T_typeAttendu, scope=T_PlageValeur, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 46, 1)))
-
-T_PlageValeur._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'borne_inf'), T_typeAttendu, scope=T_PlageValeur, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 47, 1)))
-
-T_PlageValeur._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'into'), T_into, scope=T_PlageValeur, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 49, 1)))
-
-def _BuildAutomaton_2 ():
- # Remove this helper function from the namespace after it is invoked
- global _BuildAutomaton_2
- del _BuildAutomaton_2
- import pyxb.utils.fac as fac
-
- counters = set()
- cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 81, 4))
- counters.add(cc_0)
- cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 82, 4))
- counters.add(cc_1)
- states = []
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_0, False))
- symbol = pyxb.binding.content.ElementUse(T_PlageValeur._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'borne_sup')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 81, 4))
- st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_0)
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_1, False))
- symbol = pyxb.binding.content.ElementUse(T_PlageValeur._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'borne_inf')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 82, 4))
- st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_1)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_PlageValeur._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'into')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 84, 3))
- st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_2)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- fac.UpdateInstruction(cc_0, True) ]))
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_0, False) ]))
- st_0._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_1, True) ]))
- st_1._set_transitionSet(transitions)
- transitions = []
- st_2._set_transitionSet(transitions)
- return fac.Automaton(states, counters, True, containing_state=None)
-T_PlageValeur._Automaton = _BuildAutomaton_2()
-
-
-
-
-T_predicat2._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'p1'), T_predicat1, scope=T_predicat2, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 252, 3)))
-
-T_predicat2._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'p2'), AT_nom, scope=T_predicat2, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 253, 3)))
-
-def _BuildAutomaton_3 ():
- # Remove this helper function from the namespace after it is invoked
- global _BuildAutomaton_3
- del _BuildAutomaton_3
- import pyxb.utils.fac as fac
-
- counters = set()
- states = []
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_predicat2._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'p1')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 252, 3))
- st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_0)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_predicat2._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'p2')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 253, 3))
- st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
- states.append(st_1)
- transitions = []
- transitions.append(fac.Transition(st_1, [
- ]))
- st_0._set_transitionSet(transitions)
- transitions = []
- st_1._set_transitionSet(transitions)
- return fac.Automaton(states, counters, False, containing_state=None)
-T_predicat2._Automaton = _BuildAutomaton_3()
-
-
-
-
-T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'A_CLASSER'), T_predicat2, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 257, 1)))
-
-T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'AU_MOINS_UN'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 258, 1)))
-
-T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'AU_PLUS_UN'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 259, 1)))
-
-T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'ENSEMBLE'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 260, 1)))
-
-T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'EXCLUS'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 261, 1)))
-
-T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_ABSENT'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 269, 1)))
-
-T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_PRESENT'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 270, 1)))
-
-T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'UN_PARMI'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 271, 1)))
-
-def _BuildAutomaton_4 ():
- # Remove this helper function from the namespace after it is invoked
- global _BuildAutomaton_4
- del _BuildAutomaton_4
- import pyxb.utils.fac as fac
-
- counters = set()
- states = []
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'A_CLASSER')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 274, 3))
- st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_0)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'AU_MOINS_UN')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 275, 3))
- st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_1)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'AU_PLUS_UN')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 276, 3))
- st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_2)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'ENSEMBLE')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 277, 3))
- st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_3)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'EXCLUS')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 278, 3))
- st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_4)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_ABSENT')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 286, 3))
- st_5 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_5)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_PRESENT')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 287, 3))
- st_6 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_6)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'UN_PARMI')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 288, 3))
- st_7 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_7)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- ]))
- transitions.append(fac.Transition(st_1, [
- ]))
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- transitions.append(fac.Transition(st_5, [
- ]))
- transitions.append(fac.Transition(st_6, [
- ]))
- transitions.append(fac.Transition(st_7, [
- ]))
- st_0._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- ]))
- transitions.append(fac.Transition(st_1, [
- ]))
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- transitions.append(fac.Transition(st_5, [
- ]))
- transitions.append(fac.Transition(st_6, [
- ]))
- transitions.append(fac.Transition(st_7, [
- ]))
- st_1._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- ]))
- transitions.append(fac.Transition(st_1, [
- ]))
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- transitions.append(fac.Transition(st_5, [
- ]))
- transitions.append(fac.Transition(st_6, [
- ]))
- transitions.append(fac.Transition(st_7, [
- ]))
- st_2._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- ]))
- transitions.append(fac.Transition(st_1, [
- ]))
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- transitions.append(fac.Transition(st_5, [
- ]))
- transitions.append(fac.Transition(st_6, [
- ]))
- transitions.append(fac.Transition(st_7, [
- ]))
- st_3._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- ]))
- transitions.append(fac.Transition(st_1, [
- ]))
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- transitions.append(fac.Transition(st_5, [
- ]))
- transitions.append(fac.Transition(st_6, [
- ]))
- transitions.append(fac.Transition(st_7, [
- ]))
- st_4._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- ]))
- transitions.append(fac.Transition(st_1, [
- ]))
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- transitions.append(fac.Transition(st_5, [
- ]))
- transitions.append(fac.Transition(st_6, [
- ]))
- transitions.append(fac.Transition(st_7, [
- ]))
- st_5._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- ]))
- transitions.append(fac.Transition(st_1, [
- ]))
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- transitions.append(fac.Transition(st_5, [
- ]))
- transitions.append(fac.Transition(st_6, [
- ]))
- transitions.append(fac.Transition(st_7, [
- ]))
- st_6._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- ]))
- transitions.append(fac.Transition(st_1, [
- ]))
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- transitions.append(fac.Transition(st_5, [
- ]))
- transitions.append(fac.Transition(st_6, [
- ]))
- transitions.append(fac.Transition(st_7, [
- ]))
- st_7._set_transitionSet(transitions)
- return fac.Automaton(states, counters, False, containing_state=None)
-T_regles._Automaton = _BuildAutomaton_4()
-
-
-
-
-T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'fonction_utilisateur'), T_fonction_python, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 10, 1)))
-
-T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typesimple'), T_simple, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 464, 1)))
-
-T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'matrice_double'), T_Matrice_double, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 465, 1)))
-
-T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'matrice_symetrique_double'), T_Matrice_Symetrique_double, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 466, 1)))
-
-T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'tuple'), T_tuple, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 467, 1)))
-
-T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'classe_utilisateur'), T_classe_utilisateur, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 468, 1)))
-
-def _BuildAutomaton_5 ():
- # Remove this helper function from the namespace after it is invoked
- global _BuildAutomaton_5
- del _BuildAutomaton_5
- import pyxb.utils.fac as fac
-
- counters = set()
- cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 504, 3))
- counters.add(cc_0)
- cc_1 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 505, 3))
- counters.add(cc_1)
- cc_2 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 506, 3))
- counters.add(cc_2)
- cc_3 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 507, 3))
- counters.add(cc_3)
- cc_4 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 508, 3))
- counters.add(cc_4)
- states = []
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_0, False))
- symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'typesimple')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 504, 3))
- st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_0)
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_1, False))
- symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'matrice_double')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 505, 3))
- st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_1)
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_2, False))
- symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'matrice_symetrique_double')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 506, 3))
- st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_2)
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_3, False))
- symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'tuple')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 507, 3))
- st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_3)
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_4, False))
- symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'classe_utilisateur')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 508, 3))
- st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_4)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'fonction_utilisateur')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 509, 3))
- st_5 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_5)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- fac.UpdateInstruction(cc_0, True) ]))
- st_0._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_1, True) ]))
- st_1._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- fac.UpdateInstruction(cc_2, True) ]))
- st_2._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_3, True) ]))
- st_3._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_4, True) ]))
- st_4._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_5, [
- ]))
- st_5._set_transitionSet(transitions)
- return fac.Automaton(states, counters, True, containing_state=None)
-T_into._Automaton = _BuildAutomaton_5()
-
-
-
-
-T_Accas_Common._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'doc'), T_doc, scope=T_Accas_Common, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 4, 1)))
-
-T_Accas_Common._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'regles'), T_regles, scope=T_Accas_Common, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 6, 1)))
-
-T_Accas_Common._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'SIMP'), T_SIMP, scope=T_Accas_Common, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 43, 1)))
-
-T_Accas_Common._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'FACT'), T_FACT, scope=T_Accas_Common, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 123, 1)))
-
-T_Accas_Common._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'BLOC'), T_BLOC, scope=T_Accas_Common, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 157, 1)))
-
-def _BuildAutomaton_6 ():
- # Remove this helper function from the namespace after it is invoked
- global _BuildAutomaton_6
- del _BuildAutomaton_6
- import pyxb.utils.fac as fac
-
- counters = set()
- cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3))
- counters.add(cc_0)
- cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3))
- counters.add(cc_1)
- states = []
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_Accas_Common._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'regles')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3))
- st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_0)
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_Accas_Common._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3))
- st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_1)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_Accas_Common._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'BLOC')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 92, 4))
- st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_2)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_Accas_Common._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'FACT')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 93, 4))
- st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_3)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_Accas_Common._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'SIMP')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 94, 4))
- st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_4)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- fac.UpdateInstruction(cc_0, True) ]))
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_2, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_0, False) ]))
- st_0._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_1, True) ]))
- transitions.append(fac.Transition(st_2, [
- fac.UpdateInstruction(cc_1, False) ]))
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_1, False) ]))
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_1, False) ]))
- st_1._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- st_2._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- st_3._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- st_4._set_transitionSet(transitions)
- return fac.Automaton(states, counters, False, containing_state=None)
-T_Accas_Common._Automaton = _BuildAutomaton_6()
-
-
-
-
-T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'doc'), T_doc, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 4, 1)))
-
-T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'ValeurDef'), T_typeAttendu, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 8, 1)))
-
-T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'ValeurSugg'), T_typeAttendu, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 9, 1)))
-
-T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'validators'), T_validators, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 39, 1)))
-
-T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PlageValeur'), T_PlageValeur, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 40, 1)))
-
-T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typeAttendu'), T_name, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 41, 1)))
-
-T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'portee'), T_portee, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 44, 1), unicode_default=u'None'))
-
-def _BuildAutomaton_7 ():
- # Remove this helper function from the namespace after it is invoked
- global _BuildAutomaton_7
- del _BuildAutomaton_7
- import pyxb.utils.fac as fac
-
- counters = set()
- cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 169, 3))
- counters.add(cc_0)
- cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 170, 3))
- counters.add(cc_1)
- cc_2 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 175, 3))
- counters.add(cc_2)
- cc_3 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 176, 3))
- counters.add(cc_3)
- cc_4 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 177, 3))
- counters.add(cc_4)
- cc_5 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 179, 3))
- counters.add(cc_5)
- states = []
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 169, 3))
- st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_0)
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'portee')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 170, 3))
- st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_1)
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'ValeurDef')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 175, 3))
- st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_2)
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'ValeurSugg')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 176, 3))
- st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_3)
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'PlageValeur')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 177, 3))
- st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_4)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'typeAttendu')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 178, 3))
- st_5 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_5)
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_5, False))
- symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'validators')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 179, 3))
- st_6 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
- states.append(st_6)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- fac.UpdateInstruction(cc_0, True) ]))
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_2, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_5, [
- fac.UpdateInstruction(cc_0, False) ]))
- st_0._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_1, True) ]))
- transitions.append(fac.Transition(st_2, [
- fac.UpdateInstruction(cc_1, False) ]))
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_1, False) ]))
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_1, False) ]))
- transitions.append(fac.Transition(st_5, [
- fac.UpdateInstruction(cc_1, False) ]))
- st_1._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- fac.UpdateInstruction(cc_2, True) ]))
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_2, False) ]))
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_2, False) ]))
- transitions.append(fac.Transition(st_5, [
- fac.UpdateInstruction(cc_2, False) ]))
- st_2._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_3, True) ]))
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_3, False) ]))
- transitions.append(fac.Transition(st_5, [
- fac.UpdateInstruction(cc_3, False) ]))
- st_3._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_4, True) ]))
- transitions.append(fac.Transition(st_5, [
- fac.UpdateInstruction(cc_4, False) ]))
- st_4._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_6, [
- ]))
- st_5._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_6, [
- fac.UpdateInstruction(cc_5, True) ]))
- st_6._set_transitionSet(transitions)
- return fac.Automaton(states, counters, False, containing_state=None)
-T_SIMP._Automaton = _BuildAutomaton_7()
-
-
-
-
-def _BuildAutomaton_8 ():
- # Remove this helper function from the namespace after it is invoked
- global _BuildAutomaton_8
- del _BuildAutomaton_8
- import pyxb.utils.fac as fac
-
- counters = set()
- cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 516, 5))
- counters.add(cc_0)
- cc_1 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 517, 5))
- counters.add(cc_1)
- cc_2 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 518, 5))
- counters.add(cc_2)
- cc_3 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 519, 5))
- counters.add(cc_3)
- cc_4 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 520, 5))
- counters.add(cc_4)
- states = []
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_0, False))
- symbol = pyxb.binding.content.ElementUse(T_typeAttendu._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'typesimple')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 516, 5))
- st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_0)
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_1, False))
- symbol = pyxb.binding.content.ElementUse(T_typeAttendu._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'matrice_double')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 517, 5))
- st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_1)
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_2, False))
- symbol = pyxb.binding.content.ElementUse(T_typeAttendu._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'matrice_symetrique_double')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 518, 5))
- st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_2)
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_3, False))
- symbol = pyxb.binding.content.ElementUse(T_typeAttendu._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'tuple')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 519, 5))
- st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_3)
- final_update = set()
- final_update.add(fac.UpdateInstruction(cc_4, False))
- symbol = pyxb.binding.content.ElementUse(T_typeAttendu._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'classe_utilisateur')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 520, 5))
- st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_4)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- fac.UpdateInstruction(cc_0, True) ]))
- st_0._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_1, True) ]))
- st_1._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- fac.UpdateInstruction(cc_2, True) ]))
- st_2._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_3, True) ]))
- st_3._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_4, True) ]))
- st_4._set_transitionSet(transitions)
- return fac.Automaton(states, counters, True, containing_state=None)
-T_typeAttendu._Automaton = _BuildAutomaton_8()
-
-
-
-
-T_OPER._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typeCree'), T_classe_utilisateur, scope=T_OPER, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 7, 1)))
-
-def _BuildAutomaton_9 ():
- # Remove this helper function from the namespace after it is invoked
- global _BuildAutomaton_9
- del _BuildAutomaton_9
- import pyxb.utils.fac as fac
-
- counters = set()
- cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3))
- counters.add(cc_0)
- cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3))
- counters.add(cc_1)
- states = []
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'regles')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3))
- st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_0)
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3))
- st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_1)
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'BLOC')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 92, 4))
- st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_2)
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'FACT')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 93, 4))
- st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_3)
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'SIMP')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 94, 4))
- st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_4)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'typeCree')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 104, 5))
- st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
- states.append(st_5)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- fac.UpdateInstruction(cc_0, True) ]))
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_2, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_0, False) ]))
- st_0._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_1, True) ]))
- transitions.append(fac.Transition(st_2, [
- fac.UpdateInstruction(cc_1, False) ]))
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_1, False) ]))
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_1, False) ]))
- st_1._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- transitions.append(fac.Transition(st_5, [
- ]))
- st_2._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- transitions.append(fac.Transition(st_5, [
- ]))
- st_3._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- transitions.append(fac.Transition(st_5, [
- ]))
- st_4._set_transitionSet(transitions)
- transitions = []
- st_5._set_transitionSet(transitions)
- return fac.Automaton(states, counters, False, containing_state=None)
-T_OPER._Automaton = _BuildAutomaton_9()
-
-
-
-
-def _BuildAutomaton_10 ():
- # Remove this helper function from the namespace after it is invoked
- global _BuildAutomaton_10
- del _BuildAutomaton_10
- import pyxb.utils.fac as fac
-
- counters = set()
- cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3))
- counters.add(cc_0)
- cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3))
- counters.add(cc_1)
- states = []
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_PROC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'regles')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3))
- st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_0)
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_PROC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3))
- st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_1)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_PROC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'BLOC')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 92, 4))
- st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_2)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_PROC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'FACT')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 93, 4))
- st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_3)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_PROC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'SIMP')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 94, 4))
- st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_4)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- fac.UpdateInstruction(cc_0, True) ]))
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_2, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_0, False) ]))
- st_0._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_1, True) ]))
- transitions.append(fac.Transition(st_2, [
- fac.UpdateInstruction(cc_1, False) ]))
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_1, False) ]))
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_1, False) ]))
- st_1._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- st_2._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- st_3._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- st_4._set_transitionSet(transitions)
- return fac.Automaton(states, counters, False, containing_state=None)
-T_PROC._Automaton = _BuildAutomaton_10()
-
-
-
-
-def _BuildAutomaton_11 ():
- # Remove this helper function from the namespace after it is invoked
- global _BuildAutomaton_11
- del _BuildAutomaton_11
- import pyxb.utils.fac as fac
-
- counters = set()
- cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3))
- counters.add(cc_0)
- cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3))
- counters.add(cc_1)
- states = []
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_FACT._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'regles')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3))
- st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_0)
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_FACT._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3))
- st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_1)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_FACT._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'BLOC')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 92, 4))
- st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_2)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_FACT._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'FACT')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 93, 4))
- st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_3)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_FACT._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'SIMP')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 94, 4))
- st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_4)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- fac.UpdateInstruction(cc_0, True) ]))
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_2, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_0, False) ]))
- st_0._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_1, True) ]))
- transitions.append(fac.Transition(st_2, [
- fac.UpdateInstruction(cc_1, False) ]))
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_1, False) ]))
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_1, False) ]))
- st_1._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- st_2._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- st_3._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- st_4._set_transitionSet(transitions)
- return fac.Automaton(states, counters, False, containing_state=None)
-T_FACT._Automaton = _BuildAutomaton_11()
-
-
-
-
-T_BLOC._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'condition'), T_fonction_python, scope=T_BLOC, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 45, 1)))
-
-def _BuildAutomaton_12 ():
- # Remove this helper function from the namespace after it is invoked
- global _BuildAutomaton_12
- del _BuildAutomaton_12
- import pyxb.utils.fac as fac
-
- counters = set()
- cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3))
- counters.add(cc_0)
- cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3))
- counters.add(cc_1)
- states = []
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'regles')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3))
- st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_0)
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3))
- st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_1)
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'BLOC')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 92, 4))
- st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_2)
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'FACT')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 93, 4))
- st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_3)
- final_update = None
- symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'SIMP')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 94, 4))
- st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
- states.append(st_4)
- final_update = set()
- symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'condition')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 162, 5))
- st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
- states.append(st_5)
- transitions = []
- transitions.append(fac.Transition(st_0, [
- fac.UpdateInstruction(cc_0, True) ]))
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_2, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_0, False) ]))
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_0, False) ]))
- st_0._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_1, [
- fac.UpdateInstruction(cc_1, True) ]))
- transitions.append(fac.Transition(st_2, [
- fac.UpdateInstruction(cc_1, False) ]))
- transitions.append(fac.Transition(st_3, [
- fac.UpdateInstruction(cc_1, False) ]))
- transitions.append(fac.Transition(st_4, [
- fac.UpdateInstruction(cc_1, False) ]))
- st_1._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- transitions.append(fac.Transition(st_5, [
- ]))
- st_2._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- transitions.append(fac.Transition(st_5, [
- ]))
- st_3._set_transitionSet(transitions)
- transitions = []
- transitions.append(fac.Transition(st_2, [
- ]))
- transitions.append(fac.Transition(st_3, [
- ]))
- transitions.append(fac.Transition(st_4, [
- ]))
- transitions.append(fac.Transition(st_5, [
- ]))
- st_4._set_transitionSet(transitions)
- transitions = []
- st_5._set_transitionSet(transitions)
- return fac.Automaton(states, counters, False, containing_state=None)
-T_BLOC._Automaton = _BuildAutomaton_12()
-
-
-classeUtilisateurName._setSubstitutionGroup(typeAttendu)
+++ /dev/null
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-import sys,os
-import raw.efficas as efficas
-import types
-
-sys.path.insert(0,os.path.abspath(os.path.join(os.getcwd(),'..')))
-sys.path.insert(0,os.path.abspath(os.path.join(os.getcwd(),'..','UiQT5')))
-
-
-from Accas import *
-
-
-# Attention pas d heritage possible (cf doc pyxbe)
-
-dictSIMPEficasXML= { 'typ' : 'typeAttendu', 'statut' : 'statut',
- 'min_occurs': 'min' , 'max_occurs' : 'max',
- 'homo' : 'homo' , 'position' : 'portee',
- 'validators': 'validators' , 'sug' : 'valeur_sugg',
- 'defaut' : 'ValeurDef' , 'into' : ('PlageValeur','into'),
- 'val_min' : ('PlageValeur','borne_inf') , 'val_max' : ('PlageValeur','borne_sup'),
- 'ang' : ('doc','ang') , 'fr' : ('doc','fr',) ,
- 'docu' : ('doc','docu'),}
-
-dictSIMPXMLEficas = {'doc' : {'fr' : 'fr' , 'ang' : 'ang' , 'docu' : 'docu' },
- 'PlageValeur' : {'borne_sup' : 'val_max' , 'into' : 'into' , 'borne_inf' : 'val_min' ,},
- 'statut' : 'statut' , 'validators' : 'validators' , 'homo' : 'homo' ,
- 'ValeurDef' : 'defaut' , 'min' : 'min_occurs' ,
- 'valeur_sugg' : 'sug' , 'portee' : 'position' , 'max' : 'max_occurs' , }
-
-
-# ------------------------------
-class monSIMP (efficas.T_SIMP):
-# ------------------------------
-
- def explore(self):
- print "je passe dans explore pour SIMP ", self.nom
- self.dictArgsEficas={}
- self.dictArgsEficas['typ']=self.typeAttendu
- for nomXMLArg in dir(self) :
- if nomXMLArg in dictSIMPXMLEficas.keys() :
- nomEficasArg=dictSIMPXMLEficas[nomXMLArg]
- argu=getattr(self,nomXMLArg)
- if argu==None : continue
- if type(nomEficasArg) == types.DictionaryType:
- for nomXML in nomEficasArg.keys():
- arguDecoupe=getattr(argu,nomXML)
- nomEficasDecoupe=nomEficasArg[nomXML]
- self.dictArgsEficas[nomEficasDecoupe]=arguDecoupe
- else :
- self.dictArgsEficas[nomEficasArg] = argu
-
- #if argNew != None : print argNew
- self.objAccas=A_SIMP.SIMP(**self.dictArgsEficas)
- self.objAccas.nom=self.nom
-
- def getAccasEquivalent(self):
- return self.nom, self.objAccas
-
-# ------------------------------
-class monPROC(efficas.T_PROC):
-# ------------------------------
- def explore(self):
- print "je passe dans explore pour PROC ", self.nom
- self.dictConstruction={}
- self.dictConstruction['nom']=self.nom
-
- for obj in self.content():
- if hasattr(obj,'explore') : obj.explore ()
- if hasattr(obj,'getAccasEquivalent') :
- nom,objetAccas=obj.getAccasEquivalent()
- self.dictConstruction[nom]=objetAccas
- self.dictConstruction['op']=None
- self.objAccas=A_PROC.PROC(**self.dictConstruction)
- print dir(self.objAccas)
- print self.objAccas.entites
-
-
-# ------------------------------
-class monFACT(efficas.T_FACT):
-# ------------------------------
- def explore(self):
- #print "je passe dans explore pour FACT ", self.nom
- self.dictConstruction={}
- for obj in self.content():
- if hasattr(obj,'explore') : obj.explore
- if hasattr(obj,'creeAccasEquivalent') :
- nom,objetAccas=obj.creeAccasEquivalent()
- self.dictConstruction[nom]=objetAccas
- self.objAccas=A_FACT.FACT(**self.dictConstruction)
-
- def getAccasEquivalent(self):
- return self.nom, self.objAccas
-
-
-# ------------------------------
-class monCata(efficas.T_cata):
-# ------------------------------
- def exploreCata(self):
- # On positionne le contexte ACCAS
- self.JdC = JDC_CATA (code = 'MED', execmodul = None,)
- objAExplorer=self.commandes[0]
- for obj in objAExplorer.content():
- if hasattr(obj,'explore') : obj.explore()
-
-
-
-efficas.T_SIMP._SetSupersedingClass(monSIMP)
-efficas.T_FACT._SetSupersedingClass(monFACT)
-efficas.T_PROC._SetSupersedingClass(monPROC)
-efficas.T_cata._SetSupersedingClass(monCata)
-
-if __name__ == "__main__":
-# print dir(efficas)
-# print dir(efficas.T_SIMP)
-
-
- xml = open('Cata_MED_FAM.xml').read()
- SchemaMed = efficas.CreateFromDocument(xml)
- SchemaMed.exploreCata()
-
- #print dir(efficas.T_SIMP)
- #print dir(efficas.T_SIMP)
-
- #for maCommande in monCata.commandes :
- # for monProc in maCommande.PROC:
- # for monFact in monProc.FACT:
- # for simp in monFact.SIMP:
- # simp.creeAccasEquivalent()
self.editor.fenetreCentraleAffichee.close()
self.editor.fenetreCentraleAffichee.deleteLater()
- from monWidgetNiveauFact import MonWidgetNiveauFact
+ from monWidgetNiveauFact import MonWidgetNiveauFact, MonWidgetNiveauFactTableau
maDefinition=self.item.get_definition()
monObjet=self.item.object
- self.maFenetreCadre=MonWidgetNiveauFact(self,self.editor,maDefinition,monObjet)
+ if maDefinition.fenetreIhm=='Tableau' : self.maFenetreCadre=MonWidgetNiveauFactTableau(self,self.editor,maDefinition,monObjet)
+ else : self.maFenetreCadre=MonWidgetNiveauFact(self,self.editor,maDefinition,monObjet)
self.fenetre=self.maFenetreCadre
self.editor.widgetCentraleLayout.addWidget(self.maFenetreCadre)
self.editor.fenetreCentraleAffichee=self.maFenetreCadre
#
from __future__ import absolute_import
-from . import browser
-from . import typeNode
+from InterfaceQT4 import browser
+from InterfaceQT4 import typeNode
from Extensions.i18n import tr
from Editeur import Objecttreeitem
import six
+import traceback
class Node(browser.JDCNode,typeNode.PopUpMenuNodePartiel):
def getPanelGroupe(self,parentQt,commande,insertIn=-1):
- import traceback
maDefinition=self.item.get_definition()
monObjet=self.item.object
monNom=self.item.nom
if hasattr(parentQt,'niveau'): self.niveau=parentQt.niveau+1
else : self.niveau=1
#if hasattr(self,'plie') :print self.item.nom, self.plie
- #if maDefinition.sensLayout == 'horizontal':
- # from .monWidgetFact import MonWidgetFactHorizontal
- # widget=MonWidgetFactHorizontal(self,self.editor,parentQt,maDefinition,monObjet,self.niveau,maCommande)
+ #if maDefinition.fenetreIhm == 'Tableau':
+ # from InterfaceQt4.monWidgetFact import MonWidgetFactTableau
+ # widget=MonWidgetFactTableau(self,self.editor,parentQt,maDefinition,monObjet,self.niveau,maCommande)
#elif hasattr(self,'plie') and self.plie==True :
if hasattr(self,'plie') and self.plie==True :
- from .monWidgetFactPlie import MonWidgetFactPlie
+ from InterfaceQT4.monWidgetFactPlie import MonWidgetFactPlie
widget=MonWidgetFactPlie(self,self.editor,parentQt,maDefinition,monObjet,self.niveau,maCommande,insertIn)
else:
- from .monWidgetFact import MonWidgetFact
+ from InterfaceQT4.monWidgetFact import MonWidgetFact
widget=MonWidgetFact(self,self.editor,parentQt,maDefinition,monObjet,self.niveau,maCommande,insertIn)
return widget
def init(self):
# Si l'objet Accas (MCList) a moins d'un mot cle facteur
# on utilise directement ce mot cle facteur comme delegue
- #print ('he suis dans init de MCListTreeItem')
+ print ('je suis dans init de MCListTreeItem')
#import traceback
#traceback.print_stack()
self.updateDelegate()
if generator.plugins.has_key('dicoImbrique'):
self.generator=generator.plugins['dicoImbrique']()
jdc_formate=self.generator.gener(self.jdc)
- dico=self.get_Dico() #generator.Dico
+ dico=self.getDico() #generator.Dico
for k in dico['CONTINGENCY_PROCESSING'].keys():
###
return dico
- #return self.get_Dico()
+ #return self.getDico()
#-------------------# Pour execution avec output et error dans le bash
def process_VP(self):
if 'dicoImbrique' in generator.plugins:
self.generator=generator.plugins['dicoImbrique']()
jdc_formate=self.generator.gener(self.jdc)
- dico=self.get_Dico() #generator.Dico
+ dico=self.getDico() #generator.Dico
return dico
return
noeudAvantCommentaire=self.tree.selectedItems()[0]
if noeudAvantCommentaire ==self.tree.racine :
- self.tree.racine.append_child("COMMENTAIRE",pos=0)
+ self.tree.racine.appendChild("COMMENTAIRE",pos=0)
return
noeudAvantCommentaire.addComment(True)
#-----------------------#
def viewJdcPy(self):
#-----------------------#
- strSource = str( self.get_text_JDC(self.format) )
+ strSource = str( self.getTextJDC(self.format) )
self._viewText(strSource, "JDC_RESULTAT")
#-----------------------#
self.labelCommentaire.setText("")
#-------------------#
- def init_modif(self):
+ def initModif(self):
#-------------------#
"""
Met l'attribut modified a 'o' : utilise par Eficas pour savoir
"""
self.chercheNoeudSelectionne()
if len(self.node_selected) == 0 : return
- if len(self.node_selected) == 1 : self.node_selected[0].update_node_label_in_blue()
- else : self.node_selected[0].update_plusieurs_node_label_in_blue(self.node_selected)
+ if len(self.node_selected) == 1 : self.node_selected[0].updateNodeLabelInBlue()
+ else : self.node_selected[0].updatePlusieursNodeLabelInBlue(self.node_selected)
self.QWParent.edit="copier"
self.QWParent.noeud_a_editer = self.node_selected
except :
pass
return
- self.init_modif()
+ self.initModif()
child.select()
except :
traceback.print_exc()
# indexNoeudACopier=noeudACopier.treeParent.children.index(noeudACopier)
indexNoeudACopier=self.getTreeIndex(noeudACopier)
noeudACopier.treeParent.item.deplaceEntite(indexNoeudACopier,indexNoeudOuColler,pos)
- noeudACopier.treeParent.build_children()
+ noeudACopier.treeParent.buildChildren()
#else:
except:
return self.fichier
#---------------------------#
- def get_file_variable(self) :
+ def getFileVariable(self) :
#---------------------------#
titre = tr("Choix d'un fichier XML")
texte = tr("Le fichier contient une commande MODEL\n")
fn = six.text_type(fn)
if txt == None :
- txt = self.get_text_JDC(self.format,formatLigne=formatLigne)
+ txt = self.getTextJDC(self.format,formatLigne=formatLigne)
eol = '\n'
if len(txt) >= len(eol):
if txt[-len(eol):] != eol:
else:
txt += eol
txt=self.ajoutVersionCataDsJDC(txt)
- checksum=self.get_checksum(txt)
+ checksum=self.getChecksum(txt)
txt=txt+checksum
if self.code=="TELEMAC" : return 1
try:
return 0
#-----------------------------------------------------------#
- def get_text_JDC(self,format,pourRun=0,formatLigne="beautifie"):
+ def getTextJDC(self,format,pourRun=0,formatLigne="beautifie"):
#-----------------------------------------------------------#
if self.code == "MAP" and not(format in generator.plugins): format = "MAP"
if format in generator.plugins:
return ""
#----------------------#
- def get_Dico(self):
+ def getDico(self):
#---------------------#
if 'dicoImbrique' in generator.plugins:
self.generator=generator.plugins['dicoImbrique']()
return
if self.modified or self.fichier==None :
self.fichierMapInput = self.__generateTempFilename(prefix = "map_run", suffix = ".map")
- texte=self.get_text_JDC("MAP")
+ texte=self.getTextJDC("MAP")
self.writeFile( self.fichierMapInput, txt = texte)
else :
self.fichierMapInput=self.fichier
if self.modified or self.fichier==None :
#if 1:
self.fichierZcracksInput = self.__generateTempFilename(prefix = "zcracks_run", suffix = ".z7p")
- texte=self.get_text_JDC("ZCRACKS",pourRun=1)
+ texte=self.getTextJDC("ZCRACKS",pourRun=1)
self.writeFile( self.fichierZcracksInput, txt = texte)
else :
self.fichierZcracksInput=self.fichier
if self.modified or self.fichier==None :
QMessageBox.critical( self, tr( "Execution impossible "),tr("Sauvegarder SVP avant l'execution "))
return
- if not hasattr(self,'generator'): texte=self.get_text_JDC(self.format)
+ if not hasattr(self,'generator'): texte=self.getTextJDC(self.format)
from PrepareRunCarmel import prepareRunCarmel
fichierGenerique=os.path.basename(self.fichier).split(".")[0]
repMed=os.path.dirname(self.fichier)
if not hasattr(self, 'fichierMapInput') or not self.fichierMapInput or not os.path.exists(self.fichierMapInput):
self.fichierMapInput = self.__generateTempFilename(prefix = "map_run", suffix = ".map")
- texte=self.get_text_JDC("MAP")
+ texte=self.getTextJDC("MAP")
self.writeFile( self.fichierMapInput, txt = texte)
cmd = ("map gen -t dat -n " + composant + " -i " + self.fichierMapInput + " -o " + fn)
#-----------------------------------------#
- def cherche_Groupes(self):
+ def chercheGroupes(self):
#-----------------------------------------#
- listeMA,listeNO=self.get_text_JDC("GroupMA")
+ listeMA,listeNO=self.getTextJDC("GroupMA")
return listeMA,listeNO
#-----------------------------------------#
- def cherche_Dico(self):
+ def chercheDico(self):
#-----------------------------------------#
dicoCourant={}
format = self.appliEficas.format_fichier
if newName is not None:
self.appliEficas.addToRecentList(newName)
self.tree.racine.item.getObject().nom=os.path.basename(newName)
- self.tree.racine.update_node_label()
+ self.tree.racine.updateNodeLabel()
if self.jdc.isvalid() != 0 and hasattr(self.generator, "writeDefault"):
self.generator.writeDefault(fn)
#---------------------------------------------#
- def get_file(self,unite=None,fic_origine = ''):
+ def getFile(self,unite=None,fic_origine = ''):
#---------------------------------------------#
# appele par I_JDC
ulfile = None
titre,
self.appliEficas.CONFIGURATION.savedir)
- # ce retour est impose par le get_file d'I_JDC
+ # ce retour est impose par le getFile d'I_JDC
if fn== '' : return None," "
if not fn : return (0, " ")
fn=fn[0]
etape=monItem.item.object
CONTEXT.set_current_step(etape)
etape.build_includeInclude(texte)
- self.tree.racine.build_children()
+ self.tree.racine.buildChildren()
#-----------------------------------#
def updateJdcEtape(self, itemApres,texte):
QMessageBox.information( self,
tr("Import texte"),
tr("Impossible d importer le texte"))
- self.tree.racine.build_children()
+ self.tree.racine.buildChildren()
return ok
#print (mot, ouChercher)
if ouChercher==None : return None
monMC=ouChercher.get_child(MCFils,restreint="oui")
- monMC.set_valeur(valeur)
+ monMC.setValeur(valeur)
monMC.isvalid()
indexFin=text.find(":FIN CHECKSUM")
checkAvant=text[indexDeb:indexFin+13]
textJDC=text[0:indexDeb]+text[indexFin+13:-1]
- checksum=self.get_checksum(textJDC)
+ checksum=self.getChecksum(textJDC)
pareil=(checkAvant==checksum)
return pareil, textJDC
#---------------------------#
- def get_checksum(self,texte):
+ def getChecksum(self,texte):
#---------------------------#
newtexte=texte.replace('"','\\"')
commande='echo "'+newtexte+'"|md5sum'
--- /dev/null
+# Copyright (C) 2007-2017 EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+# Modules Python
+# Modules Eficas
+from __future__ import absolute_import
+try :
+ from builtins import str
+except : pass
+import types, os
+import traceback
+
+from PyQt5.QtGui import QIcon
+from InterfaceQT4.monWidgetCommande import MonWidgetCommande
+
+class MonWidgetCommandeDeplie1Niveau(MonWidgetCommande):
+# Attention au MCLIST qui ne sont pas des MCFACT
+# il faut donc surcharger un certain nb de fonction ici pour eux
+
+
+
+
+ def __init__(self,node,editor,etape):
+ MonWidgetCommande.__init__(self,node,editor,etape)
+ self.node.plieToutEtReaffiche=self.plieToutEtReaffiche
+
+ def afficheMots(self):
+ #print ("debut de ---------------------- ds afficheMots de MonWidgetCommandeDeplie1Niveau ",self.node.item.nom)
+ #traceback.print_stack()
+ repIcon=self.editor.appliEficas.repIcon
+ fichier=os.path.join(repIcon, 'deleteRondVide.png')
+ icon = QIcon(fichier)
+ for node in self.node.children:
+
+ node.plie=True
+ node.setPlieChildren()
+ if node.appartientAUnNoeudPlie==True : continue
+
+ node.plieToutEtReaffiche = self.plieToutEtReaffiche
+ node.deplieToutEtReaffiche = self.deplieToutEtReaffiche
+ node.affichePanneau = self.affichePanneau
+ node.getPanel = self.getPanel
+
+ widget=node.getPanelGroupe(self,self.maCommande)
+ self.listeFocus.append(node.fenetre)
+
+ try :
+ node.fenetre.RBDeplie.setCheckable(False)
+ node.fenetre.RBDeplie.setEnabled(False)
+ node.fenetre.RBDeplie.setIcon(icon)
+ except : pass
+
+ if node.item.object.isMCList() :
+ node.setDeplie = self.setDepliePourMCList
+
+ for c in node.children :
+ c.setDeplie = self.setDepliePourNode
+ c.plieToutEtReaffiche = self.plieToutEtReaffiche
+ c.deplieToutEtReaffiche = self.deplieToutEtReaffiche
+ c.getPanel = self.getPanel
+ c.affichePanneau = self.affichePanneau
+ try :
+ c.fenetre.RBDeplie.setCheckable(False)
+ c.fenetre.RBDeplie.setEnabled(False)
+ c.fenetre.RBDeplie.setIcon(icon)
+ except :
+ pass
+ else :
+ node.setDeplie=self.setDepliePourNode
+
+ #print ("fin ------------------------ afficheMots de MonWidgetCommandeDeplie1Niveau ",self.node.item.nom)
+
+ def setDepliePourNode(self):
+ noeudCourant=self.node.tree.itemCourant
+ noeudCourant.setDeplieChildren()
+ noeudCourant.afficheCeNiveau()
+ pass
+
+
+ def setDepliePourMCList(self):
+ #print ('je surcharge setDeplie pour MCList')
+ pass
+
+ def setPlieChildren(self):
+ #print ('je surcharge setPlieChildren')
+ pass
+
+ def setDeplieChildren(self):
+ #print ('je surcharge setDeplieChildren')
+ pass
+
+ def plieToutEtReaffiche(self):
+ #print ('je surcharge plieToutEtReaffiche', self.node.item.nom)
+ pass
+
+ def deplieToutEtReaffiche(self):
+ #print ('je surcharge deplieToutEtReaffiche', self.node.tree.itemCourant.item.getLabelText())
+ pass
+
+ def plieToutEtReafficheSaufItem(self):
+ #print ('je surcharge plieToutEtReaffiche', self.node.tree.itemCourant.item.getLabelText())
+ pass
+
+ def affichePanneau(self):
+ #print ('je surcharge affichePanneau', self.node.tree.itemCourant.item.getLabelText())
+ item=self.node.tree.itemCourant.item
+ self.setDepliePourNode()
+ self.editor.fenetreCentraleAffichee.labelNomCommande.setText(item.getLabelText()[0])
+ self.editor.fenetreCentraleAffichee.labelDoc.setText(item.getFr())
+
+ def afficheSuivant(self,aAfficher):
+ fenetre=self.node.tree.itemCourant.fenetre
+ fenetre.afficheSuivant(aAfficher)
+
+ def getPanel (self):
+ #print ('surcharge ds getPanel')
+ pass
from .groupe import Groupe
from desWidgetFact import Ui_WidgetFact
-#from desWidgetFactHorizon import Ui_WidgetFactHorizon
+from desWidgetFactTableau import Ui_WidgetFactTableau
from Extensions.i18n import tr
# Import des panels
class MonWidgetFact(Ui_WidgetFact,MonWidgetFactCommun):
- def __init__(self,node,editor,parentQt,definition, obj, niveau,commande,insertIn=True):
+ def __init__(self,node,editor,parentQt,definition, obj, niveau,commande,insertIn=1):
MonWidgetFactCommun.__init__(self,node,editor,parentQt, definition,obj,niveau,commande,insertIn)
-#class MonWidgetFactHorizontal(Ui_WidgetFactHorizon,MonWidgetFactCommun):
-# def __init__(self,node,editor,parentQt,definition, obj, niveau,commande):
-# MonWidgetFactCommun.__init__(self,node,editor,parentQt, definition,obj,niveau,commande)
+#class MonWidgetFactTableau(Ui_WidgetFactTableau,MonWidgetFactCommun):
+class MonWidgetFactTableau(Ui_WidgetFact,MonWidgetFactCommun):
+ def __init__(self,node,editor,parentQt,definition, obj, niveau,commande,insertIn=1):
+ MonWidgetFactCommun.__init__(self,node,editor,parentQt, definition,obj,niveau,commande,insertIn)
+ print ('je passe dans FactTableau')
+ MonWidgetFactTableau.__init__(self,node,editor,parentQt, definition,obj,niveau,commande)
from desWidgetNiveauFact import Ui_WidgetNiveauFact
from InterfaceQT4.groupe import Groupe
-#from .gereIcones import FacultatifOuOptionnel
+from InterfaceQT4.monWidgetTableau import MonFactTableauCommun
from PyQt5.QtWidgets import QWidget
-#from PyQt5.QtWidgets import QApplication, QWidget, QSpacerItem, QSizePolicy
-#from PyQt5.QtGui import QFont, QIcon
-#from PyQt5.QtCore import QTimer
-#from PyQt5.QtCore import Qt
-
from Extensions.i18n import tr
self.listeAffichageWidget=[]
Groupe.__init__(self,node,editor,None,definition,obj,1,self)
self.afficheOptionnel()
+ self.inhibe=False
def reaffiche(self,nodeAVoir=None):
self.node.setDeplieChildren()
self.monGroupe=self.monOptionnel.afficheOptionnel(liste,liste_rouge,self)
+class MonWidgetNiveauFactTableau(MonWidgetNiveauFact, MonFactTableauCommun):
+ def __init__(self,node,editor,definition,obj):
+ MonWidgetNiveauFact.__init__(self,node,editor,definition,obj)
+ MonFactTableauCommun.__init__(self)
--- /dev/null
+# -*- coding: utf-8 -*-
+# Copyright (C) 2007-2017 EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+# Modules Python
+from __future__ import absolute_import
+try :
+ from builtins import str
+ from builtins import range
+ from builtins import object
+except : pass
+
+import types,os,sys
+
+from six.moves import range
+from PyQt5.QtGui import QIcon
+from PyQt5.QtWidgets import QApplication, QMessageBox
+from PyQt5.QtCore import QTimer, QSize, Qt
+
+# Modules Eficas
+from Extensions.i18n import tr
+
+from .feuille import Feuille
+from desWidgetPlusieursBase import Ui_WidgetPlusieursBase
+from .politiquesValidation import PolitiquePlusieurs
+from .qtSaisie import SaisieValeur
+from .gereListe import GereListe
+from .gereListe import GerePlie
+from .gereListe import LECustom
+
+
+class MonFactTableauCommun :
+
+ def __init__(self):
+ print "MonFactTableauCommun"
+
+#,GereListe,GerePlie):
+#
+# def __init__(self,node,monSimpDef,nom,objSimp,parentQt,commande):
+# #print "MonWidgetPlusieursBase", nom
+# self.inFocusOutEvent=False
+# self.nomLine="lineEditVal"
+# self.inInit=True
+# self.indexDernierLabel=0
+# self.NumLineEditEnCours=0
+# self.listeAffichageWidget=[]
+# Feuille.__init__(self,node,monSimpDef,nom,objSimp,parentQt,commande)
+# GereListe.__init__(self)
+# self.gereIconePlier()
+# self.BSelectFichier.clicked.connect(self.selectInFile)
+#
+# if sys.platform[0:5]!="linux":
+# repIcon=self.node.editor.appliEficas.repIcon
+# fichier=os.path.join(repIcon, 'arrow_up.png')
+# icon = QIcon(fichier)
+# self.RBHaut.setIcon(icon)
+# self.RBHaut.setIconSize(QSize(32, 32))
+# fichier2=os.path.join(repIcon, 'arrow_down.png')
+# icon2 = QIcon(fichier2)
+# self.RBBas.setIcon(icon2)
+# fichier3=os.path.join(repIcon, 'file-explorer.png')
+# icon3 = QIcon(fichier2)
+# self.BSelectFichier.setIcon(icon3)
+# self.BSelectFichier.setIconSize(QSize(32, 32))
+# icon=QIcon(self.repIcon+"/MoinsBleu.png")
+# self.RBMoins.setIcon(icon)
+# icon=QIcon(self.repIcon+"/PlusBleu.png")
+# self.RBPlus.setIcon(icon)
+# icon=QIcon(self.repIcon+"/verre-loupe-icone-6087-64.png")
+# self.RBVoisListe.setIcon(icon)
+#
+#
+# self.listeValeursCourantes=self.node.item.getListeValeurs()
+# if self.monSimpDef.max != "**" and self.monSimpDef.max < 7:
+# hauteurMax=dicoLongueur[self.monSimpDef.max]
+# else :
+# hauteurMax=220
+# # if self.monSimpDef.max == self.monSimpDef.min : self.setMaximumHeight(hauteur)
+# self.resize(self.width(),hauteurMax)
+# self.setMinimumHeight(hauteurMax)
+# self.finCommentaireListe()
+# self.parentQt.commandesLayout.insertWidget(-1,self)
+# self.maCommande.listeAffichageWidget.append(self.lineEditVal1)
+# self.AAfficher=self.lineEditVal1
+# self.inInit=False
+# # PNPN a completer __ si tuple le type des tuples sinon le tuple
+# self.monCommentaireLabel.setText(self.finCommentaireListe())
+#
+#
+# def setValeurs(self):
+# self.vScrollBar = self.scrollArea.verticalScrollBar()
+# self.politique=PolitiquePlusieurs(self.node,self.editor)
+# # construction du min de valeur a entrer
+# if self.monSimpDef.max == "**" : aConstruire=7
+# elif self.monSimpDef.max == float('inf'): aConstruire=7
+# else : aConstruire=self.monSimpDef.max
+#
+# for i in range(1,aConstruire):
+# self.ajoutLineEdit()
+# QApplication.processEvents()
+# self.scrollArea.ensureWidgetVisible(self.lineEditVal1)
+# self.listeValeursCourantes=self.node.item.getListeValeurs()
+# index=1
+# for valeur in self.listeValeursCourantes :
+# val=self.politique.getValeurTexte(valeur)
+# nomLineEdit="lineEditVal"+str(index)
+# if hasattr(self,nomLineEdit) :
+# courant=getattr(self,nomLineEdit)
+# if 'R' in self.objSimp.definition.type and str(val) != repr(val) : courant.setText(repr(val))
+# else : courant.setText(str(val))
+# else :
+# self.ajoutLineEdit(val)
+# index=index+1
+# # ajout d'une ligne vide ou affichage commentaire
+# if self.indexDernierLabel < self.monSimpDef.max : self.ajoutLineEdit()
+# else : self.scrollArea.setToolTip('nb max de valeurs atteint')
+# #self.adjustSize()
+# #self.vScrollBar.triggerAction(QScrollBar.SliderToMinimum)
+#
+#
+# def ajoutLineEdit(self,valeur=None,):
+# self.indexDernierLabel=self.indexDernierLabel+1
+# nomLineEdit="lineEditVal"+str(self.indexDernierLabel)
+# if hasattr(self,nomLineEdit) :
+# self.indexDernierLabel=self.indexDernierLabel-1
+# return
+# nouveauLE = LECustom(self.scrollArea,self,self.indexDernierLabel)
+# self.verticalLayoutLE.insertWidget(self.indexDernierLabel-1,nouveauLE)
+# nouveauLE.setText("")
+# if self.indexDernierLabel % 2 == 1 : nouveauLE.setStyleSheet("background:rgb(210,210,210)")
+# else : nouveauLE.setStyleSheet("background:rgb(235,235,235)")
+# nouveauLE.setFrame(False)
+# nouveauLE.returnPressed.connect(self.changeValeur)
+#
+# setattr(self,nomLineEdit,nouveauLE)
+# self.listeAffichageWidget.append(nouveauLE)
+# self.etablitOrdre()
+# if valeur != None : nouveauLE.setText(str(valeur))
+# # deux lignes pour que le ensureVisible fonctionne
+# self.estVisible=nouveauLE
+# if self.inInit==False :QTimer.singleShot(1, self.rendVisibleLigne)
+# #if donneLeFocus==True : nouveauLE.setFocus()
+#
+# def etablitOrdre(self):
+# i=0
+# while(i +1 < len(self.listeAffichageWidget)):
+# self.listeAffichageWidget[i].setFocusPolicy(Qt.StrongFocus)
+# self.setTabOrder(self.listeAffichageWidget[i],self.listeAffichageWidget[i+1])
+# i=i+1
+# # si on boucle on perd l'ordre
+#
+#
+# def rendVisibleLigne(self):
+# QApplication.processEvents()
+# self.estVisible.setFocus()
+# self.scrollArea.ensureWidgetVisible(self.estVisible,0,0)
+#
+#
+# def finCommentaire(self):
+# return self.finCommentaireListe()
+#
+# def ajout1Valeur(self,valeur=None):
+# if valeur == None : return
+# liste,validite=SaisieValeur.TraiteLEValeur(self,str(valeur))
+# if validite == 0 : return
+# if liste ==[] : return
+# listeVal=[]
+# for valeur in self.listeValeursCourantes : listeVal.append(valeur)
+# validite,comm,comm2,listeRetour=self.politique.ajoutValeurs(liste,-1,listeVal)
+# if (comm2 != "" and comm != None) : return comm2
+# if validite :
+# self.listeValeursCourantes=self.listeValeursCourantes+listeRetour
+# if len(self.listeValeursCourantes) > self.monSimpDef.min :
+# self.node.item.setValeur(self.listeValeursCourantes)
+# self.reaffiche()
+# return None
+# else :
+# return(comm2+" "+comm)
+#
+# def reaffiche(self):
+# # A priori, on ne fait rien
+# pass
+#
+# #def ajoutNValeur(self,liste) :
+# # for val in liste :
+# # i=1
+# # ajoute=False
+# # while i < self.indexDernierLabel+1:
+# # nomLineEdit="lineEditVal"+str(i)
+# # courant=getattr(self,nomLineEdit)
+# # valeur=courant.text()
+# # if valeur == None or valeur == "" :
+# # ajoute=True
+# # courant.setText(str(val))
+# # commentaire=self.ajout1Valeur(val)
+# # if (commentaire != None ):
+# # self.editor.afficheInfos(commentaire,Qt.red)
+# # courant.setText("")
+# # break
+# # else :
+# # i=i+1
+# # if ajoute : continue
+# # self.ajoutLineEdit(valeur=str(val))
+# # self.changeValeur()
+#
+# def ajoutNValeur(self,liste):
+# #----------------------------
+# # attention quand on charge par un fichier, on ne peut pas se contenter d ajouter N fois 1 valeur
+# # car alors le temps de verification devient prohibitif reconstructu=ion et verification a
+# # chaque valeur. d ou l ajout de ajoutNTuple a politique plusieurs
+#
+#
+# listeFormatee=list(liste)
+#
+# min,max=self.node.item.getMinMax()
+# if self.objSimp.valeur == None : listeComplete=listeFormatee
+# else : listeComplete =self.objSimp.valeur + listeFormatee
+#
+# if len(listeComplete) > max :
+# texte=tr("Nombre maximum de valeurs ")+str(max)+tr(" atteint")
+# self.editor.afficheInfos(texte,Qt.red)
+# return
+#
+# validite,comm,comm2,listeRetour= self.politique.ajoutNTuple(listeComplete)
+# if not validite :
+# self.editor.affiche_infos(texte,Qt.red)
+# return
+#
+# # on calcule le dernier lineedit rempli avant de changer la valeur
+# if self.objSimp.valeur != None : indexDernierRempli=len(self.objSimp.valeur)
+# else : indexDernierRempli=0
+#
+# self.politique.recordValeur(listeComplete)
+#
+# indexDernierRempli=0
+# while ( indexDernierRempli < len(liste) ) :
+# texte=liste[indexDernierRempli]
+# if indexDernierRempli < self.indexDernierLabel:
+# nomLineEdit="lineEditVal"+str(indexDernierRempli+1)
+# courant=getattr(self,nomLineEdit)
+# courant.setText(str(texte))
+# else :
+# self.ajoutLineEdit(texte)
+# indexDernierRempli = indexDernierRempli + 1
+#
+#
+# def changeValeur(self,changeDePlace=True,oblige=False):
+# donneFocus=None
+# derniereValeur=None
+# self.listeValeursCourantes = []
+# fin=self.indexDernierLabel
+# for i in range (1, fin):
+# nomLineEdit="lineEditVal"+str(i)
+# courant=getattr(self,nomLineEdit)
+# valeur=courant.text()
+# lval=valeur.split(',')
+# if len (lval) > 1 :
+# msgBox=QMessageBox()
+# msgBox.setText("separator ',' ")
+# msgBox.setInformativeText("Do you want to enter " + str (lval) + "?")
+# msgBox.setStandardButtons( QMessageBox.Ok | QMessageBox.Cancel)
+# msgBox.setDefaultButton(QMessageBox.Ok)
+# ret = msgBox.exec_()
+# if ret != 1024 :
+# courant.setText("")
+# return
+# courant.setText(lval[0])
+# self.ajoutNValeur(lval[1:])
+# self.listeValeursCourantes = []
+#
+# for i in range (1, self.indexDernierLabel+1):
+# nomLineEdit="lineEditVal"+str(i)
+# courant=getattr(self,nomLineEdit)
+# valeur=courant.text()
+# if valeur != None and valeur != "" :
+# commentaire=self.ajout1Valeur(valeur)
+# if (commentaire != None ):
+# self.editor.afficheInfos(commentaire,Qt.red)
+# courant.setText("")
+# donneFocus=courant
+# self.reaffiche()
+# return
+# else :
+# self.editor.afficheInfos("")
+# elif donneFocus==None : donneFocus=courant
+#
+# nomDernierLineEdit="lineEditVal"+str(self.indexDernierLabel)
+# dernier=getattr(self,nomDernierLineEdit)
+# derniereValeur=dernier.text()
+# if changeDePlace:
+# if donneFocus != None :
+# donneFocus.setFocus()
+# self.scrollArea.ensureWidgetVisible(donneFocus)
+# elif self.indexDernierLabel < self.monSimpDef.max :
+# self.ajoutLineEdit()
+# if self.listeValeursCourantes == [] : return
+# min,max = self.node.item.getMinMax()
+# if len(self.listeValeursCourantes) < self.monSimpDef.min :
+# self.editor.afficheInfos(tr('nb min de valeurs : ')+str( self.monSimpDef.min))
+# if len(self.listeValeursCourantes) < min and oblige==True: return
+# if len(self.listeValeursCourantes) > max : return
+# self.node.item.setValeur(self.listeValeursCourantes)
+# if len(self.listeValeursCourantes) == self.monSimpDef.max :
+# self.editor.afficheInfos(tr('nb max de valeurs atteint'))
+# self.setValide()
+# self.reaffiche()
+#
+#
+#
+## Avertissement quand on quitte le widget
"""
# Modules Python
import sys, os
-sys.path.insert(0,os.path.abspath(os.path.join(os.getcwd(),'..','EssaiInit',)))
import autre_analyse_cata
from Extensions.i18n import tr
from Extensions.eficas_exception import EficasException
import uiinfo
-
+from Efi2Xsd import readerEfficas
class READERCATA:
self.fic_cata = 'Cata_MED_FAM.xml'
- import readerEfficas
- xml = open('/home/A96028/QT5GitEficasTravail/XMLEficas/EssaiInit/Cata_MED_FAM.xml').read()
+ xml = open('/home/A96028/QT5GitEficasTravail/Med/Cata_MED_FAM.xml').read()
SchemaMed = readerEfficas.efficas.CreateFromDocument(xml)
SchemaMed.exploreCata()
self.cata=(SchemaMed,)
--- /dev/null
+Catalogues/Cata_MED_FAM.xml
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<cata xmlns="http://chercheurs.edf.com/logiciels/efficas" xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://chercheurs.edf.com/logiciels/efficas file:///Z:/home_fayolle/MED_SVN/PASCALE/XSD/Model%20Efficas%20(1.1)%20%20v6%20ext.xsd">\r
+ <commandes>\r
+ <PROC xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" efficas:nom="FAS">\r
+ <efficas:FACT efficas:nom="FAMILY_MESH_NAME_REF" efficas:statut="o" efficas:min_occurs="1" efficas:max_occurs="-1">\r
+ <SIMP efficas:nom="NAME" efficas:statut="o" attribut="o">\r
+ <typeAttendu>TXM</typeAttendu>\r
+ </SIMP>\r
+ <efficas:FACT efficas:nom="ELEME" efficas:statut="f" efficas:min_occurs="1" efficas:max_occurs="1">\r
+ <efficas:FACT efficas:nom="FAMILY_NAME_ELEM" efficas:statut="f" efficas:min_occurs="1" efficas:max_occurs="-1">\r
+ <!-- <efficas:regles>\r
+ -->\r
+ <!-- Ajouter des contraintes de vérification de la présence ATT et GRO -->\r
+ <!--\r
+ <efficas:PRESENT_PRESENT>ATT GRO</efficas:PRESENT_PRESENT>\r
+ </efficas:regles>-->\r
+ <efficas:SIMP efficas:nom="NUM" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
+ <typeAttendu>I</typeAttendu>\r
+ </efficas:SIMP>\r
+ <efficas:SIMP efficas:nom="NAME" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
+ <typeAttendu>TXM</typeAttendu>\r
+ </efficas:SIMP>\r
+ <efficas:FACT efficas:nom="ATT" efficas:statut="f" efficas:max_occurs="1">\r
+ <efficas:regles>\r
+ <efficas:ENSEMBLE>DES IDE VAL</efficas:ENSEMBLE>\r
+ </efficas:regles>\r
+ <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
+ <typeAttendu>I</typeAttendu>\r
+ </SIMP>\r
+ <SIMP efficas:nom="DES" efficas:statut="o" efficas:max_occurs="-1">\r
+ <typeAttendu>TXM</typeAttendu>\r
+ </SIMP>\r
+ <SIMP efficas:nom="IDE" efficas:statut="o" efficas:max_occurs="-1">\r
+ <typeAttendu>I</typeAttendu>\r
+ </SIMP>\r
+ <SIMP efficas:nom="VAL" efficas:statut="o" efficas:max_occurs="-1">\r
+ <typeAttendu>I</typeAttendu>\r
+ </SIMP>\r
+ </efficas:FACT>\r
+ <efficas:FACT efficas:nom="GRO" efficas:statut="f" efficas:max_occurs="1">\r
+ <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
+ <typeAttendu>I</typeAttendu>\r
+ </SIMP>\r
+ <SIMP efficas:nom="NOM" efficas:statut="o" efficas:max_occurs="-1">\r
+ <typeAttendu>TXM</typeAttendu>\r
+ </SIMP>\r
+ </efficas:FACT>\r
+ </efficas:FACT>\r
+ </efficas:FACT>\r
+ <efficas:FACT efficas:nom="FAMILLE_ZERO" efficas:min_occurs="1" efficas:max_occurs="1" efficas:statut="o">\r
+ <efficas:SIMP efficas:nom="NUM" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
+ <efficas:valeurDef>\r
+ <efficas:typesimple>0</efficas:typesimple>\r
+ </efficas:valeurDef>\r
+ <efficas:plageValeur>\r
+ <efficas:into>\r
+ <efficas:typesimple>0</efficas:typesimple>\r
+ </efficas:into>\r
+ </efficas:plageValeur>\r
+ <typeAttendu>I</typeAttendu>\r
+ </efficas:SIMP>\r
+ <efficas:FACT efficas:nom="ATT" efficas:statut="f" efficas:max_occurs="1">\r
+ <efficas:regles>\r
+ <efficas:ENSEMBLE>DES IDE VAL</efficas:ENSEMBLE>\r
+ </efficas:regles>\r
+ <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
+ <typeAttendu>I</typeAttendu>\r
+ </SIMP>\r
+ <SIMP efficas:nom="DES" efficas:statut="o" efficas:max_occurs="-1">\r
+ <typeAttendu>TXM</typeAttendu>\r
+ </SIMP>\r
+ <SIMP efficas:nom="IDE" efficas:statut="o" efficas:max_occurs="-1">\r
+ <typeAttendu>I</typeAttendu>\r
+ </SIMP>\r
+ <SIMP efficas:nom="VAL" efficas:statut="o" efficas:max_occurs="-1">\r
+ <typeAttendu>I</typeAttendu>\r
+ </SIMP>\r
+ </efficas:FACT>\r
+ </efficas:FACT>\r
+ <efficas:FACT efficas:nom="NOEUD" efficas:statut="f" efficas:min_occurs="1" efficas:max_occurs="-1">\r
+ <efficas:FACT efficas:nom="FAMILY_NAME_NOE" efficas:statut="f" efficas:min_occurs="1" efficas:max_occurs="-1">\r
+ <!--<efficas:regles>-->\r
+ <!-- Ajouter des contraintes de vérification de la présence ATT et GRO -->\r
+ <!--<efficas:PRESENT_PRESENT>ATT GRO</efficas:PRESENT_PRESENT> -->\r
+ <!--</efficas:regles>-->\r
+ <efficas:SIMP efficas:nom="NUM" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
+ <typeAttendu>I</typeAttendu>\r
+ </efficas:SIMP>\r
+ <efficas:SIMP efficas:nom="NAME" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
+ <typeAttendu>TXM</typeAttendu>\r
+ </efficas:SIMP>\r
+ <efficas:FACT efficas:nom="ATT" efficas:statut="f" efficas:max_occurs="1">\r
+ <efficas:regles>\r
+ <efficas:ENSEMBLE>DES IDE VAL</efficas:ENSEMBLE>\r
+ </efficas:regles>\r
+ <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
+ <typeAttendu>I</typeAttendu>\r
+ </SIMP>\r
+ <SIMP efficas:nom="DES" efficas:statut="o" efficas:max_occurs="-1">\r
+ <typeAttendu>TXM</typeAttendu>\r
+ </SIMP>\r
+ <SIMP efficas:nom="IDE" efficas:statut="o" efficas:max_occurs="-1">\r
+ <typeAttendu>I</typeAttendu>\r
+ </SIMP>\r
+ <SIMP efficas:nom="VAL" efficas:statut="o" efficas:max_occurs="-1">\r
+ <typeAttendu>I</typeAttendu>\r
+ </SIMP>\r
+ </efficas:FACT>\r
+ <efficas:FACT efficas:nom="GRO" efficas:statut="f" efficas:max_occurs="1">\r
+ <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
+ <typeAttendu>I</typeAttendu>\r
+ </SIMP>\r
+ <SIMP efficas:nom="NOM" efficas:statut="o" efficas:max_occurs="-1">\r
+ <typeAttendu>TXM</typeAttendu>\r
+ </SIMP>\r
+ </efficas:FACT>\r
+<!-- <efficas:FACT efficas:nom="GRO" efficas:statut="f" efficas:max_occurs="1">\r
+ <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
+ <typeAttendu>I</typeAttendu>\r
+ </SIMP>\r
+ <SIMP efficas:nom="NOM" efficas:statut="o" efficas:max_occurs="-1">\r
+ <typeAttendu>TXM</typeAttendu>\r
+ </SIMP>\r
+ </efficas:FACT>\r
+--> </efficas:FACT>\r
+ </efficas:FACT>\r
+ </efficas:FACT>\r
+ </PROC>\r
+ </commandes>\r
+</cata>\r
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<cata xmlns="http://chercheurs.edf.com/logiciels/efficas" xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://chercheurs.edf.com/logiciels/efficas file:///Z:/home_fayolle/MED_SVN/PASCALE/XSD/Model%20Efficas%20(1.1)%20%20v6%20ext.xsd">\r
+<commandes>\r
+<PROC xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" efficas:nom="FAS">\r
+ <efficas:FACT efficas:nom="FAMILY_MESH_NAME_REF" efficas:statut="o" efficas:min_occurs="1" efficas:max_occurs="-1">\r
+ <SIMP efficas:nom="NAME" efficas:statut="o" attribut="o" ><typeAttendu>TXM</typeAttendu></SIMP>\r
+ <efficas:FACT efficas:nom="ELEM" efficas:statut="f" efficas:min_occurs="1" efficas:max_occurs="-1">\r
+<!-- <efficas:regles>\r
+ --><!-- Ajouter des contraintes de vérification de la présence ATT et GRO --><!--\r
+ <efficas:PRESENT_PRESENT>ATT GRO</efficas:PRESENT_PRESENT>\r
+ </efficas:regles>-->\r
+ <efficas:SIMP efficas:nom="NUM" efficas:statut="o" efficas:max_occurs="1" attribut="n"><typeAttendu>TXM</typeAttendu></efficas:SIMP>\r
+ <efficas:SIMP efficas:nom="NAME" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>TXM</typeAttendu></efficas:SIMP>\r
+ <efficas:FACT efficas:nom="ATT" efficas:statut="f" efficas:max_occurs="1">\r
+ <efficas:regles><efficas:ENSEMBLE>DES IDE VAL</efficas:ENSEMBLE></efficas:regles>\r
+ <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1" attribut="o"><typeAttendu>I</typeAttendu></SIMP>\r
+ <SIMP efficas:nom="DES" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>TXM</typeAttendu></SIMP>\r
+ <SIMP efficas:nom="IDE" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>I</typeAttendu></SIMP>\r
+ <SIMP efficas:nom="VAL" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>I</typeAttendu></SIMP>\r
+ </efficas:FACT>\r
+ <efficas:FACT efficas:nom="GRO" efficas:statut="f" efficas:max_occurs="1">\r
+ <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>I</typeAttendu></SIMP>\r
+ <SIMP efficas:nom="NOM" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>TXM</typeAttendu></SIMP>\r
+ </efficas:FACT>\r
+ </efficas:FACT>\r
+ <SIMP efficas:nom="NAMEbis" efficas:statut="o" attribut="n"><typeAttendu>TXM</typeAttendu></SIMP>\r
+ </efficas:FACT>\r
+ <efficas:FACT efficas:nom="ELEM2">\r
+ <SIMP efficas:nom="TEST2">\r
+ <typeAttendu>TXM</typeAttendu>\r
+ </SIMP>\r
+ </efficas:FACT>\r
+</PROC>\r
+</commandes>\r
+</cata>\r
--- /dev/null
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2016 EDF R&D
+#
+# This file is part of SALOME ADAO module
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+"""
+ Ce module sert pour charger les paramètres de configuration d'EFICAS
+"""
+# Modules Python
+import os, sys, string, types, re
+
+
+# Modules Eficas
+from InterfaceQT4 import configuration
+
+# Classe de base permettant de lire, afficher
+# et sauvegarder les fichiers utilisateurs
+
+class CONFIG(configuration.configBase):
+
+ def __init__(self,appli,repIni):
+
+ self.labels_eficas=['lang','rep_cata','catalogues','closeAutreCommande','closeFrameRechercheCommande','closeEntete','taille']
+ configuration.configBase.__init__(self,appli,repIni)
+
+ self.rep_user = os.environ["HOME"]
+ self.appli = appli
+ self.code = appli.code
+ self.rep_ini = repIni
+ self.savedir = self.rep_user
+
+def make_config(appli,rep):
+ return CONFIG(appli,rep)
+
--- /dev/null
+# Copyright (C) 2007-2012 EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+code="MED"
+import sys, os
+if os.path.dirname(os.path.abspath(__file__)) not in sys.path :
+ sys.path.insert(0,os.path.dirname(os.path.abspath(__file__)))
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT
+# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF
+# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+import os,sys
+# repIni sert a localiser le fichier editeur.ini
+# Obligatoire
+repIni=os.path.dirname(os.path.abspath(__file__))
+INSTALLDIR=os.path.join(repIni,'..')
+sys.path[:0]=[INSTALLDIR]
+
+
+# lang indique la langue utilisee pour les chaines d'aide : fr ou ang
+lang='en'
+
+# Codage des strings qui accepte les accents (en remplacement de 'ascii')
+encoding='iso-8859-1'
+docPath=repIni
+
+#
+typeDeCata='XML'
+catalogues=(
+ ('med','med',os.path.join(repIni,'cata_med.py'),'dico','xml'),
+)
+
--- /dev/null
+#@ MODIF properties Accas DATE 11/06/2008 AUTEUR aster M.ADMINISTRATEUR
+# RESPONSABLE D6BHHHH J-P.LEFEBVRE
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT
+# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF
+# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+# ======================================================================
+# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR
+# DE LA VERSION DU CODE_ASTER ASSOCIE
+#----------------------------------------------------------------------
+version = "1.2"
+date = "25/05/2010"
+exploit = False
--- /dev/null
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+# Copyright (C) 2007-2017 EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+"""
+"""
+# Modules Python
+
+# Modules Eficas
+import prefs
+name='prefs_'+prefs.code
+__import__(name)
+
+#import sys
+#reload(sys)
+#sys.setdefaultencoding('latin1')
+
+from InterfaceQT4 import eficas_go
+print eficas_go
+eficas_go.lanceEficas(code=prefs.code)
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>Form</class>
+ <widget class="QWidget" name="Form">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>760</width>
+ <height>515</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Form</string>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="QTableWidget" name="TBMatrice"/>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>Form</class>
+ <widget class="QWidget" name="Form">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>281</width>
+ <height>51</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Saisie date et heure</string>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <widget class="QTextEdit" name="te_date">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>101</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>101</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="toolTip">
+ <string>Entrer la date</string>
+ </property>
+ <property name="html">
+ <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Latin Modern Sans'; font-size:11pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">18/12/17</p></body></html></string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QTextEdit" name="te_heure">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>101</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>101</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="toolTip">
+ <string>Entrer l'heure</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>WidgetFactTableau</class>
+ <widget class="QWidget" name="WidgetFactTableau">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>949</width>
+ <height>225</height>
+ </rect>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
+ <property name="windowTitle">
+ <string>Form</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true"> QGroupBox {
+ border: 1px solid gray;
+ border-radius: 5px;
+ margin-top: 1ex; /* leave space at the top for the title */
+ }
+
+ QGroupBox::title {
+ padding: 0 3px;
+ }</string>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_3">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>2</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <item>
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>5</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QToolButton" name="RBPlie">
+ <property name="minimumSize">
+ <size>
+ <width>21</width>
+ <height>15</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>21</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/minusnode.png</normaloff>../Editeur/icons/minusnode.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>21</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_4">
+ <item>
+ <widget class="Line" name="line_7">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QGridLayout" name="gridLayout">
+ <property name="horizontalSpacing">
+ <number>0</number>
+ </property>
+ <item row="0" column="0">
+ <widget class="MonBoutonValide" name="RBValide">
+ <property name="minimumSize">
+ <size>
+ <width>17</width>
+ <height>25</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>25</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/ast-green-ball.png</normaloff>../Editeur/icons/ast-green-ball.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>25</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="MonLabelClic" name="GroupBox">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>25</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>12121213</width>
+ <height>25</height>
+ </size>
+ </property>
+ <property name="text">
+ <string><html><head/><body><p><span style=" font-style:italic;">TextLabel</span></p></body></html></string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="Line" name="line_4">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>200</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>1500</width>
+ <height>16</height>
+ </size>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_3">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="sizeConstraint">
+ <enum>QLayout::SetFixedSize</enum>
+ </property>
+ <item>
+ <widget class="QToolButton" name="RBRun">
+ <property name="minimumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Lance un script associé à la commande</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/roue.png</normaloff>../Editeur/icons/roue.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="RBInfo">
+ <property name="minimumSize">
+ <size>
+ <width>21</width>
+ <height>25</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>25</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/point-interrogation30.png</normaloff>../Editeur/icons/point-interrogation30.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>25</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="RBRegle">
+ <property name="minimumSize">
+ <size>
+ <width>21</width>
+ <height>25</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>25</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/lettreRblanc30.png</normaloff>../Editeur/icons/lettreRblanc30.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>25</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QToolButton" name="RBPoubelle">
+ <property name="minimumSize">
+ <size>
+ <width>21</width>
+ <height>25</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>25</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/deleteRond.png</normaloff>../Editeur/icons/deleteRond.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>25</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="1" column="1">
+ <layout class="QHBoxLayout" name="commandesLayout">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>2</number>
+ </property>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ <zorder></zorder>
+ <zorder></zorder>
+ </widget>
+ <customwidgets>
+ <customwidget>
+ <class>MonBoutonValide</class>
+ <extends>QToolButton</extends>
+ <header>monBoutonValide.h</header>
+ </customwidget>
+ <customwidget>
+ <class>MonLabelClic</class>
+ <extends>QLabel</extends>
+ <header>monLabelClic.h</header>
+ </customwidget>
+ </customwidgets>
+ <resources/>
+ <connections/>
+</ui>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<cata xmlns="http://chercheurs.edf.com/logiciels/efficas" xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://chercheurs.edf.com/logiciels/efficas file:///Z:/home_fayolle/MED_SVN/PASCALE/XSD/Model%20Efficas%20(1.1)%20%20v6%20ext.xsd">\r
- <commandes>\r
- <PROC xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" efficas:nom="FAS">\r
- <efficas:FACT efficas:nom="FAMILY_MESH_NAME_REF" efficas:statut="o" efficas:min_occurs="1" efficas:max_occurs="-1">\r
- <SIMP efficas:nom="NAME" efficas:statut="o" attribut="o">\r
- <typeAttendu>TXM</typeAttendu>\r
- </SIMP>\r
- <efficas:FACT efficas:nom="ELEME" efficas:statut="f" efficas:min_occurs="1" efficas:max_occurs="1">\r
- <efficas:FACT efficas:nom="FAMILY_NAME_ELEM" efficas:statut="f" efficas:min_occurs="1" efficas:max_occurs="-1">\r
- <!-- <efficas:regles>\r
- -->\r
- <!-- Ajouter des contraintes de vérification de la présence ATT et GRO -->\r
- <!--\r
- <efficas:PRESENT_PRESENT>ATT GRO</efficas:PRESENT_PRESENT>\r
- </efficas:regles>-->\r
- <efficas:SIMP efficas:nom="NUM" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
- <typeAttendu>I</typeAttendu>\r
- </efficas:SIMP>\r
- <efficas:SIMP efficas:nom="NAME" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
- <typeAttendu>TXM</typeAttendu>\r
- </efficas:SIMP>\r
- <efficas:FACT efficas:nom="ATT" efficas:statut="f" efficas:max_occurs="1">\r
- <efficas:regles>\r
- <efficas:ENSEMBLE>DES IDE VAL</efficas:ENSEMBLE>\r
- </efficas:regles>\r
- <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
- <typeAttendu>I</typeAttendu>\r
- </SIMP>\r
- <SIMP efficas:nom="DES" efficas:statut="o" efficas:max_occurs="-1">\r
- <typeAttendu>TXM</typeAttendu>\r
- </SIMP>\r
- <SIMP efficas:nom="IDE" efficas:statut="o" efficas:max_occurs="-1">\r
- <typeAttendu>I</typeAttendu>\r
- </SIMP>\r
- <SIMP efficas:nom="VAL" efficas:statut="o" efficas:max_occurs="-1">\r
- <typeAttendu>I</typeAttendu>\r
- </SIMP>\r
- </efficas:FACT>\r
- <efficas:FACT efficas:nom="GRO" efficas:statut="f" efficas:max_occurs="1">\r
- <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
- <typeAttendu>I</typeAttendu>\r
- </SIMP>\r
- <SIMP efficas:nom="NOM" efficas:statut="o" efficas:max_occurs="-1">\r
- <typeAttendu>TXM</typeAttendu>\r
- </SIMP>\r
- </efficas:FACT>\r
- </efficas:FACT>\r
- </efficas:FACT>\r
- <efficas:FACT efficas:nom="FAMILLE_ZERO" efficas:min_occurs="1" efficas:max_occurs="1" efficas:statut="o">\r
- <efficas:SIMP efficas:nom="NUM" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
- <efficas:valeurDef>\r
- <efficas:typesimple>0</efficas:typesimple>\r
- </efficas:valeurDef>\r
- <efficas:plageValeur>\r
- <efficas:into>\r
- <efficas:typesimple>0</efficas:typesimple>\r
- </efficas:into>\r
- </efficas:plageValeur>\r
- <typeAttendu>I</typeAttendu>\r
- </efficas:SIMP>\r
- <efficas:FACT efficas:nom="ATT" efficas:statut="f" efficas:max_occurs="1">\r
- <efficas:regles>\r
- <efficas:ENSEMBLE>DES IDE VAL</efficas:ENSEMBLE>\r
- </efficas:regles>\r
- <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
- <typeAttendu>I</typeAttendu>\r
- </SIMP>\r
- <SIMP efficas:nom="DES" efficas:statut="o" efficas:max_occurs="-1">\r
- <typeAttendu>TXM</typeAttendu>\r
- </SIMP>\r
- <SIMP efficas:nom="IDE" efficas:statut="o" efficas:max_occurs="-1">\r
- <typeAttendu>I</typeAttendu>\r
- </SIMP>\r
- <SIMP efficas:nom="VAL" efficas:statut="o" efficas:max_occurs="-1">\r
- <typeAttendu>I</typeAttendu>\r
- </SIMP>\r
- </efficas:FACT>\r
- </efficas:FACT>\r
- <efficas:FACT efficas:nom="NOEUD" efficas:statut="f" efficas:min_occurs="1" efficas:max_occurs="-1">\r
- <efficas:FACT efficas:nom="FAMILY_NAME_NOE" efficas:statut="f" efficas:min_occurs="1" efficas:max_occurs="-1">\r
- <!--<efficas:regles>-->\r
- <!-- Ajouter des contraintes de vérification de la présence ATT et GRO -->\r
- <!--<efficas:PRESENT_PRESENT>ATT GRO</efficas:PRESENT_PRESENT> -->\r
- <!--</efficas:regles>-->\r
- <efficas:SIMP efficas:nom="NUM" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
- <typeAttendu>I</typeAttendu>\r
- </efficas:SIMP>\r
- <efficas:SIMP efficas:nom="NAME" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
- <typeAttendu>TXM</typeAttendu>\r
- </efficas:SIMP>\r
- <efficas:FACT efficas:nom="ATT" efficas:statut="f" efficas:max_occurs="1">\r
- <efficas:regles>\r
- <efficas:ENSEMBLE>DES IDE VAL</efficas:ENSEMBLE>\r
- </efficas:regles>\r
- <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
- <typeAttendu>I</typeAttendu>\r
- </SIMP>\r
- <SIMP efficas:nom="DES" efficas:statut="o" efficas:max_occurs="-1">\r
- <typeAttendu>TXM</typeAttendu>\r
- </SIMP>\r
- <SIMP efficas:nom="IDE" efficas:statut="o" efficas:max_occurs="-1">\r
- <typeAttendu>I</typeAttendu>\r
- </SIMP>\r
- <SIMP efficas:nom="VAL" efficas:statut="o" efficas:max_occurs="-1">\r
- <typeAttendu>I</typeAttendu>\r
- </SIMP>\r
- </efficas:FACT>\r
- <efficas:FACT efficas:nom="GRO" efficas:statut="f" efficas:max_occurs="1">\r
- <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
- <typeAttendu>I</typeAttendu>\r
- </SIMP>\r
- <SIMP efficas:nom="NOM" efficas:statut="o" efficas:max_occurs="-1">\r
- <typeAttendu>TXM</typeAttendu>\r
- </SIMP>\r
- </efficas:FACT>\r
-<!-- <efficas:FACT efficas:nom="GRO" efficas:statut="f" efficas:max_occurs="1">\r
- <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1" attribut="o">\r
- <typeAttendu>I</typeAttendu>\r
- </SIMP>\r
- <SIMP efficas:nom="NOM" efficas:statut="o" efficas:max_occurs="-1">\r
- <typeAttendu>TXM</typeAttendu>\r
- </SIMP>\r
- </efficas:FACT>\r
---> </efficas:FACT>\r
- </efficas:FACT>\r
- </efficas:FACT>\r
- </PROC>\r
- </commandes>\r
-</cata>\r
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<cata xmlns="http://chercheurs.edf.com/logiciels/efficas" xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://chercheurs.edf.com/logiciels/efficas file:///Z:/home_fayolle/MED_SVN/PASCALE/XSD/Model%20Efficas%20(1.1)%20%20v6%20ext.xsd">\r
-<commandes>\r
-<PROC xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" efficas:nom="FAS">\r
- <efficas:FACT efficas:nom="FAMILY_MESH_NAME_REF" efficas:statut="o" efficas:min_occurs="1" efficas:max_occurs="-1">\r
- <SIMP efficas:nom="NAME" efficas:statut="o" attribut="o" ><typeAttendu>TXM</typeAttendu></SIMP>\r
- <efficas:FACT efficas:nom="ELEM" efficas:statut="f" efficas:min_occurs="1" efficas:max_occurs="-1">\r
-<!-- <efficas:regles>\r
- --><!-- Ajouter des contraintes de vérification de la présence ATT et GRO --><!--\r
- <efficas:PRESENT_PRESENT>ATT GRO</efficas:PRESENT_PRESENT>\r
- </efficas:regles>-->\r
- <efficas:SIMP efficas:nom="NUM" efficas:statut="o" efficas:max_occurs="1" attribut="n"><typeAttendu>TXM</typeAttendu></efficas:SIMP>\r
- <efficas:SIMP efficas:nom="NAME" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>TXM</typeAttendu></efficas:SIMP>\r
- <efficas:FACT efficas:nom="ATT" efficas:statut="f" efficas:max_occurs="1">\r
- <efficas:regles><efficas:ENSEMBLE>DES IDE VAL</efficas:ENSEMBLE></efficas:regles>\r
- <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1" attribut="o"><typeAttendu>I</typeAttendu></SIMP>\r
- <SIMP efficas:nom="DES" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>TXM</typeAttendu></SIMP>\r
- <SIMP efficas:nom="IDE" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>I</typeAttendu></SIMP>\r
- <SIMP efficas:nom="VAL" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>I</typeAttendu></SIMP>\r
- </efficas:FACT>\r
- <efficas:FACT efficas:nom="GRO" efficas:statut="f" efficas:max_occurs="1">\r
- <SIMP efficas:nom="NBR" efficas:statut="o" efficas:max_occurs="1"><typeAttendu>I</typeAttendu></SIMP>\r
- <SIMP efficas:nom="NOM" efficas:statut="o" efficas:max_occurs="-1"><typeAttendu>TXM</typeAttendu></SIMP>\r
- </efficas:FACT>\r
- </efficas:FACT>\r
- <SIMP efficas:nom="NAMEbis" efficas:statut="o" attribut="n"><typeAttendu>TXM</typeAttendu></SIMP>\r
- </efficas:FACT>\r
- <efficas:FACT efficas:nom="ELEM2">\r
- <SIMP efficas:nom="TEST2">\r
- <typeAttendu>TXM</typeAttendu>\r
- </SIMP>\r
- </efficas:FACT>\r
-</PROC>\r
-</commandes>\r
-</cata>\r
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!-- edited with XMLSpy v2015 rel. 4 (http://www.altova.com) by USER1 (EDF-DSP) -->\r
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns="http://chercheurs.edf.com/logiciels/efficas" xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" xmlns:altova="http://www.altova.com/xml-schema-extensions" targetNamespace="http://chercheurs.edf.com/logiciels/efficas" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0" vc:minVersion="1.1">\r
- <!--<xs:import schemaLocation="./Model Efficas (1.1) v5.xsd" namespace="http://chercheurs.edf.com/logiciels/efficas"/>\r
--->\r
- <xs:override schemaLocation="./Model Efficas (1.1) v6.xsd">\r
- <xs:attribute name="attribut" type="AT_attribut"/>\r
- <xs:simpleType name="AT_attribut">\r
- <xs:restriction base="xs:string">\r
- <xs:enumeration value="n"/>\r
- <xs:enumeration value="o"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
-\r
-<!-- <xs:complexType name="essai">\r
- <xs:sequence>\r
- <xs:element ref="valeurDef" minOccurs="0"/>\r
- </xs:sequence>\r
- <xs:attribute ref="attribut" default="n"/>\r
- </xs:complexType>\r
---> \r
- <xs:complexType name="T_SIMP">\r
- <xs:sequence>\r
- <xs:element ref="doc" minOccurs="0"/>\r
- <xs:element ref="portee" minOccurs="0">\r
- <xs:annotation>\r
- <xs:documentation>La portée pouurait devenir un attribut de SIMP. Une autre solution consisterait a créer un SIMPG pour distinguer les @nom uniques des SIMP a portée globale des autres.</xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element ref="valeurDef" minOccurs="0"/>\r
- <xs:element ref="valeurSugg" minOccurs="0"/>\r
- <xs:element ref="plageValeur" minOccurs="0"/>\r
- <xs:element ref="typeAttendu"/>\r
- <xs:element ref="validators" minOccurs="0"/>\r
- </xs:sequence>\r
- <xs:attribute ref="nom" use="required"/>\r
- <xs:attribute ref="statut" default="o"/>\r
- <xs:attribute ref="min_occurs" default="1"/>\r
- <xs:attribute ref="max_occurs" default="1">\r
- <xs:annotation>\r
- <xs:documentation>La valeur -1 equivaut à oo</xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- <xs:attribute name="attribut" default="n">\r
- <xs:simpleType>\r
- <xs:restriction base="xs:string">\r
- <xs:enumeration value="n"/>\r
- <xs:enumeration value="o"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:attribute>\r
- <!-- Les deux lignes suivantes ne fonctionnent pas car il faut que la cible référencée soit déjà définie dans le fichier importé ? -->\r
- <!-- <xs:attribute default="n" ref="attribut"/>-->\r
- <!-- <xs:attribute default="n" name="attribut" type="AT_attribut" />-->\r
- </xs:complexType>\r
- </xs:override>\r
- </xs:schema>\r
-
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!-- édité avec XMLSpy v2018 sp1 (http://www.altova.com) par Fayolle (EDF R&D) -->\r
-<!-- edited with XMLSpy v2015 rel. 4 (http://www.altova.com) by USER1 (EDF-DSP) -->\r
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns="http://chercheurs.edf.com/logiciels/efficas" xmlns:efficas="http://chercheurs.edf.com/logiciels/efficas" xmlns:altova="http://www.altova.com/xml-schema-extensions" targetNamespace="http://chercheurs.edf.com/logiciels/efficas" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0" vc:minVersion="1.1">\r
- <xs:element name="doc" type="T_doc"/>\r
- <xs:element name="cata" type="T_cata"/>\r
- <xs:element name="regles" type="T_regles"/>\r
- <xs:element name="typeCree" type="T_classe_utilisateur"/>\r
- <xs:element name="valeurDef" type="T_typeAttendu"/>\r
- <xs:element name="valeurSugg" type="T_typeAttendu"/>\r
- <xs:element name="fonction_utilisateur" type="T_fonction_python"/>\r
- <xs:element name="commandes" type="T_commandes">\r
- <!-- La contrainte suivante fonctionne -->\r
- <xs:unique name="Uniq_Command">\r
- <xs:selector xpath="*"/>\r
- <xs:field xpath="@efficas:nom"/>\r
- </xs:unique>\r
- </xs:element>\r
- <xs:element name="validators" type="T_validators"/>\r
- <xs:element name="plageValeur" type="T_plageValeur"/>\r
- <xs:element name="typeAttendu" type="T_name"/>\r
- <xs:element name="classeUtilisateurName" type="T_classe_utilisateur_username" abstract="true" substitutionGroup="typeAttendu"/>\r
- <xs:element name="SIMP" type="T_SIMP"/>\r
- <xs:element name="portee" type="T_portee" default="None"/>\r
- <xs:element name="condition" type="T_fonction_python"/>\r
- <xs:element name="borne_sup" type="T_typeAttendu"/>\r
- <xs:element name="borne_inf" type="T_typeAttendu"/>\r
- <!-- <xs:element name="into" type="T_into"/>-->\r
- <xs:element name="into" type="T_into"/>\r
- <!-- <xs:element name="into_plus_fonction" type="T_into" abstract="true" substitutionGroup="into"/>-->\r
- <xs:attribute name="nom" type="AT_nom"/>\r
- <xs:attribute name="ag" type="AT_ag"/>\r
- <xs:attribute name="fr" type="xs:string"/>\r
- <xs:attribute name="ang" type="xs:string"/>\r
- <xs:attribute name="docu" type="AT_docu"/>\r
- <xs:attribute name="valeur_sugg" type="AT_valeur_sugg"/>\r
- <xs:attribute name="statut" type="AT_statut" default="o"/>\r
- <xs:attribute name="max_occurs" type="AT_max_occurs"/>\r
- <xs:attribute name="min_occurs" type="AT_min_occurs"/>\r
- <xs:attribute name="subroutine" type="AT_subroutine" default="None"/>\r
- <xs:complexType name="T_doc">\r
- <xs:attribute ref="fr" use="optional"/>\r
- <xs:attribute ref="ang"/>\r
- <xs:attribute ref="docu"/>\r
- </xs:complexType>\r
- <xs:complexType name="T_cata">\r
- <xs:sequence>\r
- <xs:element ref="commandes" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:sequence>\r
- </xs:complexType>\r
- <xs:complexType name="T_commandes">\r
- <xs:choice minOccurs="0" maxOccurs="unbounded">\r
- <xs:element ref="OPER"/>\r
- <xs:element ref="PROC"/>\r
- </xs:choice>\r
- </xs:complexType>\r
- <xs:complexType name="T_Cardinalite"/>\r
- <xs:complexType name="T_plageValeur">\r
- <xs:choice>\r
- <xs:sequence>\r
- <xs:element ref="borne_sup" minOccurs="0"/>\r
- <xs:element ref="borne_inf" minOccurs="0"/>\r
- </xs:sequence>\r
- <xs:element ref="into"/>\r
- </xs:choice>\r
- </xs:complexType>\r
- <xs:complexType name="T_Accas_Common">\r
- <xs:sequence>\r
- <xs:element ref="regles" minOccurs="0"/>\r
- <xs:element ref="doc" minOccurs="0"/>\r
- <xs:choice maxOccurs="unbounded">\r
- <xs:element ref="BLOC"/>\r
- <xs:element ref="FACT"/>\r
- <xs:element ref="SIMP"/>\r
- </xs:choice>\r
- </xs:sequence>\r
- <xs:attribute ref="nom" use="required"/>\r
- </xs:complexType>\r
- <xs:element name="OPER" type="T_OPER">\r
- <!-- La contrainte fonctionne uniquement si l'on n'oublie pas le prefix dans l'expression du selector ! -->\r
- <!-- aucun nom identique ne doit apparaître dans les sous élements d'un même niveau dans OPER ou PROC -->\r
- <xs:key name="Key_Name_In_Oper">\r
- <xs:annotation>\r
- <xs:documentation>SIMP devrait être selectionné que si .//SIMP[portee='Global']</xs:documentation>\r
- </xs:annotation>\r
- <xs:selector xpath="./efficas:BLOC |./efficas:FACT|./efficas:SIMP"/>\r
- <xs:field xpath="@efficas:nom"/>\r
- </xs:key>\r
- <xs:keyref name="Oper_Ref_A_Name_In_Exclus" refer="Key_Name_In_Oper">\r
- <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Oper_Uniq_Name_In_Exclus">\r
- <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- <xs:keyref name="Oper_Ref_A_Name_In_A_Classer" refer="Key_Name_In_Oper">\r
- <xs:selector xpath="./efficas:regles/efficas:A_CLASSER/efficas:p1 | ./efficas:regles/efficas:A_CLASSER/efficas:p2"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Oper_Uniq_Name_In_A_Classer">\r
- <xs:selector xpath="./efficas:regles/efficas:A_CLASSER/efficas:p1 | ./efficas:regles/efficas:A_CLASSER/efficas:p2"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- <xs:keyref name="Oper_Ref_A_Name_In_Au_Moins_Un" refer="Key_Name_In_Oper">\r
- <xs:selector xpath="./efficas:regles/efficas:AU_MOINS_UN"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Oper_Uniq_Name_In_Au_Moins_Un">\r
- <xs:selector xpath="./efficas:regles/efficas:AU_MOINS_UN"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- <xs:keyref name="Oper_Ref_A_Name_In_Au_Plus_Un" refer="Key_Name_In_Oper">\r
- <xs:selector xpath="./efficas:regles/efficas:AU_PLUS_UN"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Oper_Uniq_Name_In_Au_Plus_Un">\r
- <xs:selector xpath="./efficas:regles/efficas:AU_PLUS_UN"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- <xs:keyref name="Oper_Ref_A_Name_In_Ensemble" refer="Key_Name_In_Oper">\r
- <xs:selector xpath="./efficas:regles/efficas:ENSEMBLE"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Oper_Uniq_Name_In_Ensemble">\r
- <xs:selector xpath="./efficas:regles/efficas:ENSEMBLE"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- <xs:keyref name="Oper_Ref_A_Name_In_Present_Absent" refer="Key_Name_In_Oper">\r
- <xs:selector xpath="./efficas:regles/efficas:PRESENT_ABSENT"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Oper_Uniq_Name_In_Present_Absent">\r
- <xs:selector xpath="./efficas:regles/efficas:PRESENT_ABSENT"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- <xs:keyref name="Oper_Ref_A_Name_In_Present_Present" refer="Key_Name_In_Oper">\r
- <xs:selector xpath="./efficas:regles/efficas:PRESENT_PRESENT"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Oper_Uniq_Name_In_Present_Present">\r
- <xs:selector xpath="./efficas:regles/efficas:PRESENT_PRESENT"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- <xs:keyref name="Oper_Ref_A_Name_In_Un_Parmi" refer="Key_Name_In_Oper">\r
- <xs:selector xpath="./efficas:regles/efficas:UN_PARMI"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Oper_Uniq_Name_In_Un_Parmi">\r
- <xs:selector xpath="./efficas:regles/efficas:UN_PARMI"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- </xs:element>\r
- \r
- <xs:complexType name="T_OPER">\r
- <xs:complexContent>\r
- <xs:extension base="T_Accas_Common">\r
- <xs:sequence>\r
- <xs:element ref="typeCree"/>\r
- </xs:sequence>\r
- <xs:attribute ref="subroutine"/>\r
- </xs:extension>\r
- </xs:complexContent>\r
- </xs:complexType>\r
- <xs:element name="PROC" type="T_PROC">\r
- <!-- La contrainte fonctionne pour toutes les PROC adjacentes et devrait être par PROC -->\r
- <xs:key name="Key_Name_In_Proc">\r
- <xs:annotation>\r
- <xs:documentation>SIMP devrait être selectionné que si .//SIMP[portee='Global']</xs:documentation>\r
- </xs:annotation>\r
- <xs:selector xpath="./efficas:BLOC | ./efficas:FACT| ./efficas:SIMP"/>\r
- <xs:field xpath="@efficas:nom"/>\r
- </xs:key>\r
- <xs:keyref name="Proc_Ref_A_Name_In_Exclus" refer="Key_Name_In_Proc">\r
- <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Proc_Uniq_Name_In_Exclus">\r
- <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- <xs:keyref name="Proc_Ref_A_Name_In_A_Classer" refer="Key_Name_In_Proc">\r
- <xs:selector xpath="./efficas:regles/efficas:A_CLASSER/efficas:p1 | ./efficas:regles/efficas:A_CLASSER/efficas:p2"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Proc_Uniq_Name_In_A_Classer">\r
- <xs:selector xpath="./efficas:regles/efficas:A_CLASSER/efficas:p1 | ./efficas:regles/efficas:A_CLASSER/efficas:p2"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- <xs:keyref name="Proc_Ref_A_Name_In_Au_Moins_Un" refer="Key_Name_In_Proc">\r
- <xs:selector xpath="./efficas:regles/efficas:AU_MOINS_UN"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Proc_Uniq_Name_In_Au_Moins_Un">\r
- <xs:selector xpath="./efficas:regles/efficas:AU_MOINS_UN"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- <xs:keyref name="Proc_Ref_A_Name_In_Au_Plus_Un" refer="Key_Name_In_Proc">\r
- <xs:selector xpath="./efficas:regles/efficas:AU_PLUS_UN"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Proc_Uniq_Name_In_Au_Plus_Un">\r
- <xs:selector xpath="./efficas:regles/efficas:AU_PLUS_UN"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- <xs:keyref name="Proc_Ref_A_Name_In_Ensemble" refer="Key_Name_In_Proc">\r
- <xs:selector xpath="./efficas:regles/efficas:ENSEMBLE"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Proc_Uniq_Name_In_Ensemble">\r
- <xs:selector xpath="./efficas:regles/efficas:ENSEMBLE"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- <xs:keyref name="Proc_Ref_A_Name_In_Present_Absent" refer="Key_Name_In_Proc">\r
- <xs:selector xpath="./efficas:regles/efficas:PRESENT_ABSENT"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Proc_Uniq_Name_In_Present_Absent">\r
- <xs:selector xpath="./efficas:regles/efficas:PRESENT_ABSENT"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- <xs:keyref name="Proc_Ref_A_Name_In_Present_Present" refer="Key_Name_In_Proc">\r
- <xs:selector xpath="./efficas:regles/efficas:PRESENT_PRESENT"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Proc_Uniq_Name_In_Present_Present">\r
- <xs:selector xpath="./efficas:regles/efficas:PRESENT_PRESENT"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- <xs:keyref name="Ref_A_Name_In_Un_Parmi" refer="Key_Name_In_Proc">\r
- <xs:selector xpath="./efficas:regles/efficas:UN_PARMI"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- <xs:unique name="Proc_Uniq_Name_In_Un_Parmi">\r
- <xs:selector xpath="./efficas:regles/efficas:UN_PARMI"/>\r
- <xs:field xpath="."/>\r
- </xs:unique>\r
- </xs:element>\r
- <xs:complexType name="T_PROC">\r
- <xs:complexContent>\r
- <xs:extension base="T_Accas_Common">\r
- <xs:attribute ref="subroutine"/>\r
- </xs:extension>\r
- </xs:complexContent>\r
- </xs:complexType>\r
- <xs:element name="FACT" type="T_FACT">\r
- <!-- La contrainte fonctionne uniquement si l'on n'oublie pas le prefix dans l'expression du selector ! -->\r
- <!-- aucun nom identique ne doit apparaître dans les sous élements d'un même niveau de FACT -->\r
- <xs:key name="Key_Name_In_Fact">\r
- <xs:annotation>\r
- <xs:documentation>SIMP devrait être selectionné que si .//SIMP[portee='Global']</xs:documentation>\r
- </xs:annotation>\r
- <xs:selector xpath="./efficas:BLOC |./efficas:FACT|./efficas:SIMP"/>\r
- <xs:field xpath="@efficas:nom"/>\r
- </xs:key>\r
- <xs:keyref name="Ref_A_Name_In_Fact" refer="Key_Name_In_Fact">\r
- <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- </xs:element>\r
- <!-- Définition par restriction -->\r
- <!-- <xs:complexType name="T_FACT">\r
- <xs:complexContent>\r
- <xs:restriction base="T_Accas_Common">\r
- <xs:sequence>\r
- <xs:element ref="regles" minOccurs="0"/>\r
- <xs:element ref="doc" minOccurs="0"/>\r
- <xs:choice maxOccurs="unbounded">\r
- <xs:element ref="BLOC"/>\r
- <xs:element ref="FACT"/>\r
- <xs:element ref="SIMP"/>\r
- </xs:choice>\r
- </xs:sequence>\r
- </xs:restriction>\r
- </xs:complexContent>\r
- </xs:complexType>-->\r
- <xs:complexType name="T_FACT">\r
- <xs:complexContent>\r
- <xs:extension base="T_Accas_Common">\r
- <xs:attribute ref="statut"/>\r
- <xs:attribute ref="min_occurs" default="1"/>\r
- <xs:attribute ref="max_occurs" default="1">\r
- <xs:annotation>\r
- <xs:documentation>La valeur -1 equivaut à oo</xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- </xs:extension>\r
- <!-- <xs:assert test=".[exists(@efficas:max_occurs) and exists(@efficas:min_occurs) and @efficas:max_occurs gt @efficas:min_occurs]"/>\r
--->\r
- <!--<xs:assert test="if (.[exists(@efficas:max_occurs)] and .[exists(@efficas:min_occurs)] ) then (@efficas:max_occurs gt @efficas:min_occurs) or @efficas:max_occurs = -1 else true" altova:message="Erreur max_occurs > min_occurs "/>-->\r
- </xs:complexContent>\r
- </xs:complexType>\r
- <xs:simpleType name="T_fonction_python">\r
- <xs:restriction base="xs:string"/>\r
- </xs:simpleType>\r
- <xs:element name="BLOC" type="T_BLOC">\r
- <xs:key name="Key_Name_In_Bloc">\r
- <xs:annotation>\r
- <xs:documentation>SIMP devrait être selectionné que si .//SIMP[portee='Global']</xs:documentation>\r
- </xs:annotation>\r
- <xs:selector xpath="./efficas:BLOC |./efficas:FACT|./efficas:SIMP"/>\r
- <xs:field xpath="@efficas:nom"/>\r
- </xs:key>\r
- <xs:keyref name="Ref_A_Name_In_Bloc" refer="Key_Name_In_Bloc">\r
- <xs:selector xpath="./efficas:regles/efficas:EXCLUS"/>\r
- <xs:field xpath="."/>\r
- </xs:keyref>\r
- </xs:element>\r
- <xs:complexType name="T_BLOC">\r
- <xs:complexContent>\r
- <xs:extension base="T_Accas_Common">\r
- <xs:sequence>\r
- <xs:element ref="condition"/>\r
- </xs:sequence>\r
- </xs:extension>\r
- </xs:complexContent>\r
- </xs:complexType>\r
- <xs:complexType name="T_SIMP">\r
- <xs:sequence>\r
- <xs:element ref="doc" minOccurs="0"/>\r
- <xs:element ref="portee" minOccurs="0">\r
- <xs:annotation>\r
- <xs:documentation>La portée pouurait devenir un attribut de SIMP. Une autre solution consisterait a créer un SIMPG pour distinguer les @nom uniques des SIMP a portée globale des autres.</xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element ref="valeurDef" minOccurs="0"/>\r
- <xs:element ref="valeurSugg" minOccurs="0"/>\r
- <xs:element ref="plageValeur" minOccurs="0"/>\r
- <xs:element ref="typeAttendu"/>\r
- <xs:element ref="validators" minOccurs="0"/>\r
- </xs:sequence>\r
- <xs:attribute ref="nom" use="required"/>\r
- <xs:attribute ref="statut" default="o"/>\r
- <xs:attribute ref="min_occurs" default="1"/>\r
- <xs:attribute ref="max_occurs" default="1">\r
- <xs:annotation>\r
- <xs:documentation>La valeur -1 equivaut à oo</xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- </xs:complexType>\r
- <xs:simpleType name="AT_statut">\r
- <xs:restriction base="xs:string">\r
- <xs:enumeration value="f"/>\r
- <xs:enumeration value="o"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <!--<xs:simpleType name="T_repetable">\r
- <xs:restriction base="xs:string">\r
- <xs:enumeration value="n"/>\r
- <xs:enumeration value="o"/>\r
- </xs:restriction>\r
- </xs:simpleType>-->\r
- <xs:simpleType name="T_portee">\r
- <xs:restriction base="xs:string">\r
- <xs:enumeration value="None"/>\r
- <xs:enumeration value="Global"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <xs:simpleType name="AT_max_occurs">\r
- <xs:restriction base="xs:long">\r
- <xs:minInclusive value="-1"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <xs:simpleType name="AT_min_occurs">\r
- <xs:restriction base="xs:long">\r
- <xs:minExclusive value="0"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <!-- Comparable -->\r
- <!-- <xs:simpleType name="AT_borne_sup">\r
- <xs:atomic base="xs:double"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="AT_borne_inf">\r
- <xs:restriction base="xs:double"/>\r
- </xs:simpleType>\r
--->\r
- <xs:simpleType name="AT_ag">\r
- <xs:restriction base="xs:string">\r
- <xs:enumeration value="No comment"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <xs:simpleType name="AT_docu">\r
- <xs:annotation>\r
- <xs:documentation>Référence une position dans un fichier maître contenant une liste de références à des pages de documentations</xs:documentation>\r
- </xs:annotation>\r
- <xs:restriction base="xs:string"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="AT_valeur_sugg">\r
- <xs:restriction base="xs:string"/>\r
- </xs:simpleType>\r
- <!-- TODO: Exclure mots clés python|efficas -->\r
- <xs:simpleType name="AT_nom">\r
- <xs:restriction base="xs:string">\r
- <xs:pattern value="([A-Z]|[a-z]|_)([A-Z]|[a-z]|_|[0-9])*"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_predicat1">\r
- <xs:list itemType="AT_nom"/>\r
- <!-- TODO: Supprimer la liste -->\r
- </xs:simpleType>\r
- <xs:complexType name="T_predicat2">\r
- <xs:sequence>\r
- <xs:element name="p1" type="T_predicat1" minOccurs="1"/>\r
- <xs:element name="p2" type="AT_nom" minOccurs="1"/>\r
- </xs:sequence>\r
- <!-- TODO: Supprimer la séquence -->\r
- </xs:complexType>\r
- <xs:element name="A_CLASSER" type="T_predicat2"/>\r
- <xs:element name="AU_MOINS_UN" type="T_predicat1"/>\r
- <xs:element name="AU_PLUS_UN" type="T_predicat1"/>\r
- <xs:element name="ENSEMBLE" type="T_predicat1"/>\r
- <xs:element name="EXCLUS" type="T_predicat1"/>\r
- <xs:element name="PRESENT_ABSENT" type="T_predicat1"/>\r
- <xs:element name="PRESENT_PRESENT" type="T_predicat1"/>\r
- <xs:element name="UN_PARMI" type="T_predicat1"/>\r
- <xs:group name="predicat">\r
- <xs:choice>\r
- <xs:element ref="A_CLASSER"/>\r
- <xs:element ref="AU_MOINS_UN"/>\r
- <xs:element ref="AU_PLUS_UN"/>\r
- <xs:element ref="ENSEMBLE"/>\r
- <xs:element ref="EXCLUS"/>\r
- <xs:element ref="PRESENT_ABSENT"/>\r
- <xs:element ref="PRESENT_PRESENT"/>\r
- <xs:element ref="UN_PARMI"/>\r
- </xs:choice>\r
- </xs:group>\r
- <xs:complexType name="T_regles">\r
- <xs:sequence maxOccurs="unbounded">\r
- <xs:group ref="predicat"/>\r
- </xs:sequence>\r
- </xs:complexType>\r
- <!-- <xs:simpleType name="T_typeCree">\r
- <xs:restriction base="T_classe_utilisateur"/>\r
- </xs:simpleType>\r
--->\r
- <xs:simpleType name="AT_subroutine">\r
- <xs:restriction base="AT_nom"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_validators">\r
- <xs:restriction base="xs:string">\r
- <xs:enumeration value="NoRepeat"/>\r
- <xs:enumeration value="OnlyStr"/>\r
- <xs:enumeration value="VerifExiste"/>\r
- <xs:enumeration value="VerifTypeTuple"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_Bool">\r
- <xs:restriction base="xs:boolean"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_list_Bool">\r
- <xs:list itemType="T_Bool"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_I">\r
- <xs:restriction base="xs:int"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_list_I">\r
- <xs:list itemType="T_I"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_R">\r
- <xs:restriction base="xs:double"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_list_R">\r
- <xs:list itemType="T_R"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_TXM">\r
- <xs:restriction base="AT_nom"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_list_TXM">\r
- <xs:list itemType="T_TXM"/>\r
- </xs:simpleType>\r
- <!--fonctionne mais ne permet pas de créer une liste de liste -->\r
- <xs:simpleType name="T_C">\r
- <xs:restriction>\r
- <xs:simpleType>\r
- <xs:list itemType="xs:double"/>\r
- </xs:simpleType>\r
- <xs:minLength value="2"/>\r
- <xs:maxLength value="2"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <!-- Ajouter une contrainte : taille pair -->\r
- <!-- Il n'est pas possible de définir des listes de listes -->\r
- <xs:simpleType name="T_list_C">\r
- <xs:list itemType="xs:double"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_name_base">\r
- <xs:restriction base="AT_nom"/>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_simple_name">\r
- <xs:restriction base="T_name_base">\r
- <xs:enumeration value="Fichier"/>\r
- <xs:enumeration value="Repertoire"/>\r
- <xs:enumeration value="TXM"/>\r
- <xs:enumeration value="I"/>\r
- <xs:enumeration value="R"/>\r
- <xs:enumeration value="C"/>\r
- <xs:enumeration value="Bool"/>\r
- <xs:enumeration value="grma"/>\r
- <xs:enumeration value="grno"/>\r
- <xs:enumeration value="SalomeEntry"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <!-- On ne peut pas rendre abstrait un simpleType && \r
- Il n'est pas possible de dériver par restriction un simplecontent d'un type complex qui\r
- lui peut être abstrait.\r
- -->\r
- <xs:simpleType name="T_classe_utilisateur_name">\r
- <xs:restriction base="T_name">\r
- <xs:enumeration value="T_classe_utilisateur"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- <xs:complexType name="T_classe_utilisateur_username">\r
- <xs:simpleContent>\r
- <xs:extension base="T_classe_utilisateur_name">\r
- <xs:attribute ref="nom" use="required"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- <xs:simpleType name="T_name">\r
- <xs:union memberTypes="T_simple_name">\r
- <xs:simpleType>\r
- <xs:restriction base="AT_nom">\r
- <xs:enumeration value="T_Matrice_double"/>\r
- <xs:enumeration value="T_Matrice_Symetrique_double"/>\r
- <xs:enumeration value="T_tuple"/>\r
- <xs:enumeration value="T_classe_utilisateur"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:union>\r
- </xs:simpleType>\r
- <xs:complexType name="T_grma"/>\r
- <xs:complexType name="T_grno"/>\r
- <xs:complexType name="T_SalomeEntry"/>\r
- <xs:complexType name="T_Fichier"/>\r
- <!-- <xs:complexType name="T_Repertoire"/>-->\r
- <xs:simpleType name="T_Repertoire">\r
- <xs:list>\r
- <xs:simpleType>\r
- <xs:restriction base="xs:string">\r
- <xs:whiteSpace value="preserve"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:list>\r
- </xs:simpleType>\r
- <xs:simpleType name="T_simple">\r
- <xs:union memberTypes="T_I T_list_I T_R T_list_R T_C T_list_C T_TXM T_list_TXM T_Bool T_list_Bool T_Repertoire"/>\r
- </xs:simpleType>\r
- <!-- <xs:complexType name="T_TXM"/>-->\r
- <!-- <xs:simpleType name="T_simple">\r
- <xs:restriction base="xs:string">\r
- <xs:enumeration value="Fichier"/>\r
- <xs:enumeration value="Repertoire"/>\r
- <xs:enumeration value="TXM"/>\r
- <xs:enumeration value="I"/>\r
- <xs:enumeration value="R"/>\r
- <xs:enumeration value="C"/>\r
- <xs:enumeration value="Bool"/>\r
- <xs:enumeration value="grma"/>\r
- <xs:enumeration value="grno"/>\r
- <xs:enumeration value="SalomeEntry"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
--->\r
- <xs:simpleType name="T_list_double">\r
- <xs:list itemType="xs:double"/>\r
- </xs:simpleType>\r
- <!-- Possibilité d'utiliser un type paramétré ? -->\r
- <xs:complexType name="T_Matrice_double">\r
- <xs:simpleContent>\r
- <xs:extension base="T_list_double">\r
- <xs:attribute name="n" type="xs:integer" use="required"/>\r
- <xs:attribute name="m" type="xs:integer" use="required"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- <!-- Faire l'exercice de dériver de T_Matrice_double -->\r
- <xs:complexType name="T_Matrice_Symetrique_double">\r
- <xs:simpleContent>\r
- <xs:extension base="T_list_double">\r
- <xs:attribute name="n" type="xs:int" use="required"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- <!-- Une liste est aussi un type simple ! -->\r
- <!-- <xs:simpleType name="T_list_anySimpleType">\r
- <xs:list itemType="xs:anySimpleType"/>\r
- </xs:simpleType>\r
--->\r
- <!-- Le fait de ne pas déclarer une liste risque d'être problématique pour le parsing : A voir-->\r
- <xs:complexType name="T_tuple">\r
- <xs:simpleContent>\r
- <xs:extension base="xs:anySimpleType">\r
- <xs:attribute name="n" type="xs:int" use="required"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- <xs:simpleType name="T_classe_utilisateur">\r
- <xs:restriction base="AT_nom"/>\r
- </xs:simpleType>\r
- <xs:element name="typesimple" type="T_simple"/>\r
- <xs:element name="matrice_double" type="T_Matrice_double"/>\r
- <xs:element name="matrice_symetrique_double" type="T_Matrice_Symetrique_double"/>\r
- <xs:element name="tuple" type="T_tuple"/>\r
- <xs:element name="classe_utilisateur" type="T_classe_utilisateur"/>\r
- <!-- Essai -->\r
- <!-- <xs:group name="T_Attendu_group1">\r
- <xs:choice>\r
- <xs:element ref="typesimple"/>\r
- <xs:element ref="matrice_double"/>\r
- <xs:element ref="matrice_symetrique_double"/>\r
- <xs:element ref="tuple"/>\r
- <xs:element ref="classe_utilisateur"/>\r
- </xs:choice>\r
- </xs:group>\r
-\r
- <xs:group name="T_Attendu_group2">\r
- <xs:choice>\r
- <xs:element ref="typesimple"/>\r
- <xs:element ref="matrice_double"/>\r
- <xs:element ref="matrice_symetrique_double"/>\r
- <xs:element ref="tuple"/>\r
- <xs:element ref="classe_utilisateur"/>\r
- <xs:element ref="fonction_utilisateur" minOccurs="1" maxOccurs="unbounded"/>\r
- </xs:choice>\r
- </xs:group>\r
-\r
- <xs:complexType name="T_typeAttendu">\r
- <xs:group ref="T_Attendu_group1"/>\r
- </xs:complexType>\r
- -->\r
- <!-- Faire plutot un groupe de substitution pour ne pas croiser les choix -->\r
- <!--\r
- <xs:complexType name="T_into">\r
- <xs:group ref="T_Attendu_group2"/>\r
- </xs:complexType>\r
- -->\r
- <xs:complexType name="T_into">\r
- <xs:choice>\r
- <!-- <xs:element ref="typesimple" type="T_Base"/>-->\r
- <xs:element ref="typesimple" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="matrice_double" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="matrice_symetrique_double" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="tuple" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="classe_utilisateur" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="fonction_utilisateur" minOccurs="1" maxOccurs="unbounded"/>\r
- </xs:choice>\r
- </xs:complexType>\r
- <xs:complexType name="T_typeAttendu">\r
- <xs:complexContent>\r
- <xs:restriction base="T_into">\r
- <xs:choice>\r
- <xs:element ref="typesimple" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="matrice_double" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="matrice_symetrique_double" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="tuple" minOccurs="0" maxOccurs="unbounded"/>\r
- <xs:element ref="classe_utilisateur" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:choice>\r
- </xs:restriction>\r
- </xs:complexContent>\r
- </xs:complexType>\r
-</xs:schema>\r
-<!-- Catalogue EFFICAS équivalent\r
-\r
-# coding: utf-8\r
-from Accas import *\r
-\r
-class carte (ASSD) : pass\r
-class maille (ASSD) : pass\r
-class carte_flux_r (carte):pass\r
-\r
-class NOM_CHAM_INTO:\r
- def __call__(self, *l_typ_cham, **kwargs):\r
- return tuple(('A','B','C'))\r
-C_NOM_CHAM_INTO = NOM_CHAM_INTO()\r
-\r
-JdC = JDC_CATA(code='MAP',\r
- execmodul=None,\r
- regles=ENSEMBLE('E1','E2','E3')\r
- )\r
-\r
-CREECARTE = OPER(nom="CREECARTE",op=None, sd_prod=carte, UNITE=SIMP(statut='f',typ='I',defaut=21),);\r
-\r
-CREECARTEFLUX = OPER(nom="CREECARTEFLUX",op=None, sd_prod=carte_flux_r,\r
- NOMFLUX=SIMP(statut='o',typ='TXM',defaut='monFlux'),\r
- );\r
-\r
-CREEMAILLE = OPER(nom="CREEMAILLE",op=None, sd_prod=maille,\r
- NOEUDS=SIMP(statut='o',typ='I',defaut=(1,2),min=2,max=2)\r
- );\r
-\r
-E1=PROC(nom="E1",\r
- op=None,\r
- regles = (EXCLUS('ETAT_INIT','RESULTAT',),),\r
- ETAT_INIT = FACT(statut='f', max='**',\r
- GROUP_MA_1=SIMP(statut='o',typ='I',validators=NoRepeat(),max='**'),\r
- GROUP_NO_2=SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'),\r
- ),\r
-\r
- RESULTAT = FACT(statut='f',\r
- DEPL=SIMP(statut='o', typ='R', validators=NoRepeat()),\r
- VITE=SIMP(statut='f', typ='R', validators=NoRepeat()),\r
- ACCE=SIMP(statut='f', typ='R', validators=NoRepeat()),\r
- ), \r
- );\r
-\r
-E2=PROC(nom="E2", op=None,\r
- regles = (UN_PARMI('CONCEPT','CHAINE','TOUT' ),),\r
- CONCEPT = FACT(statut='f',max='**',\r
- NOM = SIMP(statut='o',typ=assd,validators=NoRepeat(),max='**'),\r
- ),\r
- CHAINE = SIMP(statut='f',typ='TXM'),\r
- POSITION = SIMP(statut='f',typ='I',defaut=1),\r
- TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ),\r
- );\r
-\r
-E3=PROC(nom="E3",op=None,\r
- DEFORMATION = SIMP(statut='f',typ='TXM',defaut="PETIT",\r
- into=("PETIT","PETIT_REAC","GROT_GDEP","SIMO_MIEHE","GDEF_HYPO_ELAS","GDEF_LOG")),\r
- b_blocIn = BLOC(condition = "DEFORMATION in ('PETIT','PETIT_REAC','GROT_GDEP')",\r
- ITER_INTE_PAS = SIMP(statut='f',typ='I',defaut= 0 ),\r
- ALGO_INTE = SIMP(statut='f',typ='TXM',into=("ANALYTIQUE", "SECANTE", "DEKKER", "NEWTON_1D","BRENT",),),\r
- CARTE = SIMP(statut='f',typ=carte,),\r
- b_carte = BLOC(condition= "(AsType(CARTE) != carte_flux_r)",\r
- CONTRAINTE = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',\r
- fr="Options pour le calcul de contraintes et efforts generalises",\r
- into=C_NOM_CHAM_INTO(phenomene='CONTRAINTE',categorie='lin'),)\r
- ),\r
- ), \r
- );\r
-\r
--->\r
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!--\r
-This file was generated by Altova MapForce 2018sp1\r
-\r
-YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE\r
-OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.\r
-\r
-Refer to the Altova MapForce Documentation for further details.\r
-http://www.altova.com/mapforce\r
--->\r
-<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://chercheurs.edf.com/logiciels/efficas" xmlns:user="http://www.altova.com/MapForce/UDF/user" xmlns:vmf="http://www.altova.com/MapForce/UDF/vmf" xmlns:grp="http://www.altova.com/Mapforce/grouping" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" exclude-result-prefixes="ns0 user vmf grp xs fn">\r
- <xsl:param name="Model_Efficas__1_1____XMLSchema__1_1__v7" select="'Model Efficas (1.1) + XMLSchema (1.1) v7.xml'"/>\r
- <xsl:function name="grp:Fact_mapping_v2_var9_cur_of_nom">\r
- <xsl:param name="var8_cur" as="node()"/>\r
- <xsl:for-each select="$var8_cur/@ns0:nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:function>\r
- <xsl:function name="grp:Fact_mapping_v2_var39_cur_of_nom">\r
- <xsl:param name="var38_cur" as="node()"/>\r
- <xsl:for-each select="$var38_cur/@ns0:nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:function>\r
- <xsl:function name="grp:Fact_mapping_v2_var46_cur_of_nom">\r
- <xsl:param name="var45_cur" as="node()"/>\r
- <xsl:for-each select="$var45_cur/@ns0:nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:function>\r
- <xsl:function name="grp:Fact_mapping_v2_var48_cur_of_nom">\r
- <xsl:param name="var47_cur" as="node()"/>\r
- <xsl:for-each select="$var47_cur/@ns0:nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:function>\r
- <xsl:function name="grp:Fact_mapping_v2_var50_cur_of_nom">\r
- <xsl:param name="var49_cur" as="node()"/>\r
- <xsl:for-each select="$var49_cur/@ns0:nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:function>\r
- <xsl:template name="user:Fact_mapping_v2">\r
- <xsl:param name="NameSpaceName" select="()"/>\r
- <xsl:param name="efficasANDschema" select="()"/>\r
- <xsl:variable name="var55_nom" as="node()?" select="$efficasANDschema/@ns0:nom"/>\r
- <xsl:variable name="var56_SIMP" as="node()*" select="$efficasANDschema/ns0:SIMP"/>\r
- <xsl:variable name="var57_FACT" as="node()*" select="$efficasANDschema/ns0:FACT"/>\r
- <xsl:variable name="var54_test_resultof_logical_and" as="xs:string*">\r
- <xsl:choose>\r
- <xsl:when test="(fn:exists($var57_FACT) and xs:boolean(xs:decimal('0')))">\r
- <xsl:for-each select="$var55_nom">\r
- <xsl:variable name="var53_cur" as="node()" select="."/>\r
- <xsl:for-each-group select="$var57_FACT" group-by="grp:Fact_mapping_v2_var46_cur_of_nom(.)">\r
- <xsl:variable name="var52_create_FACT" as="node()">\r
- <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
- <xsl:for-each select="current-group()">\r
- <FACT>\r
- <xsl:for-each select="@ns0:nom">\r
- <xsl:attribute name="ns0:nom" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:variable>\r
- <xsl:for-each-group select="$var57_FACT" group-by="grp:Fact_mapping_v2_var48_cur_of_nom(.)">\r
- <xsl:variable name="var51_map_of_group_by" as="xs:string*">\r
- <xsl:for-each-group select="$var57_FACT" group-by="grp:Fact_mapping_v2_var50_cur_of_nom(.)">\r
- <xsl:for-each select="current-group()/@ns0:nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:for-each-group>\r
- </xsl:variable>\r
- <xsl:sequence select="fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat('T_', fn:string($var53_cur)), xs:string(fn:count($var52_create_FACT/ns0:FACT))), '.'), fn:string-join($var51_map_of_group_by, '.')), '.'), 'KEY:'), current-grouping-key()), '.GID:'), xs:string(xs:decimal('0')))"/>\r
- </xsl:for-each-group>\r
- </xsl:for-each-group>\r
- </xsl:for-each>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:for-each select="$var55_nom">\r
- <xsl:sequence select="fn:concat('T_', fn:string(.))"/>\r
- </xsl:for-each>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:variable>\r
- <schema xmlns="http://www.w3.org/2001/XMLSchema">\r
- <xsl:variable name="var3_resultof_filter" as="node()*">\r
- <xsl:for-each select="$var56_SIMP">\r
- <xsl:variable name="var2_resultof_filter" as="node()*">\r
- <xsl:for-each select="ns0:typeAttendu">\r
- <xsl:variable name="var1_resultof_vmf__inputtoresult" as="xs:boolean">\r
- <xsl:call-template name="vmf:vmf2_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:if test="$var1_resultof_vmf__inputtoresult">\r
- <xsl:sequence select="."/>\r
- </xsl:if>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:if test="fn:exists($var2_resultof_filter)">\r
- <xsl:sequence select="."/>\r
- </xsl:if>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:for-each select="$var3_resultof_filter">\r
- <xsl:variable name="var7_cur" as="node()" select="."/>\r
- <xsl:variable name="var6_resultof_any" as="xs:boolean" select="fn:exists((./@ns0:max_occurs)[(xs:integer(fn:string(.)) != xs:decimal('1'))])"/>\r
- <simpleType>\r
- <xsl:for-each select="@ns0:nom">\r
- <xsl:variable name="var5_attribut" as="node()?" select="$var7_cur/@attribut"/>\r
- <xsl:variable name="var4_resultof_vmf__inputtoresult" as="xs:string">\r
- <xsl:call-template name="vmf:vmf3_inputtoresult">\r
- <xsl:with-param name="input" as="xs:string">\r
- <xsl:choose>\r
- <xsl:when test="fn:exists($var5_attribut)">\r
- <xsl:sequence select="fn:string($var5_attribut)"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:sequence select="'n'"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:attribute name="name" namespace="" select="fn:concat($var4_resultof_vmf__inputtoresult, fn:string(.))"/>\r
- </xsl:for-each>\r
- <xsl:if test="fn:not($var6_resultof_any)">\r
- <restriction>\r
- <xsl:for-each select="ns0:typeAttendu">\r
- <xsl:attribute name="base" namespace="">\r
- <xsl:call-template name="vmf:vmf4_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:attribute>\r
- </xsl:for-each>\r
- </restriction>\r
- </xsl:if>\r
- <xsl:if test="$var6_resultof_any">\r
- <list>\r
- <xsl:for-each select="ns0:typeAttendu">\r
- <xsl:attribute name="itemType" namespace="">\r
- <xsl:call-template name="vmf:vmf4_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:attribute>\r
- </xsl:for-each>\r
- </list>\r
- </xsl:if>\r
- </simpleType>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var57_FACT">\r
- <xsl:variable name="var14_cur" as="node()" select="."/>\r
- <xsl:variable name="var13_resultof_Fact_mapping_v_" as="node()?">\r
- <xsl:call-template name="user:Fact_mapping_v2">\r
- <xsl:with-param name="NameSpaceName" select="$NameSpaceName" as="xs:string"/>\r
- <xsl:with-param name="efficasANDschema" as="node()">\r
- <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
- <xsl:for-each-group select="." group-by="grp:Fact_mapping_v2_var9_cur_of_nom(.)">\r
- <xsl:variable name="var12_nom" as="node()?" select="$var14_cur/@ns0:nom"/>\r
- <xsl:variable name="var10_create_FACT" as="node()">\r
- <FACT>\r
- <xsl:for-each select="current-group()">\r
- <FACT>\r
- <xsl:for-each select="@ns0:nom">\r
- <xsl:attribute name="ns0:nom" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:variable>\r
- <xsl:variable name="var11_test_resultof_greater" as="xs:string?">\r
- <xsl:choose>\r
- <xsl:when test="(fn:count($var10_create_FACT/ns0:FACT) > xs:decimal('1'))">\r
- <xsl:for-each select="$var12_nom">\r
- <xsl:sequence select="fn:concat(fn:concat(fn:string(.), '++'), xs:string(xs:decimal('0')))"/>\r
- </xsl:for-each>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:for-each select="$var12_nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:variable>\r
- <xsl:for-each select="$var11_test_resultof_greater">\r
- <xsl:attribute name="ns0:nom" select="."/>\r
- </xsl:for-each>\r
- </xsl:for-each-group>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:min_occurs">\r
- <xsl:attribute name="ns0:min_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:regles">\r
- <regles>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </regles>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:doc">\r
- <doc>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </doc>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:BLOC">\r
- <BLOC>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </BLOC>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:FACT">\r
- <FACT>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </FACT>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:SIMP">\r
- <SIMP>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </SIMP>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var13_resultof_Fact_mapping_v_/xs:simpleType">\r
- <simpleType>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </simpleType>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- <complexType>\r
- <xsl:if test="fn:exists($var54_test_resultof_logical_and)">\r
- <xsl:attribute name="name" namespace="" select="xs:string(fn:string-join(for $x in $var54_test_resultof_logical_and return xs:string($x), ' '))"/>\r
- </xsl:if>\r
- <sequence>\r
- <xsl:variable name="var16_resultof_filter" as="node()*">\r
- <xsl:for-each select="$var56_SIMP">\r
- <xsl:variable name="var15_vmf__inputtoresult_of_attribut" as="xs:boolean?">\r
- <xsl:for-each select="@attribut">\r
- <xsl:call-template name="vmf:vmf5_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:if test="fn:not(fn:exists(($var15_vmf__inputtoresult_of_attribut)[.]))">\r
- <xsl:sequence select="."/>\r
- </xsl:if>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:for-each select="$var16_resultof_filter">\r
- <xsl:variable name="var21_cur" as="node()" select="."/>\r
- <xsl:variable name="var20_nom" as="node()?" select="@ns0:nom"/>\r
- <element>\r
- <xsl:for-each select="$var20_nom">\r
- <xsl:attribute name="name" namespace="" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var20_nom">\r
- <xsl:variable name="var18_attribut" as="node()?" select="$var21_cur/@attribut"/>\r
- <xsl:variable name="var17_resultof_vmf__inputtoresult" as="xs:string">\r
- <xsl:call-template name="vmf:vmf3_inputtoresult">\r
- <xsl:with-param name="input" as="xs:string">\r
- <xsl:choose>\r
- <xsl:when test="fn:exists($var18_attribut)">\r
- <xsl:sequence select="fn:string($var18_attribut)"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:sequence select="'n'"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($NameSpaceName, ':'), fn:concat($var17_resultof_vmf__inputtoresult, fn:string(.))))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:variable name="var19_resultof_vmf__inputtoresult" as="xs:string?">\r
- <xsl:call-template name="vmf:vmf6_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var19_resultof_vmf__inputtoresult">\r
- <xsl:attribute name="minOccurs" namespace="" select="xs:string(xs:integer(.))"/>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- </element>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var57_FACT">\r
- <xsl:variable name="var24_nom" as="node()?" select="@ns0:nom"/>\r
- <element>\r
- <xsl:for-each select="$var24_nom">\r
- <xsl:attribute name="name" namespace="" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var24_nom">\r
- <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($NameSpaceName, ':T_'), fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:variable name="var22_resultof_vmf__inputtoresult" as="xs:string?">\r
- <xsl:call-template name="vmf:vmf7_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var22_resultof_vmf__inputtoresult">\r
- <xsl:attribute name="minOccurs" namespace="" select="xs:string(xs:integer(.))"/>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:variable name="var23_cur_as_integer" as="xs:integer" select="xs:integer(fn:string(.))"/>\r
- <xsl:attribute name="maxOccurs" namespace="">\r
- <xsl:choose>\r
- <xsl:when test="($var23_cur_as_integer = xs:decimal('-1'))">\r
- <xsl:sequence select="'unbounded'"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:sequence select="xs:string($var23_cur_as_integer)"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:attribute>\r
- </xsl:for-each>\r
- </element>\r
- </xsl:for-each>\r
- </sequence>\r
- <xsl:variable name="var26_resultof_filter" as="node()*">\r
- <xsl:for-each select="$var56_SIMP">\r
- <xsl:variable name="var25_vmf__inputtoresult_of_attribut" as="xs:boolean?">\r
- <xsl:for-each select="@attribut">\r
- <xsl:call-template name="vmf:vmf5_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:if test="fn:exists(($var25_vmf__inputtoresult_of_attribut)[.])">\r
- <xsl:sequence select="."/>\r
- </xsl:if>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:for-each select="$var26_resultof_filter">\r
- <xsl:variable name="var31_cur" as="node()" select="."/>\r
- <xsl:variable name="var30_nom" as="node()?" select="@ns0:nom"/>\r
- <attribute>\r
- <xsl:for-each select="$var30_nom">\r
- <xsl:attribute name="name" namespace="" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var30_nom">\r
- <xsl:variable name="var28_attribut" as="node()?" select="$var31_cur/@attribut"/>\r
- <xsl:variable name="var27_resultof_vmf__inputtoresult" as="xs:string">\r
- <xsl:call-template name="vmf:vmf3_inputtoresult">\r
- <xsl:with-param name="input" as="xs:string">\r
- <xsl:choose>\r
- <xsl:when test="fn:exists($var28_attribut)">\r
- <xsl:sequence select="fn:string($var28_attribut)"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:sequence select="'n'"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($NameSpaceName, ':'), fn:concat($var27_resultof_vmf__inputtoresult, fn:string(.))))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:variable name="var29_resultof_vmf__inputtoresult" as="xs:string?">\r
- <xsl:call-template name="vmf:vmf8_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var29_resultof_vmf__inputtoresult">\r
- <xsl:attribute name="use" namespace="" select="."/>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- </attribute>\r
- </xsl:for-each>\r
- </complexType>\r
- <xsl:variable name="var34_resultof_filter" as="node()*">\r
- <xsl:for-each select="$var56_SIMP">\r
- <xsl:variable name="var33_resultof_filter" as="node()*">\r
- <xsl:for-each select="ns0:typeAttendu">\r
- <xsl:variable name="var32_resultof_vmf__inputtoresult" as="xs:boolean">\r
- <xsl:call-template name="vmf:vmf2_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:if test="$var32_resultof_vmf__inputtoresult">\r
- <xsl:sequence select="."/>\r
- </xsl:if>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:if test="fn:not(fn:exists($var33_resultof_filter))">\r
- <xsl:sequence select="."/>\r
- </xsl:if>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:for-each select="$var34_resultof_filter">\r
- <xsl:variable name="var37_cur" as="node()" select="."/>\r
- <complexType>\r
- <xsl:for-each select="@ns0:nom">\r
- <xsl:variable name="var36_attribut" as="node()?" select="$var37_cur/@attribut"/>\r
- <xsl:variable name="var35_resultof_vmf__inputtoresult" as="xs:string">\r
- <xsl:call-template name="vmf:vmf3_inputtoresult">\r
- <xsl:with-param name="input" as="xs:string">\r
- <xsl:choose>\r
- <xsl:when test="fn:exists($var36_attribut)">\r
- <xsl:sequence select="fn:string($var36_attribut)"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:sequence select="'n'"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:attribute name="name" namespace="" select="fn:concat($var35_resultof_vmf__inputtoresult, fn:string(.))"/>\r
- </xsl:for-each>\r
- </complexType>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var57_FACT">\r
- <xsl:variable name="var44_cur" as="node()" select="."/>\r
- <xsl:variable name="var43_resultof_Fact_mapping_v_" as="node()?">\r
- <xsl:call-template name="user:Fact_mapping_v2">\r
- <xsl:with-param name="NameSpaceName" select="$NameSpaceName" as="xs:string"/>\r
- <xsl:with-param name="efficasANDschema" as="node()">\r
- <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
- <xsl:for-each-group select="." group-by="grp:Fact_mapping_v2_var39_cur_of_nom(.)">\r
- <xsl:variable name="var42_nom" as="node()?" select="$var44_cur/@ns0:nom"/>\r
- <xsl:variable name="var40_create_FACT" as="node()">\r
- <FACT>\r
- <xsl:for-each select="current-group()">\r
- <FACT>\r
- <xsl:for-each select="@ns0:nom">\r
- <xsl:attribute name="ns0:nom" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:variable>\r
- <xsl:variable name="var41_test_resultof_greater" as="xs:string?">\r
- <xsl:choose>\r
- <xsl:when test="(fn:count($var40_create_FACT/ns0:FACT) > xs:decimal('1'))">\r
- <xsl:for-each select="$var42_nom">\r
- <xsl:sequence select="fn:concat(fn:concat(fn:string(.), '++'), xs:string(xs:decimal('0')))"/>\r
- </xsl:for-each>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:for-each select="$var42_nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:variable>\r
- <xsl:for-each select="$var41_test_resultof_greater">\r
- <xsl:attribute name="ns0:nom" select="."/>\r
- </xsl:for-each>\r
- </xsl:for-each-group>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:min_occurs">\r
- <xsl:attribute name="ns0:min_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:regles">\r
- <regles>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </regles>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:doc">\r
- <doc>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </doc>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:BLOC">\r
- <BLOC>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </BLOC>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:FACT">\r
- <FACT>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </FACT>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:SIMP">\r
- <SIMP>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </SIMP>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var43_resultof_Fact_mapping_v_/xs:complexType">\r
- <complexType>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </complexType>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- </schema>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf1_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='f'">\r
- <xsl:copy-of select="'0'"/>\r
- </xsl:when>\r
- <xsl:when test="$input='o'">\r
- <xsl:copy-of select="'1'"/>\r
- </xsl:when>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf2_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='Fichier'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='Repertoire'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='TXM'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='I'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='R'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='C'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='Bool'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='gma'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='gmo'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='SalomeEntry'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:copy-of select="false()"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf3_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='o'">\r
- <xsl:copy-of select="'AT_'"/>\r
- </xsl:when>\r
- <xsl:when test="$input='n'">\r
- <xsl:copy-of select="'T_'"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:copy-of select="'T_'"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf4_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='TXM'">\r
- <xsl:copy-of select="fn:QName('', 'string')"/>\r
- </xsl:when>\r
- <xsl:when test="$input='I'">\r
- <xsl:copy-of select="fn:QName('', 'int')"/>\r
- </xsl:when>\r
- <xsl:when test="$input='R'">\r
- <xsl:copy-of select="fn:QName('', 'double')"/>\r
- </xsl:when>\r
- <xsl:when test="$input='Bool'">\r
- <xsl:copy-of select="fn:QName('', 'boolean')"/>\r
- </xsl:when>\r
- <xsl:when test="$input='gma'">\r
- <xsl:copy-of select="fn:QName('', 'string')"/>\r
- </xsl:when>\r
- <xsl:when test="$input='gmo'">\r
- <xsl:copy-of select="fn:QName('', 'string')"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:copy-of select="fn:QName('', 'false')"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf5_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='o'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='n'">\r
- <xsl:copy-of select="false()"/>\r
- </xsl:when>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf6_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='f'">\r
- <xsl:copy-of select="'0'"/>\r
- </xsl:when>\r
- <xsl:when test="$input='o'">\r
- <xsl:copy-of select="'1'"/>\r
- </xsl:when>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf7_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='f'">\r
- <xsl:copy-of select="'0'"/>\r
- </xsl:when>\r
- <xsl:when test="$input='o'">\r
- <xsl:copy-of select="'1'"/>\r
- </xsl:when>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf8_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='f'">\r
- <xsl:copy-of select="'optional'"/>\r
- </xsl:when>\r
- <xsl:when test="$input='o'">\r
- <xsl:copy-of select="'required'"/>\r
- </xsl:when>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:output method="xml" encoding="UTF-8" byte-order-mark="no" indent="yes"/>\r
- <xsl:param name="UserNameSpace" as="xs:string" required="yes"/>\r
- <xsl:param name="PrefixName" as="xs:string" required="yes"/>\r
- <xsl:template match="/">\r
- <xsl:variable name="var8_resultof_concat" as="xs:string" select="fn:concat($UserNameSpace, $PrefixName)"/>\r
- <xsl:variable name="var7_cata" as="node()?" select="ns0:cata"/>\r
- <schema xmlns="http://www.w3.org/2001/XMLSchema">\r
- <xsl:namespace name="{$PrefixName}">\r
- <xsl:sequence select="$var8_resultof_concat"/>\r
- </xsl:namespace>\r
- <xsl:attribute name="targetNamespace" namespace="" select="xs:string(xs:anyURI($var8_resultof_concat))"/>\r
- <xsl:attribute name="attributeFormDefault" namespace="" select="'qualified'"/>\r
- <xsl:attribute name="elementFormDefault" namespace="" select="'qualified'"/>\r
- <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC/ns0:FACT">\r
- <xsl:variable name="var1_resultof_Fact_mapping_v_" as="node()?">\r
- <xsl:call-template name="user:Fact_mapping_v2">\r
- <xsl:with-param name="NameSpaceName" select="$PrefixName" as="xs:string"/>\r
- <xsl:with-param name="efficasANDschema" as="node()">\r
- <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
- <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:FACT">\r
- <FACT>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </FACT>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:SIMP">\r
- <SIMP>\r
- <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@attribut">\r
- <xsl:attribute name="attribut" namespace="" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:typeAttendu">\r
- <typeAttendu>\r
- <xsl:sequence select="fn:string(.)"/>\r
- </typeAttendu>\r
- </xsl:for-each>\r
- </SIMP>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var1_resultof_Fact_mapping_v_/xs:simpleType">\r
- <simpleType>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </simpleType>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC">\r
- <complexType>\r
- <xsl:attribute name="name" namespace="" select="fn:concat('T_', fn:string(@ns0:nom))"/>\r
- <sequence>\r
- <xsl:for-each select="ns0:FACT">\r
- <xsl:variable name="var4_nom_as_string" as="xs:string" select="fn:string(@ns0:nom)"/>\r
- <element>\r
- <xsl:attribute name="name" namespace="" select="$var4_nom_as_string"/>\r
- <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($PrefixName, ':T_'), $var4_nom_as_string))"/>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:variable name="var2_resultof_vmf__inputtoresult" as="xs:string?">\r
- <xsl:call-template name="vmf:vmf1_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var2_resultof_vmf__inputtoresult">\r
- <xsl:attribute name="minOccurs" namespace="" select="xs:string(xs:integer(.))"/>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:variable name="var3_cur_as_integer" as="xs:integer" select="xs:integer(fn:string(.))"/>\r
- <xsl:attribute name="maxOccurs" namespace="">\r
- <xsl:choose>\r
- <xsl:when test="($var3_cur_as_integer = xs:decimal('-1'))">\r
- <xsl:sequence select="'unbounded'"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:sequence select="xs:string($var3_cur_as_integer)"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:attribute>\r
- </xsl:for-each>\r
- </element>\r
- </xsl:for-each>\r
- </sequence>\r
- </complexType>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC/ns0:FACT">\r
- <xsl:variable name="var5_resultof_Fact_mapping_v_" as="node()?">\r
- <xsl:call-template name="user:Fact_mapping_v2">\r
- <xsl:with-param name="NameSpaceName" select="$PrefixName" as="xs:string"/>\r
- <xsl:with-param name="efficasANDschema" as="node()">\r
- <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
- <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:FACT">\r
- <FACT>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </FACT>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:SIMP">\r
- <SIMP>\r
- <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@attribut">\r
- <xsl:attribute name="attribut" namespace="" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:typeAttendu">\r
- <typeAttendu>\r
- <xsl:sequence select="fn:string(.)"/>\r
- </typeAttendu>\r
- </xsl:for-each>\r
- </SIMP>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var5_resultof_Fact_mapping_v_/xs:complexType">\r
- <complexType>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </complexType>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC">\r
- <xsl:variable name="var6_nom_as_string" as="xs:string" select="fn:string(@ns0:nom)"/>\r
- <element>\r
- <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($PrefixName, ':T_'), $var6_nom_as_string))"/>\r
- <xsl:attribute name="name" namespace="" select="$var6_nom_as_string"/>\r
- </element>\r
- </xsl:for-each>\r
- </schema>\r
- </xsl:template>\r
-</xsl:stylesheet>\r
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema"
- xmlns:med="http://chercheurs.edf.com/logiciels/med"
- targetNamespace="http://chercheurs.edf.com/logiciels/med"
- attributeFormDefault="qualified"
- elementFormDefault="qualified">
- <simpleType name="AT_NAME">
- <restriction base="string"/>
- </simpleType>
- <simpleType name="T_NAMEbis">
- <restriction base="string"/>
- </simpleType>
- <simpleType name="T_NUM">
- <restriction base="string"/>
- </simpleType>
- <simpleType name="T_NAME">
- <restriction base="string"/>
- </simpleType>
- <simpleType name="AT_NBR">
- <restriction base="int"/>
- </simpleType>
- <simpleType name="T_DES">
- <list itemType="string"/>
- </simpleType>
- <simpleType name="T_IDE">
- <list itemType="int"/>
- </simpleType>
- <simpleType name="T_VAL">
- <list itemType="int"/>
- </simpleType>
- <simpleType name="T_NBR">
- <restriction base="int"/>
- </simpleType>
- <simpleType name="T_NOM">
- <list itemType="string"/>
- </simpleType>
- <simpleType name="T_TEST2">
- <restriction base="string"/>
- </simpleType>
- <complexType name="T_FAS">
- <sequence>
- <element name="FAMILY_MESH_NAME_REF" type="med:T_FAMILY_MESH_NAME_REF" minOccurs="1"
- maxOccurs="unbounded"/>
- <element name="ELEM2" type="med:T_ELEM2"/>
- </sequence>
- </complexType>
- <complexType name="T_FAMILY_MESH_NAME_REF">
- <sequence>
- <element name="NAMEbis" type="med:T_NAMEbis" minOccurs="1"/>
- <element name="ELEM" type="med:T_ELEM" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="NAME" type="med:AT_NAME" use="required"/>
- </complexType>
- <complexType name="T_ELEM">
- <sequence>
- <element name="NUM" type="med:T_NUM" minOccurs="1"/>
- <element name="NAME" type="med:T_NAME" minOccurs="1"/>
- <element name="ATT" type="med:T_ATT" minOccurs="0" maxOccurs="1"/>
- <element name="GRO" type="med:T_GRO" minOccurs="0" maxOccurs="1"/>
- </sequence>
- </complexType>
- <complexType name="T_ATT">
- <sequence>
- <element name="DES" type="med:T_DES" minOccurs="1"/>
- <element name="IDE" type="med:T_IDE" minOccurs="1"/>
- <element name="VAL" type="med:T_VAL" minOccurs="1"/>
- </sequence>
- <attribute name="NBR" type="med:AT_NBR" use="required"/>
- </complexType>
- <complexType name="T_GRO">
- <sequence>
- <element name="NBR" type="med:T_NBR" minOccurs="1"/>
- <element name="NOM" type="med:T_NOM" minOccurs="1"/>
- </sequence>
- </complexType>
- <complexType name="T_ELEM2">
- <sequence>
- <element name="TEST2" type="med:T_TEST2"/>
- </sequence>
- </complexType>
- <element type="med:T_FAS" name="FAS"/>
-</schema>
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema"
- xmlns:med="http://chercheurs.edf.com/logiciels/med"
- targetNamespace="http://chercheurs.edf.com/logiciels/med"
- attributeFormDefault="qualified"
- elementFormDefault="qualified">
- <simpleType name="AT_NAME">
- <restriction base="string"/>
- </simpleType>
- <simpleType name="AT_NUM">
- <restriction base="int"/>
- </simpleType>
- <simpleType name="AT_NAME">
- <restriction base="string"/>
- </simpleType>
- <simpleType name="AT_NBR">
- <restriction base="int"/>
- </simpleType>
- <simpleType name="T_DES">
- <list itemType="string"/>
- </simpleType>
- <simpleType name="T_IDE">
- <list itemType="int"/>
- </simpleType>
- <simpleType name="T_VAL">
- <list itemType="int"/>
- </simpleType>
- <simpleType name="AT_NBR">
- <restriction base="int"/>
- </simpleType>
- <simpleType name="T_NOM">
- <list itemType="string"/>
- </simpleType>
- <simpleType name="AT_NUM">
- <restriction base="int"/>
- </simpleType>
- <simpleType name="AT_NBR">
- <restriction base="int"/>
- </simpleType>
- <simpleType name="T_DES">
- <list itemType="string"/>
- </simpleType>
- <simpleType name="T_IDE">
- <list itemType="int"/>
- </simpleType>
- <simpleType name="T_VAL">
- <list itemType="int"/>
- </simpleType>
- <simpleType name="AT_NUM">
- <restriction base="int"/>
- </simpleType>
- <simpleType name="AT_NAME">
- <restriction base="string"/>
- </simpleType>
- <simpleType name="AT_NBR">
- <restriction base="int"/>
- </simpleType>
- <simpleType name="T_DES">
- <list itemType="string"/>
- </simpleType>
- <simpleType name="T_IDE">
- <list itemType="int"/>
- </simpleType>
- <simpleType name="T_VAL">
- <list itemType="int"/>
- </simpleType>
- <simpleType name="AT_NBR">
- <restriction base="int"/>
- </simpleType>
- <simpleType name="T_NOM">
- <list itemType="string"/>
- </simpleType>
- <complexType name="T_FAS">
- <sequence>
- <element name="FAMILY_MESH_NAME_REF" type="med:T_FAMILY_MESH_NAME_REF" minOccurs="1"
- maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <complexType name="T_FAMILY_MESH_NAME_REF">
- <sequence>
- <element name="ELEME" type="med:T_ELEME" minOccurs="0" maxOccurs="1"/>
- <element name="FAMILLE_ZERO" type="med:T_FAMILLE_ZERO" minOccurs="1" maxOccurs="1"/>
- <element name="NOEUD" type="med:T_NOEUD" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="NAME" type="med:AT_NAME" use="required"/>
- </complexType>
- <complexType name="T_ELEME">
- <sequence>
- <element name="FAMILY_NAME_ELEM" type="med:T_FAMILY_NAME_ELEM" minOccurs="0"
- maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <complexType name="T_FAMILY_NAME_ELEM">
- <sequence>
- <element name="ATT" type="med:T_ATT" minOccurs="0" maxOccurs="1"/>
- <element name="GRO" type="med:T_GRO" minOccurs="0" maxOccurs="1"/>
- </sequence>
- <attribute name="NUM" type="med:AT_NUM" use="required"/>
- <attribute name="NAME" type="med:AT_NAME" use="required"/>
- </complexType>
- <complexType name="T_ATT">
- <sequence>
- <element name="DES" type="med:T_DES" minOccurs="1"/>
- <element name="IDE" type="med:T_IDE" minOccurs="1"/>
- <element name="VAL" type="med:T_VAL" minOccurs="1"/>
- </sequence>
- <attribute name="NBR" type="med:AT_NBR" use="required"/>
- </complexType>
- <complexType name="T_GRO">
- <sequence>
- <element name="NOM" type="med:T_NOM" minOccurs="1"/>
- </sequence>
- <attribute name="NBR" type="med:AT_NBR" use="required"/>
- </complexType>
- <complexType name="T_FAMILLE_ZERO">
- <sequence>
- <element name="ATT" type="med:T_ATT" minOccurs="0" maxOccurs="1"/>
- </sequence>
- <attribute name="NUM" type="med:AT_NUM" use="required"/>
- </complexType>
- <complexType name="T_ATT">
- <sequence>
- <element name="DES" type="med:T_DES" minOccurs="1"/>
- <element name="IDE" type="med:T_IDE" minOccurs="1"/>
- <element name="VAL" type="med:T_VAL" minOccurs="1"/>
- </sequence>
- <attribute name="NBR" type="med:AT_NBR" use="required"/>
- </complexType>
- <complexType name="T_NOEUD">
- <sequence>
- <element name="FAMILY_NAME_NOE" type="med:T_FAMILY_NAME_NOE" minOccurs="0"
- maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <complexType name="T_FAMILY_NAME_NOE">
- <sequence>
- <element name="ATT" type="med:T_ATT" minOccurs="0" maxOccurs="1"/>
- <element name="GRO" type="med:T_GRO" minOccurs="0" maxOccurs="1"/>
- </sequence>
- <attribute name="NUM" type="med:AT_NUM" use="required"/>
- <attribute name="NAME" type="med:AT_NAME" use="required"/>
- </complexType>
- <complexType name="T_ATT">
- <sequence>
- <element name="DES" type="med:T_DES" minOccurs="1"/>
- <element name="IDE" type="med:T_IDE" minOccurs="1"/>
- <element name="VAL" type="med:T_VAL" minOccurs="1"/>
- </sequence>
- <attribute name="NBR" type="med:AT_NBR" use="required"/>
- </complexType>
- <complexType name="T_GRO">
- <sequence>
- <element name="NOM" type="med:T_NOM" minOccurs="1"/>
- </sequence>
- <attribute name="NBR" type="med:AT_NBR" use="required"/>
- </complexType>
- <element type="med:T_FAS" name="FAS"/>
-</schema>
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!--\r
-This file was generated by Altova MapForce 2018sp1\r
-\r
-YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE\r
-OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.\r
-\r
-Refer to the Altova MapForce Documentation for further details.\r
-http://www.altova.com/mapforce\r
--->\r
-<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://chercheurs.edf.com/logiciels/efficas" xmlns:user="http://www.altova.com/MapForce/UDF/user" xmlns:vmf="http://www.altova.com/MapForce/UDF/vmf" xmlns:grp="http://www.altova.com/Mapforce/grouping" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" exclude-result-prefixes="ns0 user vmf grp xs fn">\r
- <xsl:param name="Model_Efficas__1_1____XMLSchema__1_1__v7" select="'Model Efficas (1.1) + XMLSchema (1.1) v7.xml'"/>\r
- <xsl:function name="grp:Fact_mapping_v2_var9_cur_of_nom">\r
- <xsl:param name="var8_cur" as="node()"/>\r
- <xsl:for-each select="$var8_cur/@ns0:nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:function>\r
- <xsl:function name="grp:Fact_mapping_v2_var39_cur_of_nom">\r
- <xsl:param name="var38_cur" as="node()"/>\r
- <xsl:for-each select="$var38_cur/@ns0:nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:function>\r
- <xsl:function name="grp:Fact_mapping_v2_var46_cur_of_nom">\r
- <xsl:param name="var45_cur" as="node()"/>\r
- <xsl:for-each select="$var45_cur/@ns0:nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:function>\r
- <xsl:function name="grp:Fact_mapping_v2_var48_cur_of_nom">\r
- <xsl:param name="var47_cur" as="node()"/>\r
- <xsl:for-each select="$var47_cur/@ns0:nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:function>\r
- <xsl:function name="grp:Fact_mapping_v2_var50_cur_of_nom">\r
- <xsl:param name="var49_cur" as="node()"/>\r
- <xsl:for-each select="$var49_cur/@ns0:nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:function>\r
- <xsl:template name="user:Fact_mapping_v2">\r
- <xsl:param name="NameSpaceName" select="()"/>\r
- <xsl:param name="efficasANDschema" select="()"/>\r
- <xsl:variable name="var55_nom" as="node()?" select="$efficasANDschema/@ns0:nom"/>\r
- <xsl:variable name="var56_SIMP" as="node()*" select="$efficasANDschema/ns0:SIMP"/>\r
- <xsl:variable name="var57_FACT" as="node()*" select="$efficasANDschema/ns0:FACT"/>\r
- <xsl:variable name="var54_test_resultof_logical_and" as="xs:string*">\r
- <xsl:choose>\r
- <xsl:when test="(fn:exists($var57_FACT) and xs:boolean(xs:decimal('0')))">\r
- <xsl:for-each select="$var55_nom">\r
- <xsl:variable name="var53_cur" as="node()" select="."/>\r
- <xsl:for-each-group select="$var57_FACT" group-by="grp:Fact_mapping_v2_var46_cur_of_nom(.)">\r
- <xsl:variable name="var52_create_FACT" as="node()">\r
- <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
- <xsl:for-each select="current-group()">\r
- <FACT>\r
- <xsl:for-each select="@ns0:nom">\r
- <xsl:attribute name="ns0:nom" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:variable>\r
- <xsl:for-each-group select="$var57_FACT" group-by="grp:Fact_mapping_v2_var48_cur_of_nom(.)">\r
- <xsl:variable name="var51_map_of_group_by" as="xs:string*">\r
- <xsl:for-each-group select="$var57_FACT" group-by="grp:Fact_mapping_v2_var50_cur_of_nom(.)">\r
- <xsl:for-each select="current-group()/@ns0:nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:for-each-group>\r
- </xsl:variable>\r
- <xsl:sequence select="fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat(fn:concat('T_', fn:string($var53_cur)), xs:string(fn:count($var52_create_FACT/ns0:FACT))), '.'), fn:string-join($var51_map_of_group_by, '.')), '.'), 'KEY:'), current-grouping-key()), '.GID:'), xs:string(xs:decimal('0')))"/>\r
- </xsl:for-each-group>\r
- </xsl:for-each-group>\r
- </xsl:for-each>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:for-each select="$var55_nom">\r
- <xsl:sequence select="fn:concat('T_', fn:string(.))"/>\r
- </xsl:for-each>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:variable>\r
- <schema xmlns="http://www.w3.org/2001/XMLSchema">\r
- <xsl:variable name="var3_resultof_filter" as="node()*">\r
- <xsl:for-each select="$var56_SIMP">\r
- <xsl:variable name="var2_resultof_filter" as="node()*">\r
- <xsl:for-each select="ns0:typeAttendu">\r
- <xsl:variable name="var1_resultof_vmf__inputtoresult" as="xs:boolean">\r
- <xsl:call-template name="vmf:vmf2_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:if test="$var1_resultof_vmf__inputtoresult">\r
- <xsl:sequence select="."/>\r
- </xsl:if>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:if test="fn:exists($var2_resultof_filter)">\r
- <xsl:sequence select="."/>\r
- </xsl:if>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:for-each select="$var3_resultof_filter">\r
- <xsl:variable name="var7_cur" as="node()" select="."/>\r
- <xsl:variable name="var6_resultof_any" as="xs:boolean" select="fn:exists((./@ns0:max_occurs)[(xs:integer(fn:string(.)) != xs:decimal('1'))])"/>\r
- <simpleType>\r
- <xsl:for-each select="@ns0:nom">\r
- <xsl:variable name="var5_attribut" as="node()?" select="$var7_cur/@attribut"/>\r
- <xsl:variable name="var4_resultof_vmf__inputtoresult" as="xs:string">\r
- <xsl:call-template name="vmf:vmf3_inputtoresult">\r
- <xsl:with-param name="input" as="xs:string">\r
- <xsl:choose>\r
- <xsl:when test="fn:exists($var5_attribut)">\r
- <xsl:sequence select="fn:string($var5_attribut)"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:sequence select="'n'"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:attribute name="name" namespace="" select="fn:concat($var4_resultof_vmf__inputtoresult, fn:string(.))"/>\r
- </xsl:for-each>\r
- <xsl:if test="fn:not($var6_resultof_any)">\r
- <restriction>\r
- <xsl:for-each select="ns0:typeAttendu">\r
- <xsl:attribute name="base" namespace="">\r
- <xsl:call-template name="vmf:vmf4_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:attribute>\r
- </xsl:for-each>\r
- </restriction>\r
- </xsl:if>\r
- <xsl:if test="$var6_resultof_any">\r
- <list>\r
- <xsl:for-each select="ns0:typeAttendu">\r
- <xsl:attribute name="itemType" namespace="">\r
- <xsl:call-template name="vmf:vmf4_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:attribute>\r
- </xsl:for-each>\r
- </list>\r
- </xsl:if>\r
- </simpleType>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var57_FACT">\r
- <xsl:variable name="var14_cur" as="node()" select="."/>\r
- <xsl:variable name="var13_resultof_Fact_mapping_v_" as="node()?">\r
- <xsl:call-template name="user:Fact_mapping_v2">\r
- <xsl:with-param name="NameSpaceName" select="$NameSpaceName" as="xs:string"/>\r
- <xsl:with-param name="efficasANDschema" as="node()">\r
- <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
- <xsl:for-each-group select="." group-by="grp:Fact_mapping_v2_var9_cur_of_nom(.)">\r
- <xsl:variable name="var12_nom" as="node()?" select="$var14_cur/@ns0:nom"/>\r
- <xsl:variable name="var10_create_FACT" as="node()">\r
- <FACT>\r
- <xsl:for-each select="current-group()">\r
- <FACT>\r
- <xsl:for-each select="@ns0:nom">\r
- <xsl:attribute name="ns0:nom" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:variable>\r
- <xsl:variable name="var11_test_resultof_greater" as="xs:string?">\r
- <xsl:choose>\r
- <xsl:when test="(fn:count($var10_create_FACT/ns0:FACT) > xs:decimal('1'))">\r
- <xsl:for-each select="$var12_nom">\r
- <xsl:sequence select="fn:concat(fn:concat(fn:string(.), '++'), xs:string(xs:decimal('0')))"/>\r
- </xsl:for-each>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:for-each select="$var12_nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:variable>\r
- <xsl:for-each select="$var11_test_resultof_greater">\r
- <xsl:attribute name="ns0:nom" select="."/>\r
- </xsl:for-each>\r
- </xsl:for-each-group>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:min_occurs">\r
- <xsl:attribute name="ns0:min_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:regles">\r
- <regles>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </regles>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:doc">\r
- <doc>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </doc>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:BLOC">\r
- <BLOC>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </BLOC>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:FACT">\r
- <FACT>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </FACT>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:SIMP">\r
- <SIMP>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </SIMP>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var13_resultof_Fact_mapping_v_/xs:simpleType">\r
- <simpleType>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </simpleType>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- <complexType>\r
- <xsl:if test="fn:exists($var54_test_resultof_logical_and)">\r
- <xsl:attribute name="name" namespace="" select="xs:string(fn:string-join(for $x in $var54_test_resultof_logical_and return xs:string($x), ' '))"/>\r
- </xsl:if>\r
- <sequence>\r
- <xsl:variable name="var16_resultof_filter" as="node()*">\r
- <xsl:for-each select="$var56_SIMP">\r
- <xsl:variable name="var15_vmf__inputtoresult_of_attribut" as="xs:boolean?">\r
- <xsl:for-each select="@attribut">\r
- <xsl:call-template name="vmf:vmf5_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:if test="fn:not(fn:exists(($var15_vmf__inputtoresult_of_attribut)[.]))">\r
- <xsl:sequence select="."/>\r
- </xsl:if>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:for-each select="$var16_resultof_filter">\r
- <xsl:variable name="var21_cur" as="node()" select="."/>\r
- <xsl:variable name="var20_nom" as="node()?" select="@ns0:nom"/>\r
- <element>\r
- <xsl:for-each select="$var20_nom">\r
- <xsl:attribute name="name" namespace="" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var20_nom">\r
- <xsl:variable name="var18_attribut" as="node()?" select="$var21_cur/@attribut"/>\r
- <xsl:variable name="var17_resultof_vmf__inputtoresult" as="xs:string">\r
- <xsl:call-template name="vmf:vmf3_inputtoresult">\r
- <xsl:with-param name="input" as="xs:string">\r
- <xsl:choose>\r
- <xsl:when test="fn:exists($var18_attribut)">\r
- <xsl:sequence select="fn:string($var18_attribut)"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:sequence select="'n'"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($NameSpaceName, ':'), fn:concat($var17_resultof_vmf__inputtoresult, fn:string(.))))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:variable name="var19_resultof_vmf__inputtoresult" as="xs:string?">\r
- <xsl:call-template name="vmf:vmf6_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var19_resultof_vmf__inputtoresult">\r
- <xsl:attribute name="minOccurs" namespace="" select="xs:string(xs:integer(.))"/>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- </element>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var57_FACT">\r
- <xsl:variable name="var24_nom" as="node()?" select="@ns0:nom"/>\r
- <element>\r
- <xsl:for-each select="$var24_nom">\r
- <xsl:attribute name="name" namespace="" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var24_nom">\r
- <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($NameSpaceName, ':T_'), fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:variable name="var22_resultof_vmf__inputtoresult" as="xs:string?">\r
- <xsl:call-template name="vmf:vmf7_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var22_resultof_vmf__inputtoresult">\r
- <xsl:attribute name="minOccurs" namespace="" select="xs:string(xs:integer(.))"/>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:variable name="var23_cur_as_integer" as="xs:integer" select="xs:integer(fn:string(.))"/>\r
- <xsl:attribute name="maxOccurs" namespace="">\r
- <xsl:choose>\r
- <xsl:when test="($var23_cur_as_integer = xs:decimal('-1'))">\r
- <xsl:sequence select="'unbounded'"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:sequence select="xs:string($var23_cur_as_integer)"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:attribute>\r
- </xsl:for-each>\r
- </element>\r
- </xsl:for-each>\r
- </sequence>\r
- <xsl:variable name="var26_resultof_filter" as="node()*">\r
- <xsl:for-each select="$var56_SIMP">\r
- <xsl:variable name="var25_vmf__inputtoresult_of_attribut" as="xs:boolean?">\r
- <xsl:for-each select="@attribut">\r
- <xsl:call-template name="vmf:vmf5_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:if test="fn:exists(($var25_vmf__inputtoresult_of_attribut)[.])">\r
- <xsl:sequence select="."/>\r
- </xsl:if>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:for-each select="$var26_resultof_filter">\r
- <xsl:variable name="var31_cur" as="node()" select="."/>\r
- <xsl:variable name="var30_nom" as="node()?" select="@ns0:nom"/>\r
- <attribute>\r
- <xsl:for-each select="$var30_nom">\r
- <xsl:attribute name="name" namespace="" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var30_nom">\r
- <xsl:variable name="var28_attribut" as="node()?" select="$var31_cur/@attribut"/>\r
- <xsl:variable name="var27_resultof_vmf__inputtoresult" as="xs:string">\r
- <xsl:call-template name="vmf:vmf3_inputtoresult">\r
- <xsl:with-param name="input" as="xs:string">\r
- <xsl:choose>\r
- <xsl:when test="fn:exists($var28_attribut)">\r
- <xsl:sequence select="fn:string($var28_attribut)"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:sequence select="'n'"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($NameSpaceName, ':'), fn:concat($var27_resultof_vmf__inputtoresult, fn:string(.))))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:variable name="var29_resultof_vmf__inputtoresult" as="xs:string?">\r
- <xsl:call-template name="vmf:vmf8_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var29_resultof_vmf__inputtoresult">\r
- <xsl:attribute name="use" namespace="" select="."/>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- </attribute>\r
- </xsl:for-each>\r
- </complexType>\r
- <xsl:variable name="var34_resultof_filter" as="node()*">\r
- <xsl:for-each select="$var56_SIMP">\r
- <xsl:variable name="var33_resultof_filter" as="node()*">\r
- <xsl:for-each select="ns0:typeAttendu">\r
- <xsl:variable name="var32_resultof_vmf__inputtoresult" as="xs:boolean">\r
- <xsl:call-template name="vmf:vmf2_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:if test="$var32_resultof_vmf__inputtoresult">\r
- <xsl:sequence select="."/>\r
- </xsl:if>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:if test="fn:not(fn:exists($var33_resultof_filter))">\r
- <xsl:sequence select="."/>\r
- </xsl:if>\r
- </xsl:for-each>\r
- </xsl:variable>\r
- <xsl:for-each select="$var34_resultof_filter">\r
- <xsl:variable name="var37_cur" as="node()" select="."/>\r
- <complexType>\r
- <xsl:for-each select="@ns0:nom">\r
- <xsl:variable name="var36_attribut" as="node()?" select="$var37_cur/@attribut"/>\r
- <xsl:variable name="var35_resultof_vmf__inputtoresult" as="xs:string">\r
- <xsl:call-template name="vmf:vmf3_inputtoresult">\r
- <xsl:with-param name="input" as="xs:string">\r
- <xsl:choose>\r
- <xsl:when test="fn:exists($var36_attribut)">\r
- <xsl:sequence select="fn:string($var36_attribut)"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:sequence select="'n'"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:attribute name="name" namespace="" select="fn:concat($var35_resultof_vmf__inputtoresult, fn:string(.))"/>\r
- </xsl:for-each>\r
- </complexType>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var57_FACT">\r
- <xsl:variable name="var44_cur" as="node()" select="."/>\r
- <xsl:variable name="var43_resultof_Fact_mapping_v_" as="node()?">\r
- <xsl:call-template name="user:Fact_mapping_v2">\r
- <xsl:with-param name="NameSpaceName" select="$NameSpaceName" as="xs:string"/>\r
- <xsl:with-param name="efficasANDschema" as="node()">\r
- <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
- <xsl:for-each-group select="." group-by="grp:Fact_mapping_v2_var39_cur_of_nom(.)">\r
- <xsl:variable name="var42_nom" as="node()?" select="$var44_cur/@ns0:nom"/>\r
- <xsl:variable name="var40_create_FACT" as="node()">\r
- <FACT>\r
- <xsl:for-each select="current-group()">\r
- <FACT>\r
- <xsl:for-each select="@ns0:nom">\r
- <xsl:attribute name="ns0:nom" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:variable>\r
- <xsl:variable name="var41_test_resultof_greater" as="xs:string?">\r
- <xsl:choose>\r
- <xsl:when test="(fn:count($var40_create_FACT/ns0:FACT) > xs:decimal('1'))">\r
- <xsl:for-each select="$var42_nom">\r
- <xsl:sequence select="fn:concat(fn:concat(fn:string(.), '++'), xs:string(xs:decimal('0')))"/>\r
- </xsl:for-each>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:for-each select="$var42_nom">\r
- <xsl:sequence select="fn:string(.)"/>\r
- </xsl:for-each>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:variable>\r
- <xsl:for-each select="$var41_test_resultof_greater">\r
- <xsl:attribute name="ns0:nom" select="."/>\r
- </xsl:for-each>\r
- </xsl:for-each-group>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:min_occurs">\r
- <xsl:attribute name="ns0:min_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:regles">\r
- <regles>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </regles>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:doc">\r
- <doc>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </doc>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:BLOC">\r
- <BLOC>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </BLOC>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:FACT">\r
- <FACT>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </FACT>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:SIMP">\r
- <SIMP>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </SIMP>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var43_resultof_Fact_mapping_v_/xs:complexType">\r
- <complexType>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </complexType>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- </schema>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf1_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='f'">\r
- <xsl:copy-of select="'0'"/>\r
- </xsl:when>\r
- <xsl:when test="$input='o'">\r
- <xsl:copy-of select="'1'"/>\r
- </xsl:when>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf2_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='Fichier'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='Repertoire'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='TXM'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='I'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='R'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='C'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='Bool'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='gma'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='gmo'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='SalomeEntry'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:copy-of select="false()"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf3_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='o'">\r
- <xsl:copy-of select="'AT_'"/>\r
- </xsl:when>\r
- <xsl:when test="$input='n'">\r
- <xsl:copy-of select="'T_'"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:copy-of select="'T_'"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf4_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='TXM'">\r
- <xsl:copy-of select="fn:QName('', 'string')"/>\r
- </xsl:when>\r
- <xsl:when test="$input='I'">\r
- <xsl:copy-of select="fn:QName('', 'int')"/>\r
- </xsl:when>\r
- <xsl:when test="$input='R'">\r
- <xsl:copy-of select="fn:QName('', 'double')"/>\r
- </xsl:when>\r
- <xsl:when test="$input='Bool'">\r
- <xsl:copy-of select="fn:QName('', 'boolean')"/>\r
- </xsl:when>\r
- <xsl:when test="$input='gma'">\r
- <xsl:copy-of select="fn:QName('', 'string')"/>\r
- </xsl:when>\r
- <xsl:when test="$input='gmo'">\r
- <xsl:copy-of select="fn:QName('', 'string')"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:copy-of select="fn:QName('', 'false')"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf5_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='o'">\r
- <xsl:copy-of select="true()"/>\r
- </xsl:when>\r
- <xsl:when test="$input='n'">\r
- <xsl:copy-of select="false()"/>\r
- </xsl:when>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf6_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='f'">\r
- <xsl:copy-of select="'0'"/>\r
- </xsl:when>\r
- <xsl:when test="$input='o'">\r
- <xsl:copy-of select="'1'"/>\r
- </xsl:when>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf7_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='f'">\r
- <xsl:copy-of select="'0'"/>\r
- </xsl:when>\r
- <xsl:when test="$input='o'">\r
- <xsl:copy-of select="'1'"/>\r
- </xsl:when>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:template name="vmf:vmf8_inputtoresult">\r
- <xsl:param name="input" select="()"/>\r
- <xsl:choose>\r
- <xsl:when test="$input='f'">\r
- <xsl:copy-of select="'optional'"/>\r
- </xsl:when>\r
- <xsl:when test="$input='o'">\r
- <xsl:copy-of select="'required'"/>\r
- </xsl:when>\r
- </xsl:choose>\r
- </xsl:template>\r
- <xsl:output method="xml" encoding="UTF-8" byte-order-mark="no" indent="yes"/>\r
- <xsl:param name="UserNameSpace" as="xs:string" required="yes"/>\r
- <xsl:param name="PrefixName" as="xs:string" required="yes"/>\r
- <xsl:template match="/">\r
- <xsl:variable name="var8_resultof_concat" as="xs:string" select="fn:concat($UserNameSpace, $PrefixName)"/>\r
- <xsl:variable name="var7_cata" as="node()?" select="ns0:cata"/>\r
- <schema xmlns="http://www.w3.org/2001/XMLSchema">\r
- <xsl:namespace name="{$PrefixName}">\r
- <xsl:sequence select="$var8_resultof_concat"/>\r
- </xsl:namespace>\r
- <xsl:attribute name="targetNamespace" namespace="" select="xs:string(xs:anyURI($var8_resultof_concat))"/>\r
- <xsl:attribute name="attributeFormDefault" namespace="" select="'qualified'"/>\r
- <xsl:attribute name="elementFormDefault" namespace="" select="'qualified'"/>\r
- <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC/ns0:FACT">\r
- <xsl:variable name="var1_resultof_Fact_mapping_v_" as="node()?">\r
- <xsl:call-template name="user:Fact_mapping_v2">\r
- <xsl:with-param name="NameSpaceName" select="$PrefixName" as="xs:string"/>\r
- <xsl:with-param name="efficasANDschema" as="node()">\r
- <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
- <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:FACT">\r
- <FACT>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </FACT>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:SIMP">\r
- <SIMP>\r
- <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@attribut">\r
- <xsl:attribute name="attribut" namespace="" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:typeAttendu">\r
- <typeAttendu>\r
- <xsl:sequence select="fn:string(.)"/>\r
- </typeAttendu>\r
- </xsl:for-each>\r
- </SIMP>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var1_resultof_Fact_mapping_v_/xs:simpleType">\r
- <simpleType>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </simpleType>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC">\r
- <complexType>\r
- <xsl:attribute name="name" namespace="" select="fn:concat('T_', fn:string(@ns0:nom))"/>\r
- <sequence>\r
- <xsl:for-each select="ns0:FACT">\r
- <xsl:variable name="var4_nom_as_string" as="xs:string" select="fn:string(@ns0:nom)"/>\r
- <element>\r
- <xsl:attribute name="name" namespace="" select="$var4_nom_as_string"/>\r
- <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($PrefixName, ':T_'), $var4_nom_as_string))"/>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:variable name="var2_resultof_vmf__inputtoresult" as="xs:string?">\r
- <xsl:call-template name="vmf:vmf1_inputtoresult">\r
- <xsl:with-param name="input" select="fn:string(.)" as="xs:string"/>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var2_resultof_vmf__inputtoresult">\r
- <xsl:attribute name="minOccurs" namespace="" select="xs:string(xs:integer(.))"/>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:variable name="var3_cur_as_integer" as="xs:integer" select="xs:integer(fn:string(.))"/>\r
- <xsl:attribute name="maxOccurs" namespace="">\r
- <xsl:choose>\r
- <xsl:when test="($var3_cur_as_integer = xs:decimal('-1'))">\r
- <xsl:sequence select="'unbounded'"/>\r
- </xsl:when>\r
- <xsl:otherwise>\r
- <xsl:sequence select="xs:string($var3_cur_as_integer)"/>\r
- </xsl:otherwise>\r
- </xsl:choose>\r
- </xsl:attribute>\r
- </xsl:for-each>\r
- </element>\r
- </xsl:for-each>\r
- </sequence>\r
- </complexType>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC/ns0:FACT">\r
- <xsl:variable name="var5_resultof_Fact_mapping_v_" as="node()?">\r
- <xsl:call-template name="user:Fact_mapping_v2">\r
- <xsl:with-param name="NameSpaceName" select="$PrefixName" as="xs:string"/>\r
- <xsl:with-param name="efficasANDschema" as="node()">\r
- <FACT xmlns="http://chercheurs.edf.com/logiciels/efficas">\r
- <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:FACT">\r
- <FACT>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </FACT>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:SIMP">\r
- <SIMP>\r
- <xsl:attribute name="ns0:nom" select="fn:string(@ns0:nom)"/>\r
- <xsl:for-each select="@ns0:statut">\r
- <xsl:attribute name="ns0:statut" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@ns0:max_occurs">\r
- <xsl:attribute name="ns0:max_occurs" select="xs:string(xs:integer(fn:string(.)))"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="@attribut">\r
- <xsl:attribute name="attribut" namespace="" select="fn:string(.)"/>\r
- </xsl:for-each>\r
- <xsl:for-each select="ns0:typeAttendu">\r
- <typeAttendu>\r
- <xsl:sequence select="fn:string(.)"/>\r
- </typeAttendu>\r
- </xsl:for-each>\r
- </SIMP>\r
- </xsl:for-each>\r
- </FACT>\r
- </xsl:with-param>\r
- </xsl:call-template>\r
- </xsl:variable>\r
- <xsl:for-each select="$var5_resultof_Fact_mapping_v_/xs:complexType">\r
- <complexType>\r
- <xsl:sequence select="(./@node(), ./node())"/>\r
- </complexType>\r
- </xsl:for-each>\r
- </xsl:for-each>\r
- <xsl:for-each select="$var7_cata/ns0:commandes/ns0:PROC">\r
- <xsl:variable name="var6_nom_as_string" as="xs:string" select="fn:string(@ns0:nom)"/>\r
- <element>\r
- <xsl:attribute name="type" namespace="" select="fn:QName(' ', fn:concat(fn:concat($PrefixName, ':T_'), $var6_nom_as_string))"/>\r
- <xsl:attribute name="name" namespace="" select="$var6_nom_as_string"/>\r
- </element>\r
- </xsl:for-each>\r
- </schema>\r
- </xsl:template>\r
-</xsl:stylesheet>\r
+++ /dev/null
-saxonb-xslt -s:../Cata_MED_FAM.xml -xsl:MappingMapToXMLSchema_1_1__ef.xslt PrefixName=med UserNameSpace='http://chercheurs.edf.com/logiciels/'
+++ /dev/null
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2008-2016 EDF R&D
-#
-# This file is part of SALOME ADAO module
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-"""
- Ce module sert pour charger les paramètres de configuration d'EFICAS
-"""
-# Modules Python
-import os, sys, string, types, re
-
-
-# Modules Eficas
-from InterfaceQT4 import configuration
-
-# Classe de base permettant de lire, afficher
-# et sauvegarder les fichiers utilisateurs
-
-class CONFIG(configuration.configBase):
-
- def __init__(self,appli,repIni):
-
- self.labels_eficas=['lang','rep_cata','catalogues','closeAutreCommande','closeFrameRechercheCommande','closeEntete','taille']
- configuration.configBase.__init__(self,appli,repIni)
-
- self.rep_user = os.environ["HOME"]
- self.appli = appli
- self.code = appli.code
- self.rep_ini = repIni
- self.savedir = self.rep_user
-
-def make_config(appli,rep):
- return CONFIG(appli,rep)
-
+++ /dev/null
-# Copyright (C) 2007-2012 EDF R&D
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-code="MED"
-import sys, os
-if os.path.dirname(os.path.abspath(__file__)) not in sys.path :
- sys.path.insert(0,os.path.dirname(os.path.abspath(__file__)))
+++ /dev/null
-# -*- coding: utf-8 -*-
-# CONFIGURATION MANAGEMENT OF EDF VERSION
-# ======================================================================
-# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
-# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
-# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
-# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
-# (AT YOUR OPTION) ANY LATER VERSION.
-#
-# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT
-# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF
-# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU
-# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
-#
-# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
-# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
-# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
-#
-#
-# ======================================================================
-
-import os,sys
-# repIni sert a localiser le fichier editeur.ini
-# Obligatoire
-repIni=os.path.dirname(os.path.abspath(__file__))
-INSTALLDIR=os.path.join(repIni,'..')
-sys.path[:0]=[INSTALLDIR]
-
-
-# lang indique la langue utilisee pour les chaines d'aide : fr ou ang
-lang='en'
-
-# Codage des strings qui accepte les accents (en remplacement de 'ascii')
-encoding='iso-8859-1'
-docPath=repIni
-
-#
-typeDeCata='XML'
-catalogues=(
- ('med','med',os.path.join(repIni,'cata_med.py'),'dico','xml'),
-)
-
+++ /dev/null
-#@ MODIF properties Accas DATE 11/06/2008 AUTEUR aster M.ADMINISTRATEUR
-# RESPONSABLE D6BHHHH J-P.LEFEBVRE
-# ======================================================================
-# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG
-# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
-# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
-# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
-# (AT YOUR OPTION) ANY LATER VERSION.
-#
-# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT
-# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF
-# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU
-# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
-#
-# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
-# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
-# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
-# ======================================================================
-# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR
-# DE LA VERSION DU CODE_ASTER ASSOCIE
-#----------------------------------------------------------------------
-version = "1.2"
-date = "25/05/2010"
-exploit = False
+++ /dev/null
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2017 EDF R&D
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-"""
-"""
-# Modules Python
-
-# Modules Eficas
-import prefs
-name='prefs_'+prefs.code
-__import__(name)
-
-#import sys
-#reload(sys)
-#sys.setdefaultencoding('latin1')
-
-from InterfaceQT4 import eficas_go
-print eficas_go
-eficas_go.lanceEficas(code=prefs.code)