mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
* Source/NSXMLNode.m: Further clean up.
* Source/NSXMLDTDNode.m (-initWithXMLString:): Move comment about missing code to here. * Source/NSXMLElement.m (-initWithName:stringValue:): Move subnode creation to here. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34806 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5f2856a462
commit
30c7457ba0
4 changed files with 496 additions and 488 deletions
|
@ -110,7 +110,11 @@ extern void clearPrivatePointers(xmlNodePtr aNode);
|
|||
{
|
||||
if ([self initWithName: name URI: nil] != nil)
|
||||
{
|
||||
[self setObjectValue: string];
|
||||
NSXMLNode *t;
|
||||
t = [[NSXMLNode alloc] initWithKind: NSXMLTextKind];
|
||||
[t setStringValue: string];
|
||||
[self addChild: t];
|
||||
[t release];
|
||||
}
|
||||
return nil;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue