842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
|
if (comment != nil)
[element addChild:
[OFXMLElement elementWithName: @"comment"
namespace: OF_SERIALIZATION_NS
stringValue: comment]];
[element retain];
@try {
[pool release];
} @finally {
[element autorelease];
}
return element;
}
- (void)addAttribute: (OFXMLAttribute*)attribute
{
if (name == nil)
|
<
|
<
|
<
|
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
|
if (comment != nil)
[element addChild:
[OFXMLElement elementWithName: @"comment"
namespace: OF_SERIALIZATION_NS
stringValue: comment]];
[element retain];
[pool release];
[element autorelease];
return element;
}
- (void)addAttribute: (OFXMLAttribute*)attribute
{
if (name == nil)
|