version 1.1.2.8, 2010/09/29 15:32:33
|
version 1.1.2.9, 2010/09/29 16:38:08
|
Line 71 ShowItem(axlNode *node, int lvl)
|
Line 71 ShowItem(axlNode *node, int lvl)
|
|
|
for (i = 0; i < axl_node_get_child_num(node); i++) { |
for (i = 0; i < axl_node_get_child_num(node); i++) { |
child = axl_node_get_child_nth(node, i); |
child = axl_node_get_child_nth(node, i); |
|
|
if (!lvl) |
if (!lvl) |
printf("%s %s %s", axl_node_get_name(node), axl_node_get_name(child), | printf("%s %s \"%s\"", axl_node_get_name(node), axl_node_get_name(child), |
axl_node_get_content(child, &ctxlen)); |
axl_node_get_content(child, &ctxlen)); |
else |
else |
printf(" %s %s", axl_node_get_name(child), axl_node_get_content(child, &ctxlen)); | printf(" %s \"%s\"", axl_node_get_name(child), axl_node_get_content(child, &ctxlen)); |
|
|
ShowItem(child, 1); |
ShowItem(child, 1); |
|
|