L'élément '' a un élément enfant non valide
Bonjour,
Je ne comprend vraiment pas le problème. Merci de m'éclairer.
Je travaille sous Visual Studio et j'ai un fichier XML composé ainsi:
Code:
1 2 3 4 5 6 7 8 9
| <?xml version="1.0" encoding="utf-16"?>
<ArrayOfWF_Produit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<WF_Produit>
<CategorieCommercialeAchat xmlns="http://www.sage.com/fr/line1000/webservicesfacturation">APRIN</CategorieCommercialeAchat>
<CategorieCommercialeVente xmlns="http://www.sage.com/fr/line1000/webservicesfacturation">VPRIN</CategorieCommercialeVente>
...
</WF_Produit>
<WF_Produit>
... |
Le soucis est qu'il me met une erreur au niveau de "CategorieCommercialeAchat", me disant
Citation:
L'élement WF_PRODUIT a un élement enfant non valide "CategorieCommercialeAchat"[...].
Liste d'éléments possibles :
CategorieCommercialeAchat
CategorieCommercialeVente
C'est pourtant ce que j'ai mis nn?
Pourquoi ne le comprend-t-il pas?
Merci pour votre aide :)