Bonjour, j'ai ajouté le fichier pour que vous puissiez suivre. 100926_2018.xml
J'aimerai pouvoir trier les différents utilisateurs par groupe auquel ils appartient.
J'aimerai avoir un peu d'aide car j'ai beau chercher, je ne vois pas. Merci d'avance
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Edited by XMLSpy® --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <body> <h1>FileZilla</h1> <xsl:for-each select="FileZillaServer/Settings"> <p>Adresse Ip : <xsl:value-of select="Item[@name='Custom PASV IP']"/></p> <p>N°Port : <xsl:value-of select="Item[@name='Serverports']"/></p> <p>N°Port passif Min : <xsl:value-of select="Item[@name='Custom PASV min port']"/></p> <p>N°Port passif Max : <xsl:value-of select="Item[@name='Custom PASV max port']"/></p> </xsl:for-each><br/> <xsl:for-each select="FileZillaServer/Groups/Group"> <h4>Groupe : <xsl:value-of select="@Name"/></h4> <xsl:for-each select="Permissions/Permission"> <li><xsl:value-of select="@Dir"/></li> <xsl:for-each select="Option"> <ul><li><xsl:value-of select="@Name"/> : </li> <xsl:value-of select="."/></ul> </xsl:for-each> </xsl:for-each> </xsl:for-each> </body> </html> </xsl:template> </xsl:stylesheet>
Partager