[XSLT]Algo pour créer une arborescence
	
	
		Bonjour, 
J'aimerais convertir un fichier XMLavec du XSL pour obtenir un structuration spécifique.
Voici mon fichier XML d'origine
	Code:
	
| 12
 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
 
 |  
<record num="1">
  <Axe1>Projet</Axe1> 
  <Axe2>Appli</Axe2> 
  <Axe3>Dev</Axe3>
  <TitreFichier>Titre1</TitreFichier> 
  <Info>Info1</Info> 
</record>
<record num="2">
  <Axe1>Projet</Axe1> 
  <Axe2>Appli</Axe2> 
  <Axe3>Dev</Axe3>
  <TitreFichier>Titre2</TitreFichier> 
  <Info>Info2</Info> 
</record>
<record num="3">
  <Axe1>Projet</Axe1> 
  <Axe2>BD</Axe2> 
  <Axe3>Oracle</Axe3>
  <TitreFichier>Titre3</TitreFichier> 
  <Info>Info3</Info> 
</record>
<record num="4">
  <Axe1>Projet</Axe1> 
  <Axe2>BD</Axe2> 
  <Axe3>Mysql</Axe3>
  <TitreFichier>Titre4</TitreFichier> 
  <Info>Info4</Info> 
</record>
<record num="5">
  <Axe1>Asso</Axe1> 
  <Axe2>Demo</Axe2> 
  <Axe3>Essai</Axe3>
  <TitreFichier>Titre5</TitreFichier> 
  <Info>Info5</Info> 
</record> | 
 Je ne vois pas l'algo que je pourrais utiliser dans mon fichier XSL pour obtenir un fichier XML structurée de la façon suivante :
	Code:
	
| 12
 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
 
 |  
<Dossier titre='Projet'>
  <SDossier titre='Appli'>
    <Doc titre='Dev'>
      <File titre='Titre1'>
        <Info>Info1</Info> 
      </File>
      <File titre='Titre2'>
        <Info>Info2</Info> 
      </File>
    </Doc>
  </SDossier>
  <SDossier titre='BD'>
    <Doc titre='Oracle'>
      <File titre='Titre3'>
        <Info>Info3</Info> 
      </File>
    </Doc>
    <Doc titre='Mysql'>
      <File titre='Titre4'>
        <Info>Info4</Info> 
      </File>
    </Doc>
  </SDossier>
</Dossier>
<Dossier titre='Asso'>
  <SDossier titre='Demo'>
    <Doc titre='Essai'>
      <File titre='Titre5'>
        <Info>Info5</Info> 
      </File>
    </Doc>
  </SDossier>
</Dossier> | 
 Je sais que ce problème est essentiellement algo, mais je n'y arrive vraiment pas... je suis sûr que za va vous prendre 2mn...:cry: 
Help please !