| 1784 | |
| 1785 | |
| 1786 | void XMLElement::DeleteAttribute( const char* name ) |
| 1787 | { |
| 1788 | XMLAttribute* prev = 0; |
| 1789 | for( XMLAttribute* a=_rootAttribute; a; a=a->_next ) { |
| 1790 | if ( XMLUtil::StringEqual( name, a->Name() ) ) { |
| 1791 | if ( prev ) { |
| 1792 | prev->_next = a->_next; |
| 1793 | } |
| 1794 | else { |
| 1795 | _rootAttribute = a->_next; |
| 1796 | } |
| 1797 | DeleteAttribute( a ); |
| 1798 | break; |
| 1799 | } |
| 1800 | prev = a; |
| 1801 | } |
| 1802 | } |
| 1803 | |
| 1804 | |
| 1805 | char* XMLElement::ParseAttributes( char* p, int* curLineNumPtr ) |
nothing calls this directly
no test coverage detected