| 1906 | |
| 1907 | |
| 1908 | void XMLElement::DeleteAttribute( const char* name ) |
| 1909 | { |
| 1910 | XMLAttribute* prev = 0; |
| 1911 | for( XMLAttribute* a=_rootAttribute; a; a=a->_next ) { |
| 1912 | if ( XMLUtil::StringEqual( name, a->Name() ) ) { |
| 1913 | if ( prev ) { |
| 1914 | prev->_next = a->_next; |
| 1915 | } |
| 1916 | else { |
| 1917 | _rootAttribute = a->_next; |
| 1918 | } |
| 1919 | DeleteAttribute( a ); |
| 1920 | break; |
| 1921 | } |
| 1922 | prev = a; |
| 1923 | } |
| 1924 | } |
| 1925 | |
| 1926 | |
| 1927 | char* XMLElement::ParseAttributes( char* p, int* curLineNumPtr ) |
nothing calls this directly
no test coverage detected