let $m:=<m>10</m> and let$:= 10

Hello,


//good request
for $categ in input()/rdb:CategExa/rdb:CodeCategExa
let $mois := 50
let $ecount := count(input()/rdb:ExaRealise
[./rdb:Stats/rdb:Age/rdb:AgeMois<=$mois]
)
return

{$categ}
{$ecount}



//bad request
for $categ in input()/rdb:CategExa/rdb:CodeCategExa
let $mois := 50
let $ecount := count(input()/rdb:ExaRealise
[./rdb:Stats/rdb:Age/rdb:AgeMois<=$mois]
)
return

{$categ}
{$ecount}



I don’t understand why the bad request is so bad.
I have try : AgeMois<=$mois/text()
or let $mois := {xs:Integer(50)}
with no more success.

I precise that AgeMois has an Integer Type with an index.
My purpose is to make, at the end, a think like that :

for $m in(01,
35)

and to use the $m variable in my criteria.

Thanks for your help.

Eric

Hi,

Both queries seem to be valid. So, could you please provide some more details like the Tamino version and the return code you get when executing the ?bad? request? Also schema and data would be helpful.

Best regards,

Thorsten Fiebig

Tamino version 4.1.4

Here, the schema :

<?xml version = "1.0" encoding = "UTF-8"?>
<xs:schema targetNamespace = “http://rdb” xmlns:rdb = “http://rdb” xmlns:tsd = “http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition” xmlns:xs = “XML Schema”>
xs:annotation
xs:appinfo
<tsd:schemaInfo name = “ExaRealise”>
<tsd:collection name = “dossiers”></tsd:collection>
<tsd:doctype name = “rdb:ExaRealise”>
tsd:logical
tsd:contentclosed</tsd:content>
</tsd:logical>
</tsd:doctype>
tsd:adminInfo
tsd:server4.1.4.1</tsd:server>
tsd:modified2004-05-25T15:57:37.145+01:00</tsd:modified>
tsd:created2004-05-25T15:57:37.145+01:00</tsd:created>
tsd:versionTSD4</tsd:version>
</tsd:adminInfo>
</tsd:schemaInfo>
</xs:appinfo>
</xs:annotation>
<xs:element name = “ExaRealise”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:ContexteExa”></xs:element>
<xs:element ref = “rdb:IndicExaPatho”></xs:element>
<xs:element ref = “rdb:Stats”></xs:element>
<xs:element ref = “rdb:ContexteCR” minOccurs = “0”></xs:element>
<xs:element ref = “rdb:CommentairesRadio” minOccurs = “0”></xs:element>
<xs:element ref = “rdb:MotsCles” minOccurs = “0”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “ContexteExa”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:ContexteDemande”></xs:element>
<xs:element ref = “rdb:ContexteRealisation”></xs:element>
<xs:element ref = “rdb:PresenceCR”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “ContexteCR”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:TypeCR”></xs:element>
<xs:element ref = “rdb:Complet”></xs:element>
<xs:element ref = “rdb:Valide”></xs:element>
<xs:element ref = “rdb:Modifie”></xs:element>
<xs:element ref = “rdb:PiecesJointes” minOccurs = “0”></xs:element>
<xs:element ref = “rdb:Resume” minOccurs = “0”></xs:element>
<xs:element ref = “rdb:InformationsCRP” minOccurs = “0”></xs:element>
<xs:element ref = “rdb:InformationsCRD” minOccurs = “0”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “CommentairesRadio”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:Personne”></xs:element>
<xs:element ref = “rdb:DMaj”></xs:element>
<xs:element ref = “rdb:Commentaire”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “MotsCles”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:Personne”></xs:element>
<xs:element ref = “rdb:DMaj”></xs:element>
<xs:element ref = “rdb:CodesMotsCles”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “ContexteDemande”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:CodeExaDemande”></xs:element>
<xs:element ref = “rdb:CodeCategExaDemande”></xs:element>
<xs:element ref = “rdb:InfoPatient”></xs:element>
<xs:element ref = “rdb:Demandeur”></xs:element>
<xs:element ref = “rdb:NRequisition”></xs:element>
<xs:element ref = “rdb:ContexteClinique”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “ContexteRealisation”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:CodeExaRealise”></xs:element>
<xs:element ref = “rdb:CodeCategExaRealise”></xs:element>
<xs:element ref = “rdb:CodePosteTravail”></xs:element>
<xs:element ref = “rdb:LibExecutant”></xs:element>
<xs:element ref = “rdb:DRealisation”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “CodesMotsCles”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:CodeMotCle” minOccurs = “0” maxOccurs = “unbounded”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “InfoPatient”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:NIP”></xs:element>
<xs:element ref = “rdb:NDA”></xs:element>
<xs:element ref = “rdb:CodeTypeVenuePatient”></xs:element>
<xs:element ref = “rdb:NIPCreation”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “Demandeur”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:CodeServiceDemandeur” minOccurs = “0”></xs:element>
<xs:element ref = “rdb:LibMedecinDemandeur”></xs:element>
<xs:element ref = “rdb:TelDemandeur” minOccurs = “0”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “InformationsCRP”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:InterpreteurCRP”></xs:element>
<xs:element ref = “rdb:Dernier”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “InformationsCRD”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:InterpreteurSaisieCRD” minOccurs = “0”></xs:element>
<xs:element ref = “rdb:Dernier”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “InterpreteurCRP”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:Personne”></xs:element>
<xs:element ref = “rdb:DMaj”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “InterpreteurSaisieCRD”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:InterpreteurCRD” minOccurs = “0”></xs:element>
<xs:element ref = “rdb:SaisieCRD”></xs:element>
<xs:element ref = “rdb:DMaj”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “InterpreteurCRD”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:Personne”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “SaisieCRD”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:Personne”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “Dernier”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:Personne”></xs:element>
<xs:element ref = “rdb:DMaj”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “Personne”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:CodePersonne”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “PiecesJointes”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:PJ” minOccurs = “0” maxOccurs = “unbounded”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “PJ”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:TypePJ”></xs:element>
<xs:element ref = “rdb:UrlPJ”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “Stats”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:Age”></xs:element>
<xs:element ref = “rdb:CodeDep1”></xs:element>
<xs:element ref = “rdb:CodeDep2”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “Age”>
xs:complexType
xs:sequence
<xs:element ref = “rdb:AgeJour”></xs:element>
<xs:element ref = “rdb:AgeMois”></xs:element>
<xs:element ref = “rdb:AgeAnnee”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name = “PresenceCR” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “TypeCR” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “Complet” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “Valide” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “Modifie” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “IndicExaPatho” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “UrlCR” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “Resume” type = “xs:string”></xs:element>
<xs:element name = “NRequisition” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “ContexteClinique” type = “xs:string”></xs:element>
<xs:element name = “CodeExaRealise” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “CodePosteTravail” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “LibExecutant” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “DRealisation” type = “xs:dateTime”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “NIP”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
xs:simpleType
<xs:restriction base = “xs:string”>
<xs:maxLength value = “12”></xs:maxLength>
<xs:minLength value = “8”></xs:minLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name = “NDA”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
xs:simpleType
<xs:restriction base = “xs:string”>
<xs:maxLength value = “12”></xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name = “CodeTypeVenuePatient” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “NIPCreation”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
xs:simpleType
<xs:restriction base = “xs:string”>
<xs:minLength value = “8”></xs:minLength>
<xs:maxLength value = “12”></xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name = “CodeServiceDemandeur” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “LibMedecinDemandeur” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “TelDemandeur” type = “xs:string”></xs:element>
<xs:element name = “Commentaire” type = “xs:string”></xs:element>
<xs:element name = “DMaj” type = “xs:dateTime”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “CodePersonne” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “CodeMotCle” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “CodeExaDemande” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “TypePJ” type = “xs:string”></xs:element>
<xs:element name = “UrlPJ” type = “xs:string”></xs:element>
<xs:element name = “CodeCategExaDemande” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “CodeCategExaRealise” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “AgeJour” type = “xs:int”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “AgeMois” type = “xs:int”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “AgeAnnee” type = “xs:int”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name = “CodeDep1”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
xs:simpleType
<xs:restriction base = “xs:string”>
<xs:maxLength value = “2”></xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name = “CodeDep2”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:standard</tsd:standard>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
xs:simpleType
<xs:restriction base = “xs:string”>
<xs:maxLength value = “3”></xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:schema>


