Browse Subversion Repository
Contents of /trunk/0.2.X/KissXML/Additions/DDXMLElementAdditions.h
Parent Directory
| Revision Log
Revision 274 -
( show annotations)
( download)
( as text)
Fri May 6 10:07:02 2011 UTC
(13 years ago)
by poi-poi-capsule
File MIME type: text/x-chdr
File size: 612 byte(s)
kissxmlアップデート
| 1 |
#import <Foundation/Foundation.h> |
| 2 |
#import "DDXML.h" |
| 3 |
|
| 4 |
// These methods are not part of the standard NSXML API. |
| 5 |
// But any developer working extensively with XML will likely appreciate them. |
| 6 |
|
| 7 |
@interface DDXMLElement (DDAdditions) |
| 8 |
|
| 9 |
+ (DDXMLElement *)elementWithName:(NSString *)name xmlns:(NSString *)ns; |
| 10 |
|
| 11 |
- (DDXMLElement *)elementForName:(NSString *)name; |
| 12 |
- (DDXMLElement *)elementForName:(NSString *)name xmlns:(NSString *)xmlns; |
| 13 |
|
| 14 |
- (NSString *)xmlns; |
| 15 |
- (void)setXmlns:(NSString *)ns; |
| 16 |
|
| 17 |
- (void)addAttributeWithName:(NSString *)name stringValue:(NSString *)string; |
| 18 |
|
| 19 |
- (NSDictionary *)attributesAsDictionary; |
| 20 |
|
| 21 |
@end |
|