CINXE.COM

Identifiants 茅conomiques : SIREN, NIC et SIRET

<?xml version="1.0" encoding="utf-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" xmlns:rddl="http://www.rddl.org/" xmlns:ns="http://www.w3.org/1999/xhtml" xmlns:ie="http://xml.insee.fr/schema" xmlns:ex="http://dyomedea.com/ns/example" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cr="http://dyomedea.com/ns/conciseRddl"> <head> <title>Identifiants 茅conomiques : SIREN, NIC et SIRET</title> <link href="style/xrd.css" rel="stylesheet" type="text/css"/> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <meta content="siret.xweb" name="source"/> </head> <body> <div class="head" id="intro"> <h1>1.Introduction</h1> <p>Ce document pr茅sente une biblioth猫que de types, d'茅l茅ments et d'attributs XML permettant de repr茅senter les donn茅es d'identification <tt>SIREN</tt>, <tt>NIC</tt> et <tt>SIRET</tt>.</p> <p>La d茅finition formelle de cette biblioth猫que est r茅alis茅e sous la forme d'un sch茅ma W3C XML Schema.</p> <p>Certains types pr茅sent茅s ici ont 茅t茅 introduits dans la premi猫re version de l'espace de noms, et ob茅issent 脿 des r猫gles de nommage qui ont 茅t茅 depuis abandonn茅es. Ils ont 茅t茅 remplac茅s par des types 茅quivalents respectant les nouvelles r猫gles et sont indiqu茅s ci-dessous comme d'usage d茅conseill茅s. Ils seront supprim茅s dans les prochaines versions de l'expace de noms.</p> <p><tt>SIREN</tt>, <tt>NIC</tt> et <tt>SIRET</tt> constituent un syst猫me d'identification des soci茅t茅s fran莽aises et de leurs 茅tablissements conforme 脿 la norme ISO 6523 et ces identifiants sont donc susceptibles d'锚tre utilis茅s mondialement.</p> <rddl:resource id="espace-de-noms" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#target" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Espace de noms INSEE" xlink:href="http://xml.insee.fr/schema"><div class="resource"> <h2>1.1.Espace de noms INSEE</h2> <p>Les types, 茅l茅ments et attributs d茅crits d茅crit dans ce module font partie de l'espace de noms INSEE : <em>http://xml.insee.fr/schema</em> </p> </div></rddl:resource> <rddl:resource id="copyright" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.isi.edu/in-notes/iana/assignments/media-types/text/html" xlink:title="Conditions d'utilisation" xlink:href="http://www.insee.fr/fr/copyright/copyright.htm"><div class="resource"> <h2>1.2.Conditions d'utilisation</h2> <p>Cette documentation et les ressources qui en d茅pendent (sch茅mas, exemples, transformations XSLT) sont soumises aux <a href="http://www.insee.fr/fr/copyright/copyright.htm" title="Conditions d'utilisation">conditions d'utilisation</a> des informations publi茅es sur le site de l'INSEE. </p> </div></rddl:resource> </div> <div id="contenu"> <h1>2.Table des mati猫res</h1> <div class="toc"><ul><div>1.<a href="#intro">Introduction</a></div><ul><div>1.1.<a href="#espace-de-noms">Espace de noms INSEE</a></div></ul><ul><div>1.2.<a href="#copyright">Conditions d'utilisation</a></div></ul></ul><ul><div>2.<a href="#contenu">Table des mati猫res</a></div></ul><ul><div>3.<a href="#SIREN">Num茅ro d'identification SIREN</a></div><ul><div>3.1.<a href="#SIREN-description">Description</a></div></ul><ul><div>3.2.<a href="#SIREN_stype">Type SIRENType</a></div></ul><ul><div>3.3.<a href="#SIREN_elt">脡l茅ment SIREN</a></div></ul><ul><div>3.4.<a href="#siren_att">Attribut siren</a></div></ul></ul><ul><div>4.<a href="#NIC">Num茅ro d'identification NIC</a></div><ul><div>4.1.<a href="#NIC-description">Description</a></div></ul><ul><div>4.2.<a href="#NIC_stype">Type NICType</a></div></ul><ul><div>4.3.<a href="#NIC_elt">脡l茅ment NIC</a></div></ul><ul><div>4.4.<a href="#nic_att">Attribut nic</a></div></ul></ul><ul><div>5.<a href="#SIRET">Num茅ro d'identification SIRET</a></div><ul><div>5.1.<a href="#SIRET-description">Description</a></div></ul><ul><div>5.2.<a href="#SIRETStructure_ctype">Type SIRETStructureType</a></div></ul><ul><div>5.3.<a href="#SIRETStructure_elt">脡l茅ment SIRETStructure</a></div></ul><ul><div>5.4.<a href="#SIRET_stype">Type SIRETType</a></div></ul><ul><div>5.5.<a href="#SIRET_elt">脡l茅ment SIRET</a></div></ul><ul><div>5.6.<a href="#siret_att">Attribut siret</a></div></ul></ul><ul><div>6.<a href="#deprecated">Objets d茅pr茅ci茅s</a></div><ul><div>6.1.<a href="#SIREN_stypobs">Type SIREN_stype</a></div></ul><ul><div>6.2.<a href="#NIC_stypobs">Type NIC_stype</a></div></ul><ul><div>6.3.<a href="#SIRET_ctypobs">Type SIRET_ctype</a></div></ul><ul><div>6.4.<a href="#SIRET_stypobs">Type SIRET_stype</a></div></ul><ul><div>6.5.<a href="#SIREN_atobs">Attribut SIREN</a></div></ul><ul><div>6.6.<a href="#NIC_atobs">Attribut NIC</a></div></ul><ul><div>6.7.<a href="#SIRET_atobs">Attribut SIRET</a></div></ul></ul><ul><div>7.<a href="#conseils">Conseils d'utilisation</a></div><ul><div>7.1.<a href="#type-ou-non">Quand utiliser les types?</a></div></ul><ul><div>7.2.<a href="#conseil-siren-nic">Utilisation individuelle de SIREN et NIC</a></div></ul></ul><ul><div>8.<a href="#controles">Contr么les de cl茅s sur SIREN, NIC et SIRET</a></div><ul><div>8.1.<a href="#description">Description</a></div></ul><ul><div>8.2.<a href="#luhn-xslt-template">Impl茅mentation XSLT</a></div></ul></ul><ul><div>9.<a href="#telechargement">T茅l茅chargement</a></div><ul><div>9.1.<a href="#wxs_schema">Sch茅ma</a></div></ul><ul><div>9.2.<a href="#xslt-luhn-complet">Transformation XSLT validant les 茅l茅ments ie:SIREN et ie:NIC et attributs ie:siren et ie:nic</a></div></ul><ul><div>9.3.<a href="#exemples-types-schema">Exemples utilisant les types - sch茅ma</a></div></ul><ul><div>9.4.<a href="#exemples-types-document">Exemples utilisant les types - document</a></div></ul><ul><div>9.5.<a href="#exemples-elt-att-document">Exemples utilisant les 茅l茅ments et attributs</a></div></ul></ul><ul><div>10.<a href="#references">R茅f茅rences</a></div><ul><div>10.1.<a href="#ref-repertoire-sirene">R茅pertoire SIRENE</a></div></ul><ul><div>10.2.<a href="#ref-iso-1">ISO 6523-1</a></div></ul><ul><div>10.3.<a href="#ref-iso-2">ISO 6523-2</a></div></ul><ul><div>10.4.<a href="#icd-list">Liste des ICD</a></div></ul></ul><ul><div>11.<a href="#ressources">Ressources</a></div><ul><div>11.1.<a href="#ressources-alpha">Liste alphab茅tique</a></div></ul><ul><div>11.2.<a href="#ressources-cat">Par cat茅gories</a></div></ul></ul></div> </div> <div id="SIREN"> <h1>3.Num茅ro d'identification <tt>SIREN</tt></h1> <div id="SIREN-description"> <h2>3.1.Description</h2> <dl> <dt>Entreprise</dt> <dd>L'entreprise est une unit茅 茅conomique, juridiquement autonome, organis茅e pour produire des biens ou des services pour le march茅.</dd> <dt>R茅pertoire <tt>SIRENE</tt> </dt> <dd>L'INSEE est charg茅 d'identifier les personnes physiques exer莽ant de mani猫re ind茅pendante une profession non salari茅e (exemple : un commer莽ant, un m茅decin), les personnes morales de droit priv茅 (exemple : une soci茅t茅 anonyme) ou de droit public soumises au droit commercial (exemple : EDF) et les institutions et services de l'Etat et les collectivit茅s territoriales, ainsi que tous leurs 茅tablissements dans un r茅pertoire unique appel茅 "r茅pertoire SIRENE".</dd> <dt>SIREN</dt> <dd>L'INSEE attribue un identifiant 脿 toute personne juridique, physique ou morale, introduite dans le r茅pertoire SIRENE sur demande des organismes habilit茅s (CFE en g茅n茅ral). Cet identifiant est appel茅 num茅ro <tt>SIREN</tt>.</dd> </dl> </div> <rddl:resource id="SIREN_stype" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Type SIRENType" xlink:href="#SIREN_stype"><div class="resource"> <h2>3.2.Type <tt>SIRENType</tt></h2> <p>La d茅finition d'un num茅ro <tt>SIREN</tt> sous forme d'un type simple est la suivante :</p> <div id="frg_SIRENType"><p><b>搂1.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">simpleType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">SIRENType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">restriction</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">base</span><span class="markup">="</span><span class="attributeValue">ie:ChaineNumeriqueType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">length</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">value</span><span class="markup">="</span><span class="attributeValue">9</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">restriction</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">simpleType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>Ce type peut 锚tre affect茅 dans un sch茅ma pour d茅finir des 茅l茅ments ou attributs contenant des num茅ros <tt>SIREN</tt>, par exemple :</p> <div id="frg_sch_SIRENType_ex"><p><b>搂2.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">mon-element-siren</span><span class="markup">"</span> <span class="attributeName">type</span><span class="markup">="</span><span class="attributeValue">ie:SIRENType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>Les 茅l茅ments ou attributs ainsi d茅finis peuvent ensuite 锚tre utilis茅s dans des documents XML, par exemple :</p> <div id="frg_SIRENType_ex"><p><b>搂3.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">mon-element-siren</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">422260208</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">mon-element-siren</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="SIREN_elt" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="脡l茅ment SIREN" xlink:href="#SIREN_elt"><div class="resource"> <h2>3.3.脡l茅ment <tt>SIREN</tt></h2> <p>La d茅finition de l'茅l茅ment <tt>SIREN</tt> est la suivante:</p> <div id="frg_SIREN_elt"><p><b>搂4.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">SIREN</span><span class="markup">"</span> <span class="attributeName">type</span><span class="markup">="</span><span class="attributeValue">ie:SIRENType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>Les 茅l茅ments <tt>SIREN</tt> peuvent 锚tre utilis茅s directement dans des documents XML, par exemple :</p> <div id="frg_SIREN_elt_ex"><p><b>搂5.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">entreprise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">SIREN</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">422260208</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">SIREN</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">Dyomedea SARL</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">entreprise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="siren_att" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Attribut siren" xlink:href="#siren_att"><div class="resource"> <h3>3.4.Attribut <tt>siren</tt></h3> <p>La d茅finition de l'attribut <tt>siren</tt> est la suivante:</p> <div id="frg_siren_att"><p><b>搂6.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">attribute</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">siren</span><span class="markup">"</span> <span class="attributeName">type</span><span class="markup">="</span><span class="attributeValue">ie:SIRENType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>Les attributs <tt>siren</tt> peuvent 锚tre utilis茅s directement dans des documents XML, par exemple :</p> <div id="frg_siren_att_ex"><p><b>搂7.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">entreprise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">ie:siren</span><span class="markup">="</span><span class="attributeValue">422260208</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">Dyomedea SARL</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">entreprise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> </div> <div id="NIC"> <h1>4.Num茅ro d'identification <tt>NIC</tt></h1> <div id="NIC-description"> <h2>4.1.Description</h2> <dl> <dt>脡tablissement</dt> <dd>L'茅tablissement est une unit茅 de production localis茅e g茅ographiquement, individualis茅e mais d茅pendant juridiquement d'une entreprise. L'茅tablissement constitue le niveau le mieux adapt茅 脿 une approche g茅ographique de l'茅conomie. Il est relativement homog猫ne et son activit茅 principale appara卯t proche du produit.</dd> <dt>NIC (Num茅ro Interne de Classement)</dt> <dd> Il s'agit de 5 chiffres ajout茅s au num茅ro SIREN de l'entreprise pour identifier un 茅tablissement.</dd> </dl> </div> <rddl:resource id="NIC_stype" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Type NICType" xlink:href="#NIC_stype"><div class="resource"> <h2>4.2.Type <tt>NICType</tt></h2> <p>La d茅finition d'un NIC sous forme d'un type simple est la suivante :</p> <div id="frg_NICType"><p><b>搂8.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">simpleType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">NICType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">restriction</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">base</span><span class="markup">="</span><span class="attributeValue">ie:ChaineNumeriqueType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">length</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">value</span><span class="markup">="</span><span class="attributeValue">5</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">restriction</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">simpleType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>Ce type peut 锚tre affect茅 dans un sch茅ma pour d茅finir des 茅l茅ments ou attributs contenant des num茅ros <tt>NIC</tt>, par exemple :</p> <div id="frg_sch_NICType_ex"><p><b>搂9.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">mon-element-nic</span><span class="markup">"</span> <span class="attributeName">type</span><span class="markup">="</span><span class="attributeValue">ie:NICType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>Les 茅l茅ments ou attributs ainsi d茅finis peuvent ensuite 锚tre utilis茅s dans des documents XML, par exemple :</p> <div id="frg_NICType_ex"><p><b>搂10.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">mon-element-nic</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">00026</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">mon-element-nic</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="NIC_elt" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="脡l茅ment NIC" xlink:href="#NIC_elt"><div class="resource"> <h3>4.3.脡l茅ment <tt>NIC</tt></h3> <p>La d茅finition de l'茅l茅ment NIC est la suivante:</p> <div id="frg_NIC_elt"><p><b>搂11.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">NIC</span><span class="markup">"</span> <span class="attributeName">type</span><span class="markup">="</span><span class="attributeValue">ie:NICType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>Les 茅l茅ments <tt>NIC</tt> peuvent 锚tre utilis茅s directement dans des documents XML, par exemple :</p> <div id="frg_NIC_elt_ex"><p><b>搂12.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">entreprise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">SIREN</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">422260208</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">SIREN</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">Dyomedea SARL</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">etablissements</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">etablissement</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">NIC</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">00026</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">NIC</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">脡tablissement principal</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">etablissement</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">etablissements</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">entreprise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="nic_att" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Attribut nic" xlink:href="#nic_att"><div class="resource"> <h3>4.4.Attribut <tt>nic</tt></h3> <p>La d茅finition de l'attribut <tt>nic</tt> est la suivante:</p> <div id="frg_nic_att"><p><b>搂13.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">attribute</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">nic</span><span class="markup">"</span> <span class="attributeName">type</span><span class="markup">="</span><span class="attributeValue">ie:NICType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>Les attributs <tt>NIC</tt> peuvent 锚tre utilis茅s directement dans des documents XML, par exemple :</p> <div id="frg_nic_att_ex"><p><b>搂14.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">entreprise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">ie:siren</span><span class="markup">="</span><span class="attributeValue">422260208</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">Dyomedea SARL</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">etablissements</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">etablissement</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">ie:nic</span><span class="markup">="</span><span class="attributeValue">00026</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">脡tablissement principal</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">etablissement</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">etablissements</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">entreprise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> </div> <div id="SIRET"> <h1>5.Num茅ro d'identification SIRET</h1> <div id="SIRET-description"> <h2>5.1.Description</h2> <dl> <dt>Num茅ro SIRET</dt> <dd>Le num茅ro SIRET est un identifiant num茅rique de 14 chiffres compos茅 du SIREN (9 chiffres) et d'un num茅ro interne de classement de 5 chiffres (NIC) caract茅risant l'茅tablissement d'une entreprise en tant qu'unit茅 g茅ographiquement localis茅e. Il est donc modifi茅 en particulier si l'茅tablissement change d'adresse.</dd> </dl> </div> <rddl:resource id="SIRETStructure_ctype" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Type SIRETStructureType" xlink:href="#SIRETStructure_ctype"><div class="resource"> <h2>5.2.Type <tt>SIRETStructureType</tt></h2> <p>Un num茅ro SIRET est constitu茅 d'un num茅ro SIREN et d'un NIC et on pourra utiliser ce type complexe lorsqu'on souhaitera isoler ces deux composantes dans deux 茅l茅ments s茅par茅s :</p> <div id="frg_SIRETStructureType"><p><b>搂15.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">complexType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">SIRETStructureType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">sequence</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">ref</span><span class="markup">="</span><span class="attributeValue">ie:SIREN</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">ref</span><span class="markup">="</span><span class="attributeValue">ie:NIC</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">sequence</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">complexType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>Ce type peut 锚tre affect茅 dans un sch茅ma pour d茅finir des 茅l茅ments ou attributs contenant des num茅ros <tt>SIRET</tt>, par exemple :</p> <div id="frg_sch_SIRETStructureType_ex"><p><b>搂16.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">mon-element-siret-structure</span><span class="markup">"</span> <span class="attributeName">type</span><span class="markup">="</span><span class="attributeValue">ie:SIRETStructureType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>Les 茅l茅ments ou attributs ainsi d茅finis peuvent ensuite 锚tre utilis茅s dans des documents XML, par exemple :</p> <div id="frg_SIRETStructureType_ex"><p><b>搂17.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">mon-element-siret-structure</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">SIREN</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">422260208</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">SIREN</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">NIC</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">00026</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">NIC</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">mon-element-siret-structure</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>On notera que l'utilisation de ce type complexe impose l'utilisation de l'espace de noms INSEE dans les documents XML.</p> </div></rddl:resource> <rddl:resource id="SIRETStructure_elt" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="脡l茅ment SIRETStructure" xlink:href="#SIRETStructure_elt"><div class="resource"> <h2>5.3.脡l茅ment <tt>SIRETStructure</tt></h2> <p>La d茅finition de l'茅l茅ment <tt>SIRETStructure</tt> est la suivante :</p> <div id="frg_SIRETStructure_elt"><p><b>搂18.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">SIRETStructure</span><span class="markup">"</span> <span class="attributeName">type</span><span class="markup">="</span><span class="attributeValue">ie:SIRETStructureType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>Les 茅l茅ments <tt>SIRETStructure</tt> peuvent 锚tre utilis茅s directement dans des documents XML, par exemple :</p> <div id="frg_SIRETStructure_elt_ex"><p><b>搂19.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">entreprise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">SIRETStructure</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">SIREN</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">422260208</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">SIREN</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">NIC</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">00026</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">NIC</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">SIRETStructure</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">Dyomedea SARL (茅tablissement principal)</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">entreprise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="SIRET_stype" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Type SIRETType" xlink:href="#SIRET_stype"><div class="resource"> <h2>5.4.Type <tt>SIRETType</tt></h2> <p>Lorsqu'on ne souhaite pas s茅parer SIREN et NIC en deux sous 茅l茅ments (par exemple lorsque le num茅ro SIRET est cod茅 sous forme d'attribut ou qu'on ne souhaite pas ins茅rer des 茅l茅ments appartenant 脿 l'espace de noms INSEE dans les documents XML), on pourra concat茅ner ces deux identifiants et utiliser le type simple suivant :</p> <div id="frg_SIRETType"><p><b>搂20.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">simpleType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">SIRETType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">restriction</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">base</span><span class="markup">="</span><span class="attributeValue">ie:ChaineNumeriqueType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">length</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">value</span><span class="markup">="</span><span class="attributeValue">14</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">restriction</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">simpleType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>Ce type peut 锚tre affect茅 dans un sch茅ma pour d茅finir des 茅l茅ments ou attributs contenant des num茅ros <tt>SIRET</tt>, par exemple :</p> <div id="frg_sch_SIRETType_ex"><p><b>搂21.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">societe</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">complexType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">sequence</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">nom</span><span class="markup">"</span> <span class="attributeName">type</span><span class="markup">="</span><span class="attributeValue">xs:token</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">sequence</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">attribute</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">mon-attribut-siret</span><span class="markup">"</span> <span class="attributeName">type</span><span class="markup">="</span><span class="attributeValue">ie:SIRETType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">complexType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>Les 茅l茅ments ou attributs ainsi d茅finis peuvent ensuite 锚tre utilis茅s dans des documents XML, par exemple :</p> <div id="frg_SIRETType_ex"><p><b>搂22.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">societe</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">mon-attribut-siret</span><span class="markup">="</span><span class="attributeValue">42226020800026</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">Dyomedea SARL (茅tablissement principal)</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">societe</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="SIRET_elt" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="脡l茅ment SIRET" xlink:href="#SIRET_elt"><div class="resource"> <h2>5.5.脡l茅ment <tt>SIRET</tt></h2> <p>La d茅finition de l'茅l茅ment <tt>SIRET</tt> est la suivante:</p> <div id="frg_SIRET_elt"><p><b>搂23.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">SIRET</span><span class="markup">"</span> <span class="attributeName">type</span><span class="markup">="</span><span class="attributeValue">ie:SIRETType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>Les 茅l茅ments <tt>SIRET</tt> peuvent 锚tre utilis茅s directement dans des documents XML, par exemple :</p> <div id="frg_SIRET_elt_ex"><p><b>搂24.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">entreprise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">SIRET</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">42226020800026</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">SIRET</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">Dyomedea SARL(茅tablissement principal)</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">entreprise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="siret_att" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Attribut siret" xlink:href="#siret_att"><div class="resource"> <h2>5.6.Attribut <tt>siret</tt></h2> <p>La d茅finition de l'attribut <tt>siret</tt> est bas茅e sur le type simple d茅fini ci-dessus :</p> <div id="frg_siret_att"><p><b>搂25.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">attribute</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">siret</span><span class="markup">"</span> <span class="attributeName">type</span><span class="markup">="</span><span class="attributeValue">ie:SIRETType</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> <p>Les attributs <tt>siret</tt> peuvent 锚tre utilis茅s directement dans des documents XML, par exemple :</p> <div id="frg_siret_att_ex"><p><b>搂26.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">societe</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">ie:siret</span><span class="markup">="</span><span class="attributeValue">42226020800026</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">Dyomedea SARL (茅tablissement principal)</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">nom</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">societe</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> </div> <div id="deprecated"> <h1>6.Objets d茅pr茅ci茅s</h1> <rddl:resource id="SIREN_stypobs" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Type SIREN_stype" xlink:href="#SIREN_stypobs"><div class="resource"> <h2>6.1.Type <tt>SIREN_stype</tt></h2> <div id="frg_SIREN_stype"><p><b>搂27.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">simpleType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">SIREN_stype</span><span class="markup">"</span> <span class="attributeName">ie:obsolete</span><span class="markup">="</span><span class="attributeValue">true</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">restriction</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">base</span><span class="markup">="</span><span class="attributeValue">ie:Cha卯ne_Num茅rique_stype</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">length</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">value</span><span class="markup">="</span><span class="attributeValue">9</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">restriction</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">simpleType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="NIC_stypobs" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Type NIC_stype" xlink:href="#NIC_stypobs"><div class="resource"> <h2>6.2.Type <tt>NIC_stype</tt></h2> <div id="frg_NIC_stype"><p><b>搂28.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">simpleType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">NIC_stype</span><span class="markup">"</span> <span class="attributeName">ie:obsolete</span><span class="markup">="</span><span class="attributeValue">true</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">restriction</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">base</span><span class="markup">="</span><span class="attributeValue">ie:Cha卯ne_Num茅rique_stype</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">length</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">value</span><span class="markup">="</span><span class="attributeValue">5</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">restriction</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">simpleType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="SIRET_ctypobs" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Type SIRET_ctype" xlink:href="#SIRET_ctypobs"><div class="resource"> <h2>6.3.Type <tt>SIRET_ctype</tt></h2> <div id="frg_SIRET_ctype"><p><b>搂29.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">complexType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">SIRET_ctype</span><span class="markup">"</span> <span class="attributeName">ie:obsolete</span><span class="markup">="</span><span class="attributeValue">true</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">sequence</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">ref</span><span class="markup">="</span><span class="attributeValue">ie:SIREN</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">ref</span><span class="markup">="</span><span class="attributeValue">ie:NIC</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">sequence</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">complexType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="SIRET_stypobs" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Type SIRET_stype" xlink:href="#SIRET_stypobs"><div class="resource"> <h2>6.4.Type <tt>SIRET_stype</tt></h2> <div id="frg_SIRET_stype"><p><b>搂30.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">simpleType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">SIRET_stype</span><span class="markup">"</span> <span class="attributeName">ie:obsolete</span><span class="markup">="</span><span class="attributeValue">true</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">restriction</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">base</span><span class="markup">="</span><span class="attributeValue">ie:Cha卯ne_Num茅rique_stype</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">length</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">value</span><span class="markup">="</span><span class="attributeValue">14</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">restriction</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">simpleType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="SIREN_atobs" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Attribut SIREN" xlink:href="#SIREN_atobs"><div class="resource"> <h2>6.5.Attribut <tt>SIREN</tt></h2> <div id="frg_SIREN_att"><p><b>搂31.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">attribute</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">SIREN</span><span class="markup">"</span> <span class="attributeName">type</span><span class="markup">="</span><span class="attributeValue">ie:SIREN_stype</span><span class="markup">"</span> <span class="attributeName">ie:obsolete</span><span class="markup">="</span><span class="attributeValue">true</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="NIC_atobs" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Attribut NIC" xlink:href="#NIC_atobs"><div class="resource"> <h2>6.6.Attribut <tt>NIC</tt></h2> <div id="frg_NIC_att"><p><b>搂32.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">attribute</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">NIC</span><span class="markup">"</span> <span class="attributeName">type</span><span class="markup">="</span><span class="attributeValue">ie:NIC_stype</span><span class="markup">"</span> <span class="attributeName">ie:obsolete</span><span class="markup">="</span><span class="attributeValue">true</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="SIRET_atobs" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Attribut SIRET" xlink:href="#SIRET_atobs"><div class="resource"> <h2>6.7.Attribut <tt>SIRET</tt></h2> <div id="frg_SIRET_att"><p><b>搂33.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">attribute</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">SIRET</span><span class="markup">"</span> <span class="attributeName">type</span><span class="markup">="</span><span class="attributeValue">ie:SIRET_stype</span><span class="markup">"</span> <span class="attributeName">ie:obsolete</span><span class="markup">="</span><span class="attributeValue">true</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> </div> <div id="conseils"> <h1>7.Conseils d'utilisation</h1> <div id="type-ou-non"> <h2>7.1.Quand utiliser les types?</h2> <p>L'utilisation des 茅l茅ments et attributs d茅finis dans ce sch茅ma permet de se baser directement sur leur nom (et espace de nom) pour les identifier et les valider.</p> <p>L'utilisation des types simples d茅finis dans ce sch茅ma permet au contraire d'utiliser des noms d'attributs et d'茅l茅ments quelconques (et appartenant 脿 des espaces de noms quelconques).</p> <p>L'attribution de types 脿 ces 茅l茅ments et attributs permet de les valider en suivant les d茅finitions de ce sch茅ma.</p> <p>Ces attributions sont 茅galement transmises aux applications supportant W3C XML Schema et son "Post Schema Validation Infoset" (PSVI) qui peuvent reconna卯tre qu'il s'agit des donn茅es d'identification d茅finies par ce sch茅ma.</p> <p>L'utilisation de types complexes se situe 脿 un niveau interm茅diaire puisqu'elle permet d'utiliser des noms et espaces de noms quelconques pour les 茅l茅ments racines de ces types de donn茅es mais qu'elle impose l'utilisation des 茅l茅ments (et de l'espace de noms) d茅finis par ce sch茅ma pour les 茅l茅ments inclus dans le type de donn茅es (voir <a href="#frg_SIRETStructureType_ex">exemple</a> concernant le type SIRETStructureType).</p> </div> <div id="conseil-siren-nic"> <h2>7.2.Utilisation individuelle de SIREN et NIC</h2> <p>Si l'utilisation individuelle de num茅ros SIREN et NIC pour former un num茅ro SIRET est techniquement correcte, elle pr茅sente l'inconv茅nient pour les applications de ne pas lier ces deux informations de mani猫re explicite dans un sch茅ma. Les applications ne peuvent donc pas trouver dans le seul sch茅ma le lien permettant de constituer un num茅ro SIRET identifiant un 茅tablissement 脿 partir de ces deux informations isol茅es et doit se reposer sur des conventions d茅finies de mani猫re informelle ci-dessous.</p> <p>L'utilisation des 茅l茅ments, attributs et types SIRET qui 茅vite ce probl猫me est recommand茅e pour identifier un 茅tablissement.</p> <p>Lorsqu'ils ne peuvent pas utiliser des 茅l茅ments, attributs ou types SIRET, les vocabulaires XML souhaitant utiliser de mani猫re individuelle les num茅ro SIREN et NIC sont invit茅s 脿 respecter les r猫gles suivantes :</p> <dl> <dt>Noeud SIREN</dt> <dd>On appelle "noeud SIREN" tout attribut ie:SIREN ou 茅l茅ment ie:siren ainsi que tout 茅l茅ment ou attribut ayant un type ie:SIRENType</dd> <dt>R猫gle de liaison entre SIREN et NIC</dt> <dd>Tout attribut "ie:nic" ou 茅l茅ment "ie:NIC" (ou 茅l茅ment ou attribut ayant un type ie:NICType) est implicitement li茅 au noeud SIREN trouv茅 dans le plus proche de ses anc锚tres ayant un noeud SIREN parmi ses fils.</dd> <dt>Unicit茅 de liaison implicite entre SIREN et NIC</dt> <dd>Pour que la r猫gle de liaison entre SIREN et NIC puisse 锚tre appliqu茅e de mani猫re d茅terministe, il est d茅conseill茅 d'autoriser un 茅l茅ment 脿 accepter plusieurs noeud SIREN parmi ses fils.</dd> </dl> </div> </div> <div id="controles"> <h1>8.Contr么les de cl茅s sur SIREN, NIC et SIRET</h1> <div id="description"> <h2>8.1.Description</h2> <p>Les num茅ros SIREN, NIC et SIRET int猫grent le m茅canisme de contr么le de parit茅 connu sous le nom de formule (ou cl茅) de Luhn. Ce contr么le de parit茅 peut 锚tre utilis茅 pour r茅duire les risques d'erreurs de frappe ou de transmission.</p> <p>L'algorithme consiste 脿 parcourir les chiffres constituant le num茅ro SIREN, NIC ou SIRET, 脿 multiplier par 2 les chiffres de rang impair et 脿 faire ensuite la somme de tous les chiffres obtenus.</p> <p>Attention, il s'agit bien de faire la somme des chiffres obtenus : si apr猫s multiplication par 2 d'un des chiffres du num茅ro on obtient "12", il faudra ajouter les chiffres 1 puis 2 et non le nombre 12.</p> <p>Le contr么le de parit茅 est correct si le r茅sultat obtenu est un multiple de 10.</p> </div> <rddl:resource id="luhn-xslt-template" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#non-normative-reference" xlink:role="http://www.w3.org/1999/xhtml" xlink:title="Impl茅mentation XSLT" xlink:href="#luhn-xslt-template"><div class="resource"> <h2>8.2.Impl茅mentation XSLT</h2> <p>Le contr么le de la formule de Luhn peut 锚tre impl茅ment茅 en XSLT de la mani猫re suivante :</p> <div id="frg_luhn"><p><b>搂34.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">template</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">controle-luhn</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">param</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">numero</span><span class="markup">"</span> <span class="attributeName">select</span><span class="markup">="</span><span class="attributeValue">normalize-space(.)</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">param</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">somme</span><span class="markup">"</span> <span class="attributeName">select</span><span class="markup">="</span><span class="attributeValue">0</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">param</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">indice</span><span class="markup">"</span> <span class="attributeName">select</span><span class="markup">="</span><span class="attributeValue">1</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">choose</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">when</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">test</span><span class="markup">="</span><span class="attributeValue">string-length($numero)=0</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span>&lt;!-- Nous arrivons ici apr猫s le dernier chiffre --&gt;<span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">choose</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">when</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">test</span><span class="markup">="</span><span class="attributeValue">$somme mod 10 = 0</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">text</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">Correct</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">text</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">when</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">otherwise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">text</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text">Erreur : </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">text</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">value-of</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">select</span><span class="markup">="</span><span class="attributeValue">$somme</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">otherwise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">choose</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">when</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">when</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">test</span><span class="markup">="</span><span class="attributeValue">$indice mod 2 = 0</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span>&lt;!-- Cas des chiffres d'indice pair --&gt;<span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">call-template</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">controle-luhn</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">with-param</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">numero</span><span class="markup">"</span> <span class="attributeName">select</span><span class="markup">="</span><span class="attributeValue">substring($numero, 2)</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">with-param</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">somme</span><span class="markup">"</span> <span class="attributeName">select</span><span class="markup">="</span><span class="attributeValue">$somme + substring($numero, 1, 1)</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">with-param</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">indice</span><span class="markup">"</span> <span class="attributeName">select</span><span class="markup">="</span><span class="attributeValue">$indice + 1</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">call-template</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">when</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">otherwise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span>&lt;!-- Cas des chiffres d'indice impair --&gt;<span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">variable</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">double</span><span class="markup">"</span> <span class="attributeName">select</span><span class="markup">="</span><span class="attributeValue">concat(substring($numero, 1, 1) * 2, '0') </span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">call-template</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">controle-luhn</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">with-param</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">numero</span><span class="markup">"</span> <span class="attributeName">select</span><span class="markup">="</span><span class="attributeValue">substring($numero, 2)</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">with-param</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">somme</span><span class="markup">"</span> <span class="attributeName">select</span><span class="markup">="</span><span class="attributeValue">$somme + substring($double, 1, 1) + substring($double, 2, 1)</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">with-param</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">indice</span><span class="markup">"</span> <span class="attributeName">select</span><span class="markup">="</span><span class="attributeValue">$indice + 1</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">call-template</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">otherwise</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">choose</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">template</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> </div> <div id="telechargement"> <h1>9.T茅l茅chargement</h1> <p>Les documents suivants sont disponibles pour t茅l茅chargement.</p> <rddl:resource id="wxs_schema" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#schema-validation" xlink:role="http://www.w3.org/2000/10/XMLSchema" xlink:title="Sch茅ma" xlink:href="siret.xsd"><div class="resource"> <h2>9.1.Sch茅ma</h2> <div id="top"><p>[<a href="siret.xsd">Document</a>]</p><p><b>搂35.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">schema</span> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xmlns</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeName">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">="</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeValue">http://www.w3.org/2001/XMLSchema</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">"</span> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xmlns</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeName">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">="</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeValue">http://xml.insee.fr/schema</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">"</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">attributeFormDefault</span><span class="markup">="</span><span class="attributeValue">qualified</span><span class="markup">"</span> <span class="attributeName">elementFormDefault</span><span class="markup">="</span><span class="attributeValue">qualified</span><span class="markup">"</span> <span class="attributeName">targetNamespace</span><span class="markup">="</span><span class="attributeValue">http://xml.insee.fr/schema</span><span class="markup">"</span> <span class="attributeName">version</span><span class="markup">="</span><span class="attributeValue">2.0</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">include</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">schemaLocation</span><span class="markup">="</span><span class="attributeValue">insee-commun.xsd</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIRENType">搂1.Type SIRENType</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIREN_elt">搂4.脡l茅ment SIREN</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_siren_att">搂6.Attribut siren</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_NICType">搂8.Type NICType</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_NIC_elt">搂11.脡l茅ment NIC</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_nic_att">搂13.Attribut nic</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIRETStructureType">搂15.Type SIRETStructureType</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIRETStructure_elt">搂18.脡l茅ment SIRETStructure</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIRETType">搂20.Type SIRETType</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIRET_elt">搂23.脡l茅ment SIRET</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_siret_att">搂25.Attribut siret</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">annotation</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">ie:obsolete</span><span class="markup">="</span><span class="attributeValue">true</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">documentation</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> Les types qui suivent sont d茅pr茅ci茅s et seront remplac茅s dans les prochaines versions par des types 茅quivalents qui suivent les conventions de nommage en vigueur.</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">documentation</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">annotation</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIREN_stype">搂27.Type SIREN_stype</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_NIC_stype">搂28.Type NIC_stype</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIRET_ctype">搂29.Type SIRET_ctype</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIRET_stype">搂30.Type SIRET_stype</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIREN_att">搂31.Attribut SIREN</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_NIC_att">搂32.Attribut NIC</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIRET_att">搂33.Attribut SIRET</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">schema</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="xslt-luhn-complet" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#schema-validation" xlink:role="http://www.w3.org/1999/XSL/Transform" xlink:title="Transformation XSLT validant les 茅l茅ments ie:SIREN et ie:NIC et attributs ie:siren et ie:nic" xlink:href="luhn.xsl"><div class="resource"> <h2>9.2.Transformation XSLT validant les 茅l茅ments ie:SIREN et ie:NIC et attributs ie:siren et ie:nic</h2> <div id="top"><p>[<a href="luhn.xsl">Document</a>]</p><p><b>搂36.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">transform</span> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xmlns</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeName">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">="</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeValue">http://dyomedea.com/ns/example</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">"</span> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xmlns</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeName">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">="</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeValue">http://xml.insee.fr/schema</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">"</span> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xmlns</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeName">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">="</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeValue">http://www.w3.org/1999/XSL/Transform</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">"</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">version</span><span class="markup">="</span><span class="attributeValue">1.0</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">output</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">method</span><span class="markup">="</span><span class="attributeValue">text</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">template</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">match</span><span class="markup">="</span><span class="attributeValue">*|@*</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">apply-templates</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">select</span><span class="markup">="</span><span class="attributeValue">*|@*</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">template</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">template</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">match</span><span class="markup">="</span><span class="attributeValue">ie:SIREN|ie:NIC|@ie:siren|@ie:nic</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">value-of</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">select</span><span class="markup">="</span><span class="attributeValue">name()</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">text</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">value-of</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">select</span><span class="markup">="</span><span class="attributeValue">.</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">text</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> : </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">text</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">call-template</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">controle-luhn</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">text</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">template</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_luhn">搂34.Impl茅mentation XSLT</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xsl</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">transform</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="exemples-types-schema" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#non-normative-reference" xlink:role="http://www.w3.org/2000/10/XMLSchema" xlink:title="Exemples utilisant les types - sch茅ma" xlink:href="exemples-siret-types.xsd"><div class="resource"> <h2>9.3.Exemples utilisant les types - sch茅ma</h2> <p>Sch茅ma validant les exemples utilisant les d茅finitions de types simples et complexes : </p> <div id="top"><p>[<a href="exemples-siret-types.xsd">Document</a>]</p><p><b>搂37.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">schema</span> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xmlns</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeName">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">="</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeValue">http://www.w3.org/2001/XMLSchema</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">"</span> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xmlns</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeName">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">="</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeValue">http://dyomedea.com/ns/example</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">"</span> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xmlns</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeName">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">="</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeValue">http://xml.insee.fr/schema</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">"</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">attributeFormDefault</span><span class="markup">="</span><span class="attributeValue">unqualified</span><span class="markup">"</span> <span class="attributeName">elementFormDefault</span><span class="markup">="</span><span class="attributeValue">qualified</span><span class="markup">"</span> <span class="attributeName">targetNamespace</span><span class="markup">="</span><span class="attributeValue">http://dyomedea.com/ns/example</span><span class="markup">"</span> <span class="attributeName">version</span><span class="markup">="</span><span class="attributeValue">2.0</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">import</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">namespace</span><span class="markup">="</span><span class="attributeValue">http://xml.insee.fr/schema</span><span class="markup">"</span> <span class="attributeName">schemaLocation</span><span class="markup">="</span><span class="attributeValue">siret.xsd</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_sch_SIRENType_ex">搂2.Type SIRENType</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_sch_NICType_ex">搂9.Type NICType</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_sch_SIRETStructureType_ex">搂16.Type SIRETStructureType</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_sch_SIRETType_ex">搂21.Type SIRETType</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">name</span><span class="markup">="</span><span class="attributeValue">exemples</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">complexType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">sequence</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">any</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">maxOccurs</span><span class="markup">="</span><span class="attributeValue">unbounded</span><span class="markup">"</span> <span class="attributeName">minOccurs</span><span class="markup">="</span><span class="attributeValue">0</span><span class="markup">"</span> <span class="attributeName">namespace</span><span class="markup">="</span><span class="attributeValue">##targetNamespace</span><span class="markup">"</span> <span class="attributeName">processContents</span><span class="markup">="</span><span class="attributeValue">strict</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">/&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">sequence</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">complexType</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">element</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xs</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">schema</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="exemples-types-document" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#non-normative-reference" xlink:role="http://www.isi.edu/in-notes/iana/assignments/media-types/text/xml" xlink:title="Exemples utilisant les types - document" xlink:href="exemples-siret-types.xml"><div class="resource"> <h2>9.4.Exemples utilisant les types - document</h2> <p>Document XML regroupant les exemples utilisant les d茅finitions de types simples et complexes :</p> <div id="top"><p>[<a href="exemples-siret-types.xml">Document</a>]</p><p><b>搂38.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">exemples</span> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xmlns</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeName">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">="</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeValue">http://dyomedea.com/ns/example</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">"</span> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xmlns</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeName">xsi</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">="</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeValue">http://www.w3.org/2001/XMLSchema-instance</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">"</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"> <span class="attributeName">xsi:schemaLocation</span><span class="markup">="</span><span class="attributeValue">http://dyomedea.com/ns/example exemples-siret-types.xsd</span><span class="markup">"</span></span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIRENType_ex">搂3.Type SIRENType</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_NICType_ex">搂10.Type NICType</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIRETStructureType_ex">搂17.Type SIRETStructureType</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIRETType_ex">搂22.Type SIRETType</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">exemples</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> <rddl:resource id="exemples-elt-att-document" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#non-normative-reference" xlink:role="http://www.isi.edu/in-notes/iana/assignments/media-types/text/xml" xlink:title="Exemples utilisant les 茅l茅ments et attributs" xlink:href="exemples-siret-elt-att.xml"><div class="resource"> <h2>9.5.Exemples utilisant les 茅l茅ments et attributs</h2> <p>Document XML regroupant les exemples utilisant les 茅l茅ments et attributs : </p> <div id="top"><p>[<a href="exemples-siret-elt-att.xml">Document</a>]</p><p><b>搂39.</b></p><p><pre> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">exemples</span> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xmlns</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeName">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">="</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeValue">http://dyomedea.com/ns/example</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">"</span> <span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">xmlns</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeName">ie</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">="</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributeValue">http://xml.insee.fr/schema</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">"</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="attributes"/><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIREN_elt_ex">搂5.脡l茅ment SIREN</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_siren_att_ex">搂7.Attribut siren</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_NIC_elt_ex">搂12.脡l茅ment NIC</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_nic_att_ex">搂14.Attribut nic</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIRETStructure_elt_ex">搂19.脡l茅ment SIRETStructure</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_SIRET_elt_ex">搂24.脡l茅ment SIRET</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><a href="#frg_siret_att_ex">搂26.Attribut siret</a><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&lt;/</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="prefix">ex</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">:</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="elementName">exemples</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="markup">&gt;</span><span xmlns="http://www.w3.org/TR/xhtml-basic" class="text"> </span></pre></p></div> </div></rddl:resource> </div> <div id="references"> <h1>10.R茅f茅rences</h1> <p>Les documents et sites de r茅f茅rence suivants ont 茅t茅 utilis茅s pour la constitution de ce vocabulaire XML.</p> <rddl:resource id="ref-repertoire-sirene" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#normative-reference" xlink:role="http://www.isi.edu/in-notes/iana/assignments/media-types/text/html" xlink:title="R茅pertoire SIRENE" xlink:href="http://www.sirene.tm.fr/"><div class="resource"> <h2>10.1.R茅pertoire SIRENE</h2> <p>Le site du <a href="http://www.sirene.tm.fr/">R茅pertoire SIRENE</a> contient de nombreuses informations 脿 propos de l'identification des entreprises et des 茅tablissements fran莽ais. Se reporter notamment 脿 la page "<a href="http://www.sirene.tm.fr/pages/comprendre_concepts.asp?contenu=defnomenc">D茅finitions et nomenclatures</a>" dont sont extraites de nombreuses d茅finitions figurant dans cette documentation.</p> </div></rddl:resource> <rddl:resource id="ref-iso-1" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#non-normative-reference" xlink:role="http://www.iso.ch/" xlink:title="ISO 6523-1" xlink:href="http://www.iso.ch/cate/d25773.html"><div class="resource"> <h2>10.2.ISO 6523-1</h2> <p>La norme <a href="http://www.iso.ch/cate/d25773.html">ISO 6523-1</a> dont le titre est "Identification des syst猫mes d'identification d'organisations" sp茅cifie un m茅canisme "pour identifier d'une fa莽on globale et non ambigu毛 les organisations et leurs parties, pour les besoins d'茅change d'informations".</p> <p>Ne se substituant pas aux r茅pertoires d'organisations ou d'entreprises existants, elle d茅finit une m茅thode pour identifier les organisations 脿 partir d'identifiants internationaux de code (ICD) -dont le but est d'identifier le syst猫me d'identification utilis茅- et de leur identifiant dans ce syst猫me d'identification.</p> <p>Cette norme ne sp茅cifie pas la liste des identifiants internationaux de code (ICD) mais uniquement la structure des identifiants globaux.</p> </div></rddl:resource> <rddl:resource id="ref-iso-2" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#non-normative-reference" xlink:role="http://www.iso.ch/" xlink:title="ISO 6523-2" xlink:href="http://www.iso.ch/cate/d25774.html"><div class="resource"> <h2>10.3.ISO 6523-2</h2> <p>La norme <a href="http://www.iso.ch/cate/d25774.html">ISO 6523-2</a> dont le titre est "Enregistrement des identifiants internationaux de code (ICD) d茅crits dans la norme ISO 6523-1".</p> <p>Cette norme ne sp茅cifie pas la liste des identifiants internationaux de code (ICD) mais uniquement les proc茅dures mises en place pour leur gestion.</p> </div></rddl:resource> <rddl:resource id="icd-list" xlink:type="simple" xlink:arcrole="http://www.rddl.org/purposes#non-normative-reference" xlink:role="ttp://www.isi.edu/in-notes/iana/assignments/media-types/text/html" xlink:title="Liste des ICD" xlink:href="http://metadata-stds.org/Document-library/Draft-standards/6523-Identification-of-Organizations/ICD_list.htm"><div class="resource"> <h2>10.4.Liste des ICD</h2> <p>La British Standards Institution a la charge d'entretenir la <a href="http://metadata-stds.org/Document-library/Draft-standards/6523-Identification-of-Organizations/ICD_list.htm">liste des ICD</a> attribu茅s aux diff茅rents syst猫mes d'identification.</p> <p>L' ICD attribu茅 au r茅pertoire SIRENE dans cette liste est : <a href="http://metadata-stds.org/Document-library/Draft-standards/6523-Identification-of-Organizations/ICD_list.htm#ICD0002">0002</a>.</p> </div></rddl:resource> </div> <div id="ressources"> <h1>11.Ressources</h1> <p>Les ressources suivantes sont d茅finies ou r茅f茅renc茅es dans ce document :</p> <div id="ressources-alpha"> <h2>11.1.Liste alphab茅tique</h2> <div><dl><dt><a href="#NIC_atobs">Attribut NIC</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#SIREN_atobs">Attribut SIREN</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#SIRET_atobs">Attribut SIRET</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#nic_att">Attribut nic</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#siren_att">Attribut siren</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#siret_att">Attribut siret</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#copyright">Conditions d'utilisation</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : HTML<br/>[<a href="http://www.insee.fr/fr/copyright/copyright.htm">Lien externe</a>]</dd><dt><a href="#espace-de-noms">Espace de noms INSEE</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#target">espace de noms</a><br/>Nature : XHTML<br/>[<a href="http://xml.insee.fr/schema">Lien externe</a>]</dd><dt><a href="#exemples-types-document">Exemples utilisant les types - document</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#non-normative-reference">r茅f茅rence non normative</a><br/>Nature : XML</dd><dt><a href="#exemples-types-schema">Exemples utilisant les types - sch茅ma</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#non-normative-reference">r茅f茅rence non normative</a><br/>Nature : W3C XML Schema</dd><dt><a href="#exemples-elt-att-document">Exemples utilisant les 茅l茅ments et attributs</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#non-normative-reference">r茅f茅rence non normative</a><br/>Nature : XML</dd><dt><a href="#ref-iso-1">ISO 6523-1</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#non-normative-reference">r茅f茅rence non normative</a><br/>Nature : Norme ISO<br/>[<a href="http://www.iso.ch/cate/d25773.html">Lien externe</a>]</dd><dt><a href="#ref-iso-2">ISO 6523-2</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#non-normative-reference">r茅f茅rence non normative</a><br/>Nature : Norme ISO<br/>[<a href="http://www.iso.ch/cate/d25774.html">Lien externe</a>]</dd><dt><a href="#luhn-xslt-template">Impl茅mentation XSLT</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#non-normative-reference">r茅f茅rence non normative</a><br/>Nature : XHTML</dd><dt><a href="#icd-list">Liste des ICD</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#non-normative-reference">r茅f茅rence non normative</a><br/>Nature : <br/>[<a href="http://metadata-stds.org/Document-library/Draft-standards/6523-Identification-of-Organizations/ICD_list.htm">Lien externe</a>]</dd><dt><a href="#ref-repertoire-sirene">R茅pertoire SIRENE</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : HTML<br/>[<a href="http://www.sirene.tm.fr/">Lien externe</a>]</dd><dt><a href="#wxs_schema">Sch茅ma</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#schema-validation">validation par sch茅ma</a><br/>Nature : W3C XML Schema</dd><dt><a href="#xslt-luhn-complet">Transformation XSLT validant les 茅l茅ments ie:SIREN et ie:NIC et attributs ie:siren et ie:nic</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#schema-validation">validation par sch茅ma</a><br/>Nature : Transformation XSLT</dd><dt><a href="#NIC_stype">Type NICType</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#NIC_stypobs">Type NIC_stype</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#SIREN_stype">Type SIRENType</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#SIREN_stypobs">Type SIREN_stype</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#SIRETStructure_ctype">Type SIRETStructureType</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#SIRET_stype">Type SIRETType</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#SIRET_ctypobs">Type SIRET_ctype</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#SIRET_stypobs">Type SIRET_stype</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#NIC_elt">脡l茅ment NIC</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#SIREN_elt">脡l茅ment SIREN</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#SIRET_elt">脡l茅ment SIRET</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd><dt><a href="#SIRETStructure_elt">脡l茅ment SIRETStructure</a></dt><dd>Fonction : <a href="http://www.rddl.org/purposes#normative-reference">r茅f茅rence normative</a><br/>Nature : XHTML</dd></dl></div> </div> <div id="ressources-cat"> <h2>11.2.Par cat茅gories</h2> <div><h3>Ressources internes</h3><li>r茅f茅rence normative<ul><li>XHTML<ul><li><a href="#NIC_atobs">Attribut NIC</a></li><li><a href="#SIREN_atobs">Attribut SIREN</a></li><li><a href="#SIRET_atobs">Attribut SIRET</a></li><li><a href="#nic_att">Attribut nic</a></li><li><a href="#siren_att">Attribut siren</a></li><li><a href="#siret_att">Attribut siret</a></li><li><a href="#NIC_stype">Type NICType</a></li><li><a href="#NIC_stypobs">Type NIC_stype</a></li><li><a href="#SIREN_stype">Type SIRENType</a></li><li><a href="#SIREN_stypobs">Type SIREN_stype</a></li><li><a href="#SIRETStructure_ctype">Type SIRETStructureType</a></li><li><a href="#SIRET_stype">Type SIRETType</a></li><li><a href="#SIRET_ctypobs">Type SIRET_ctype</a></li><li><a href="#SIRET_stypobs">Type SIRET_stype</a></li><li><a href="#NIC_elt">脡l茅ment NIC</a></li><li><a href="#SIREN_elt">脡l茅ment SIREN</a></li><li><a href="#SIRET_elt">脡l茅ment SIRET</a></li><li><a href="#SIRETStructure_elt">脡l茅ment SIRETStructure</a></li></ul></li></ul></li><li>r茅f茅rence non normative<ul><li>XHTML<ul><li><a href="#luhn-xslt-template">Impl茅mentation XSLT</a></li></ul></li></ul></li></div><div><h3>Ressources externes</h3><li>espace de noms<ul><li>XHTML<ul><li><a href="#espace-de-noms">Espace de noms INSEE</a></li></ul></li></ul></li><li>r茅f茅rence normative<ul><li>HTML<ul><li><a href="#copyright">Conditions d'utilisation</a></li><li><a href="#ref-repertoire-sirene">R茅pertoire SIRENE</a></li></ul></li></ul></li><li>r茅f茅rence non normative<ul><li>Norme ISO<ul><li><a href="#ref-iso-1">ISO 6523-1</a></li><li><a href="#ref-iso-2">ISO 6523-2</a></li></ul></li><li>XML<ul><li><a href="#exemples-types-document">Exemples utilisant les types - document</a></li><li><a href="#exemples-elt-att-document">Exemples utilisant les 茅l茅ments et attributs</a></li></ul></li><li>W3C XML Schema<ul><li><a href="#exemples-types-schema">Exemples utilisant les types - sch茅ma</a></li></ul></li></ul></li><li>validation par sch茅ma<ul><li>W3C XML Schema<ul><li><a href="#wxs_schema">Sch茅ma</a></li></ul></li><li>Transformation XSLT<ul><li><a href="#xslt-luhn-complet">Transformation XSLT validant les 茅l茅ments ie:SIREN et ie:NIC et attributs ie:siren et ie:nic</a></li></ul></li></ul></li></div> </div> </div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10