Salut a tous
je suis debutant en asp.net et je voudrai afficher un fichier xml dans un gridview
Mais le probleme il ne m'affiche que le premier attibut "id" de produit seulement
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="produit.xsl" ?>
<produits xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="produit.xsd">
<produit id="OP001">
<marque>ACER</marque>
<type id="00001">
<typeproduit>Ordinateur Portable</typeproduit>
</type>
<specifications>
<specification>
<type>processeur</type>
<caracteristique>Intel Core 2 Duo</caracteristique>
</specification>
<specification>
<type>Disque dur</type>
<caracteristique>SATA 250 Go</caracteristique>
</specification>
<specification>
<type>Memoire</type>
<caracteristique>DDR 22*2Go</caracteristique>
</specification>
</specifications>
</produit>
<produit id="OP002">
<marque>HP</marque>
<type id="00001">
<typeproduit>Ordinateur Portable</typeproduit>
</type>
<specifications>
<specification>
<type>processeur</type>
<caracteristique>Intel Core Duo 1.9 GHTz</caracteristique>
</specification>
<specification>
<type>Disque dur</type>
<caracteristique>SATA 200 Go</caracteristique>
</specification>
<specification>
<type>Memoire</type>
<caracteristique>DDR 21*2Go</caracteristique>
</specification>
</specifications>
</produit>
</produits>
et moi j'aurait voulu qu'il m'affiche l'ensemble des elements .
Quelqu'un pourrait il m'aider please ...