Bonjour,
Je dispose d'un fichier xml et les lignes on été mises à l'envers
exemple :
Et j'aimerai que ça donneCode:
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 <Personne> <Nom>Machin</Nom> <identité> <Prenom>Bidule</Prenom> </identité> </Personne> <Personne> <Nom>toto</Nom> <identité> <Prenom>bobo</Prenom> </identité> </Personne> <Personne> <Nom>marie</Nom> <identité> <Prenom>paul</Prenom> </identité> </Personne> <Personne> <nom>Robert</nom> <identité> <Prenom>Jacques</Prenom> </identité> </Personne>
Si quelqu'un pouvait m'aider merci d'avance.Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 <Personne> <nom>Robert</nom> <identité> <Prenom>Jacques</Prenom> </identité> </Personne> <Personne> <Nom>marie</Nom> <identité> <Prenom>paul</Prenom> </identité> </Personne> <Personne> <Nom>toto</Nom> <identité> <Prenom>bobo</Prenom> </identité> </Personne> <Personne> <Nom>Machin</Nom> <identité> <Prenom>Bidule</Prenom> </identité> </Personne>