mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
undo change to children for documents
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34515 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3fd92857a4
commit
6983dd6e31
1 changed files with 0 additions and 6 deletions
|
@ -288,8 +288,6 @@ GS_PRIVATE_INTERNAL(NSXMLNode)
|
||||||
NSUInteger count = 0;
|
NSUInteger count = 0;
|
||||||
xmlNodePtr children = NULL;
|
xmlNodePtr children = NULL;
|
||||||
xmlNodePtr node = (xmlNodePtr)(internal->node);
|
xmlNodePtr node = (xmlNodePtr)(internal->node);
|
||||||
if (node->type == XML_DOCUMENT_NODE)
|
|
||||||
node = xmlDocGetRootElement((xmlDocPtr)node);
|
|
||||||
|
|
||||||
for (children = node->children; children && count != index; children = children->next)
|
for (children = node->children; children && count != index; children = children->next)
|
||||||
{
|
{
|
||||||
|
@ -304,8 +302,6 @@ GS_PRIVATE_INTERNAL(NSXMLNode)
|
||||||
NSUInteger count = 0;
|
NSUInteger count = 0;
|
||||||
xmlNodePtr children = NULL;
|
xmlNodePtr children = NULL;
|
||||||
xmlNodePtr node = MY_NODE;
|
xmlNodePtr node = MY_NODE;
|
||||||
if (node->type == XML_DOCUMENT_NODE)
|
|
||||||
node = xmlDocGetRootElement((xmlDocPtr)node);
|
|
||||||
|
|
||||||
for (children = node->children; children; children = children->next)
|
for (children = node->children; children; children = children->next)
|
||||||
{
|
{
|
||||||
|
@ -320,8 +316,6 @@ GS_PRIVATE_INTERNAL(NSXMLNode)
|
||||||
NSMutableArray *childrenArray = [NSMutableArray array];
|
NSMutableArray *childrenArray = [NSMutableArray array];
|
||||||
xmlNodePtr children = NULL;
|
xmlNodePtr children = NULL;
|
||||||
xmlNodePtr node = (xmlNodePtr)(internal->node);
|
xmlNodePtr node = (xmlNodePtr)(internal->node);
|
||||||
if (node->type == XML_DOCUMENT_NODE)
|
|
||||||
node = xmlDocGetRootElement((xmlDocPtr)node);
|
|
||||||
|
|
||||||
for (children = node->children; children; children = children->next)
|
for (children = node->children; children; children = children->next)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue