mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
cleaned up some more things
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34509 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e9907e6d40
commit
5667bb4af7
2 changed files with 6 additions and 1 deletions
|
@ -219,8 +219,12 @@ GS_PRIVATE_INTERNAL(NSXMLDocument)
|
|||
[children release];
|
||||
internal->rootElement = (NSXMLElement*)root;
|
||||
*/
|
||||
xmlElementPtr newrootnode;
|
||||
NSAssert(root != nil, NSInvalidArgumentException);
|
||||
// Set
|
||||
xmlDocSetRootElement(MY_DOC,[root _node]);
|
||||
newrootnode = MY_DOC->children;
|
||||
newrootnode->_private = root; // hmmm, this probably isn't where this belongs, but try it...
|
||||
}
|
||||
|
||||
- (void) setStandalone: (BOOL)standalone
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue