[xml] clarification about "empty" text nodes
- From: <oliverst online de>
- To: <xml gnome org>
- Subject: [xml] clarification about "empty" text nodes
- Date: Wed, 11 Feb 2004 12:10:02 +0100
I got a function, which gets a node and reads the content of it. The
problem is, that in some cases it might be a node, that has no text. In
that case I get the whole tree as formated text, because libxml2 stores
such formatting chars in the "empty" text nodes. And because that
content of the text nodes isn't empty I can just verify an empty text
node, when I check the first char of "content" for 0x0a. Is that right?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]