[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re;: NSXMLParser on GS (was Re: Books / GNUStep / XML)
From: |
Dr. Nikolaus Schaller |
Subject: |
Re: Re;: NSXMLParser on GS (was Re: Books / GNUStep / XML) |
Date: |
19 Oct 2004 08:39:55 -0700 |
Helge Hess <helge.hess@opengroupware.org> wrote in message
news:<mailman.3989.1098183517.2017.discuss-gnustep@gnu.org>...
> ---snip---
> - (void)parser:(NSXMLParser *)parser didStartElement:(NSString
> *)elementName
> namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString
> *)qualifiedName
> attributes:(NSDictionary *)attributeDict
> ---snap---
> As you can see attributes are passed in as a NSDictionary. I assume
> (and this is how it is implemented in Cocoa) that the key of the dict
>
> is the attribute name and the value the attribute value.
Yes, <TAG ATTRIB="value" OTHER="othervalue"> results in
elementName = TAG
attributeDict = { ATTRIB=value; OTHER=othervalue }
Nikolaus
Message not available