[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[xml] print a xmlHashTable
- From: David <lordkain tlen pl>
- To: xml @ gnome. org <xml gnome org>
- Subject: [xml] print a xmlHashTable
- Date: Fri, 27 Apr 2007 15:13:07 +0200
Hello,
I want to use the great xmlHashTable from the libxml2 library but i cant seem to print out its elements. Who knows how to deal with this problem?
Code example
------------------
xmlHashTablePtr hashtable;
int i = 0;
hashtable = xmlHashCreate(1);
xmlHashAddEntry(hashtable, "keyno1", i++);
xmlHashAddEntry(hashtable, "keyno2", i++);
-------------------
questions:
- what does the the first parameter of xmlHashCreate do?
- how do i print out all key/value pairs of the hashtable? (whitout knowlede of the key name in the hashtable)
Cheerz, David
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]