* Source/GSXML.m|.h ([GSXMLAttribute -ns]): get attribute namespace.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9193 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Mirko Viviani 2001-02-20 23:41:40 +00:00
parent 7e6f7b8723
commit 8795c0cf95
3 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2001-02-20 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* Source/GSXML.m|.h ([GSXMLAttribute -ns]): get attribute namespace.
2001-02-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSLocale.m: Tidy, defined __USE_GNU to get YESSTR and NOSTR

View file

@ -164,6 +164,7 @@ typedef xmlNsType GSXMLNamespaceType;
- (id) initFrom: (void*)data;
- (NSString*) name;
- (GSXMLNamespace*) ns;
- (GSXMLAttribute*) next;
- (GSXMLAttribute*) prev;
- (GSXMLAttributeType) type;

View file

@ -834,6 +834,12 @@ static NSMapTable *nodeNames = 0;
}
- (GSXMLNamespace*) ns
{
return [GSXMLNamespace namespaceFrom: ((xmlAttrPtr)(lib))->ns];
}
- (NSString*) value
{
if (((xmlNodePtr)lib)->children != NULL