XML - Que no halla repeticiones en un archivo xml

   
Vista:

Que no halla repeticiones en un archivo xml

Publicado por Alfredo alfredo_lucas_andres@live.com (2 intervenciones) el 19/02/2014 17:42:54
hola gente ..alguien me podria ayudar con esto .... ??? Esto es un mapa de un software ,lo que hace esto es tomar datos de un archivo .edi o .txt .es mas extenso el archivo pero voy justo al problema .... yo quiero que no se repita la informacion que caiga en este xml ... que no halla repeticiones .que los' loc' se visualicen una sola ves...

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<Segment ID="LOC" XID="LOC-8" Type="3227==''||3227=='8'" Name="Place/location identification" Req="O" MaxUse="1">
        <Element ID="3227" Name="PLACE/LOCATION QUALIFIER" Req="M" MaxUse="1" Type="AN" MinLength="1" MaxLength="3"/>
        <CompositeElement ID="C517" Name="Location identification" Req="O" MaxUse="1">
            <ComponentElement ID="3225" Name="Place/Location identification" Req="O" MaxUse="1" Type="AN" MinLength="1" MaxLength="25"/>
            <ComponentElement ID="1131" Name="place/location code list qualifier" Req="O" MaxUse="1" Type="AN" MinLength="1" MaxLength="17"/>
            <ComponentElement ID="3055" Name="Code list responsible agency" Req="O" MaxUse="1" Type="AN" MinLength="1" MaxLength="3"/>
        </CompositeElement>
        <CompositeElement ID="C519" Name="Location one identification" Req="O" MaxUse="1">
            <ComponentElement ID="3233" Name="Related one Place/Location identification" Req="O" MaxUse="1" Type="AN" MinLength="1"
                                MaxLength="25"/>
            <ComponentElement ID="1131" Name="place/location code list qualifier" Req="O" MaxUse="4" Type="AN" MinLength="1" MaxLength="17"/>
            <ComponentElement ID="3055" Name="Code list responsible agency" Req="O" MaxUse="1" Type="AN" MinLength="1" MaxLength="3"/>
        </CompositeElement>
        <CompositeElement ID="C553" Name="Location two identification" Req="O" MaxUse="1">
            <ComponentElement ID="3233" Name="Related one Place/Location identification" Req="O" MaxUse="1" Type="AN" MinLength="1"
                                MaxLength="25"/>
            <ComponentElement ID="1131" Name="place/location code list qualifier" Req="O" MaxUse="4" Type="AN" MinLength="1" MaxLength="17"/>
        </CompositeElement>
    </Segment>
 
    <Segment ID="LOC" Name="Place/location identification" Req="O" MaxUse="1">
    <Element ID="3227" Name="PLACE/LOCATION QUALIFIER" Req="M" MaxUse="1" Type="AN" MinLength="1" MaxLength="3"/>
    <CompositeElement ID="C517" Name="Location identification" Req="O" MaxUse="1">
        <ComponentElement ID="3225" Name="Place/Location identification" Req="O" MaxUse="1" Type="AN" MinLength="1" MaxLength="25"/>
                    <ComponentElement ID="1131" Name="place/location code list qualifier" Req="O" MaxUse="1" Type="AN" MinLength="1" MaxLength="17"/>
                    <ComponentElement ID="3055" Name="Code list responsible agency" Req="O" MaxUse="1" Type="AN" MinLength="1" MaxLength="3"/>
    </CompositeElement>
    <CompositeElement ID="C519" Name="Location one identification" Req="O" MaxUse="1">
        <ComponentElement ID="3233" Name="Related one Place/Location identification" Req="O" MaxUse="1" Type="AN" MinLength="1" MaxLength="25"/>
        <ComponentElement ID="1131" Name="place/location code list qualifier" Req="O" MaxUse="4" Type="AN" MinLength="1" MaxLength="17"/>
                        <ComponentElement ID="3055" Name="Code list responsible agency" Req="O" MaxUse="1" Type="AN" MinLength="1" MaxLength="3"/>
    </CompositeElement>
            <CompositeElement ID="C553" Name="Location two identification" Req="O" MaxUse="1">
        <ComponentElement ID="3233" Name="Related one Place/Location identification" Req="O" MaxUse="1" Type="AN" MinLength="1" MaxLength="25"/>
        <ComponentElement ID="1131" Name="place/location code list qualifier" Req="O" MaxUse="4" Type="AN" MinLength="1" MaxLength="17"/>
            </CompositeElement>
    </Segment>
</Loop>


desde ya muchas gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder