Suppression noeud XML
Résolu/Fermé
SPEUTA
Messages postés
55
Date d'inscription
lundi 16 mai 2011
Statut
Membre
Dernière intervention
16 avril 2014
-
4 nov. 2013 à 16:42
SPEUTA Messages postés 55 Date d'inscription lundi 16 mai 2011 Statut Membre Dernière intervention 16 avril 2014 - 4 nov. 2013 à 17:08
SPEUTA Messages postés 55 Date d'inscription lundi 16 mai 2011 Statut Membre Dernière intervention 16 avril 2014 - 4 nov. 2013 à 17:08
A voir également:
- Suppression noeud XML
- Forcer suppression fichier - Guide
- Xml viewer - Télécharger - Édition & Programmation
- Suppression page word - Guide
- Suppression compte instagram - Guide
- Office xml handler - Télécharger - Traitement de texte
1 réponse
SPEUTA
Messages postés
55
Date d'inscription
lundi 16 mai 2011
Statut
Membre
Dernière intervention
16 avril 2014
4
4 nov. 2013 à 17:08
4 nov. 2013 à 17:08
J'ai fini par trouver la solution.
Pour ceux qui auraient le même problème :
For Each objNode In objDoc.SelectNodes("//main")
If objNode.FirstChild Is Nothing Then
objNode.ParentNode.ParentNode.RemoveChild objNode.ParentNode
End If
Next
Pour ceux qui auraient le même problème :
For Each objNode In objDoc.SelectNodes("//main")
If objNode.FirstChild Is Nothing Then
objNode.ParentNode.ParentNode.RemoveChild objNode.ParentNode
End If
Next