I’ve got about 5000 records in one of my databases, and 100 000 in another.
I give you 2 records for the example.




R461507
AS9

000890600907
199400005070
HR
000890600907


VIS
DREESEN, LUC

0027291
DAG ALLEMAAL


R461507
AS9
11
RADIO, TEST ACCUEIL
1994-12-23T15:55:00

N




2046
67
6








<pre1:ExaRealise ino:id=“157” xmlns:pre1=“http://rdb”>
<pre1:ContexteExa xmlns:pre1=“http://rdb”>
<pre1:ContexteDemande xmlns:pre1=“http://rdb”>
<pre1:CodeExaDemande xmlns:pre1=“http://rdb” />
<pre1:CodeCategExaDemande xmlns:pre1=“http://rdb” />
<pre1:InfoPatient xmlns:pre1=“http://rdb”>
<pre1:NIP xmlns:pre1=“http://rdb”>000940021919</pre1:NIP>
<pre1:NDA xmlns:pre1=“http://rdb”>199501006975</pre1:NDA>
<pre1:CodeTypeVenuePatient xmlns:pre1=“http://rdb”>HH</pre1:CodeTypeVenuePatient>
<pre1:NIPCreation xmlns:pre1=“http://rdb”>000940021919</pre1:NIPCreation>
</pre1:InfoPatient>
<pre1:Demandeur xmlns:pre1=“http://rdb”>
<pre1:CodeServiceDemandeur xmlns:pre1=“http://rdb” />
<pre1:LibMedecinDemandeur xmlns:pre1=“http://rdb” />
</pre1:Demandeur>
<pre1:NRequisition xmlns:pre1=“http://rdb”>0029069</pre1:NRequisition>
<pre1:ContexteClinique xmlns:pre1=“http://rdb” />
</pre1:ContexteDemande>
<pre1:ContexteRealisation xmlns:pre1=“http://rdb”>
<pre1:CodeExaRealise xmlns:pre1=“http://rdb”>R419801E</pre1:CodeExaRealise>
<pre1:CodeCategExaRealise xmlns:pre1=“http://rdb”>ES6</pre1:CodeCategExaRealise>
<pre1:CodePosteTravail xmlns:pre1=“http://rdb”>02</pre1:CodePosteTravail>
<pre1:LibExecutant xmlns:pre1=“http://rdb”>ROBELED, CORINNE FORM</pre1:LibExecutant>
<pre1:DRealisation xmlns:pre1=“http://rdb”>1995-03-20T10:57:00</pre1:DRealisation>
</pre1:ContexteRealisation>
<pre1:PresenceCR xmlns:pre1=“http://rdb”>O</pre1:PresenceCR>
</pre1:ContexteExa>
<pre1:IndicExaPatho xmlns:pre1=“http://rdb”>N</pre1:IndicExaPatho>
<pre1:Stats xmlns:pre1=“http://rdb”>
<pre1:Age xmlns:pre1=“http://rdb”>
<pre1:AgeJour xmlns:pre1=“http://rdb”>3905</pre1:AgeJour>
<pre1:AgeMois xmlns:pre1=“http://rdb”>128</pre1:AgeMois>
<pre1:AgeAnnee xmlns:pre1=“http://rdb”>11</pre1:AgeAnnee>
</pre1:Age>
<pre1:CodeDep1 xmlns:pre1=“http://rdb” />
<pre1:CodeDep2 xmlns:pre1=“http://rdb” />
</pre1:Stats>
<pre1:ContexteCR xmlns:pre1=“http://rdb”>
<pre1:TypeCR xmlns:pre1=“http://rdb”>D</pre1:TypeCR>
<pre1:Complet xmlns:pre1=“http://rdb”>N</pre1:Complet>
<pre1:Valide xmlns:pre1=“http://rdb”>N</pre1:Valide>
<pre1:Modifie xmlns:pre1=“http://rdb”>N</pre1:Modifie>
<pre1:Resume xmlns:pre1=“http://rdb”>Aucune pathologie d

Hi,

Thanks for schema and data. According to your schema you are using a pretty old Tamino version. In order to solve your problem you should move to Tamino 4.2.

Best regards,

Thorsten