mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
* 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:
parent
7e6f7b8723
commit
8795c0cf95
3 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -164,6 +164,7 @@ typedef xmlNsType GSXMLNamespaceType;
|
|||
- (id) initFrom: (void*)data;
|
||||
|
||||
- (NSString*) name;
|
||||
- (GSXMLNamespace*) ns;
|
||||
- (GSXMLAttribute*) next;
|
||||
- (GSXMLAttribute*) prev;
|
||||
- (GSXMLAttributeType) type;
|
||||
|
|
|
@ -834,6 +834,12 @@ static NSMapTable *nodeNames = 0;
|
|||
}
|
||||
|
||||
|
||||
- (GSXMLNamespace*) ns
|
||||
{
|
||||
return [GSXMLNamespace namespaceFrom: ((xmlAttrPtr)(lib))->ns];
|
||||
}
|
||||
|
||||
|
||||
- (NSString*) value
|
||||
{
|
||||
if (((xmlNodePtr)lib)->children != NULL
|
||||
|
|
Loading…
Reference in a new issue