[xml] find out wether a node is a leaf or contains other elements
- From: "klemens letulé" <klemens_letule gmx de>
- To: xml gnome org
- Subject: [xml] find out wether a node is a leaf or contains other elements
- Date: Tue, 7 Jun 2005 10:35:27 +0200 (MEST)
Hello,
I just started to use libxml and am already stuck. The question is more or
less in the subject. I want to restrict the deletion of nodes who have no
child elements.
e.g.
pseudoCode:
if( nodeset->nodeTab[0] == aLeaf){
LOG(DBG_ERROR, "DELETING FAILED FOR: %s -
CAN NOT DELETE PCDATA NODES\n\n", xpathUri);
Thanks in advance, Klemens
--
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]