Re: [xml] how to get xml as a text?
- From: John Fleck <jfleck inkstain net>
- To: Hubert Sokołowski <who_ami siedziba pl>
- Cc: xml gnome org
- Subject: Re: [xml] how to get xml as a text?
- Date: 10 May 2003 07:46:45 -0600
On Sat, 2003-05-10 at 06:57, Hubert Sokołowski wrote:
thanks, it works. but I have one more question, I have xml
<send>
<s v="2"/>
</send>
and xmlNodePtr cur pointed to "<send>". to get to <s> tag I have to do
cur = cur->xmlChildrenNode;
/*here cur->name is set to "text"*/
cur = cur->next; /*cur is now pointed to <s*/
I don't understand why I have to do cur=cur->next;
The white space after "<send>" is a text node.
Cheers,
John
--
John Fleck
jfleck inkstain net (h) jfleck abqjournal com (w)
http://www.inkstain.net http://www.abqjournal.com
http://www.gnome.org/learn/users-guide/latest/
"Not only isn't reality real - it's an illusion created by unreal people to
sell real people unnecesary cars." - Griffy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]