[xml] Shell and write command
- From: el barto <elbart0 free fr>
- To: xml gnome org
- Subject: [xml] Shell and write command
- Date: Wed, 10 Mar 2010 21:10:01 +0100
Hello,
May be I am wrong but the 'write' command of the shell seems not to work
because the 'node' parameter is always NULL:
int
xmlShellWrite(xmlShellCtxtPtr ctxt, char *filename, xmlNodePtr node,
xmlNodePtr node2 ATTRIBUTE_UNUSED)
{
if (node == NULL)
return (-1);
// ...
if ((arg == NULL) || (arg[0] == 0))
xmlGenericError(xmlGenericErrorContext,
"Write command requires a filename argument\n");
else
xmlShellWrite(ctxt, arg, NULL, NULL);
May be 'ctx->node' should be used.
Many thanks for this great tool.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]