| 159 * @param len Address for the size of the string. |
159 * @param len Address for the size of the string. |
| 160 * |
160 * |
| 161 * @return The node repersented as a string. You must |
161 * @return The node repersented as a string. You must |
| 162 * g_free this string when finished using it. |
162 * g_free this string when finished using it. |
| 163 */ |
163 */ |
| 164 gchar *xmlnode_to_str(xmlnode *node, int *len); |
164 char *xmlnode_to_str(xmlnode *node, int *len); |
| 165 |
165 |
| 166 /** |
166 /** |
| 167 * Returns the node in a string of human readable xml. |
167 * Returns the node in a string of human readable xml. |
| 168 * |
168 * |
| 169 * @param node The starting node to output. |
169 * @param node The starting node to output. |
| 171 * |
171 * |
| 172 * @return The node as human readable string including |
172 * @return The node as human readable string including |
| 173 * tab and new line characters. You must |
173 * tab and new line characters. You must |
| 174 * g_free this string when finished using it. |
174 * g_free this string when finished using it. |
| 175 */ |
175 */ |
| 176 gchar *xmlnode_to_formatted_str(xmlnode *node, int *len); |
176 char *xmlnode_to_formatted_str(xmlnode *node, int *len); |
| 177 |
177 |
| 178 /** |
178 /** |
| 179 * Creates a node from a string of XML. Calling this on the |
179 * Creates a node from a string of XML. Calling this on the |
| 180 * root node of an XML document will parse the entire document |
180 * root node of an XML document will parse the entire document |
| 181 * into a tree of nodes, and return the xmlnode of the root. |
181 * into a tree of nodes, and return the xmlnode of the root. |