diff --git a/ChangeLog b/ChangeLog index a1cb2406b..630696e08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * Source/NSProcessInfo.m: ([-globallyUniqueString]) Ensure that the string contains no dots, so it can be used as a filename under windoze. + * Source/Additions/GSXML.m ([GSXMLNode -setNamespace:]): Documented. 2002-08-07 Richard Frith-Macdonald diff --git a/Source/Additions/GSXML.m b/Source/Additions/GSXML.m index 506941f0f..8d0377d37 100644 --- a/Source/Additions/GSXML.m +++ b/Source/Additions/GSXML.m @@ -1296,6 +1296,12 @@ static NSMapTable *nodeNames = 0; return desc; } +/** + * Sets the namespace of the receiver to the value specified.
+ * Supplying a nil namespace removes any namespace previously set + * or any namespace that the node inherited from a parent when it + * was created. + */ - (void) setNamespace: (GSXMLNamespace *)space { xmlSetNs (lib, [space lib]);