|
@@ -1491,7 +1491,9 @@ private:
|
|
|
XMLElement( const XMLElement& ); // not supported
|
|
XMLElement( const XMLElement& ); // not supported
|
|
|
void operator=( const XMLElement& ); // not supported
|
|
void operator=( const XMLElement& ); // not supported
|
|
|
|
|
|
|
|
- XMLAttribute* FindAttribute( const char* name );
|
|
|
|
|
|
|
+ XMLAttribute* FindAttribute( const char* name ) {
|
|
|
|
|
+ return const_cast<XMLAttribute*>(const_cast<const XMLElement*>(this)->FindAttribute( name ));
|
|
|
|
|
+ }
|
|
|
XMLAttribute* FindOrCreateAttribute( const char* name );
|
|
XMLAttribute* FindOrCreateAttribute( const char* name );
|
|
|
//void LinkAttribute( XMLAttribute* attrib );
|
|
//void LinkAttribute( XMLAttribute* attrib );
|
|
|
char* ParseAttributes( char* p );
|
|
char* ParseAttributes( char* p );
|