Added method to set the GSXMLNamespace of a GSMLXNode

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/freeze-1_4_0@14158 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-07-16 15:10:40 +00:00
parent f81df060ad
commit 74eba72195
3 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,9 @@
Tue Jul 16 16:43:59 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/base/GSXML.h ([GSXMLNode -setNamespace:]): Added
missing method essential to use namespaces.
* Source/Additions/GSXML.m ([GSXMLNode -setNamespace:]): Implemented.
2002-07-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Don't standardise path before converting to

View file

@ -137,6 +137,7 @@
- (void) setObject: (NSString*)value forKey:(NSString*)key;
- (int) type;
- (NSString*) typeDescription;
- (void) setNamespace: (GSXMLNamespace *)space;
@end

View file

@ -1296,6 +1296,11 @@ static NSMapTable *nodeNames = 0;
return desc;
}
- (void) setNamespace: (GSXMLNamespace *)space
{
xmlSetNs (lib, [space lib]);
}
@end
@implementation GSXMLNode (GSPrivate)