| 1938 | |
| 1939 | |
| 1940 | void XMLElement::DeleteAttribute( const char* name ) |
| 1941 | { |
| 1942 | XMLAttribute* prev = 0; |
| 1943 | for( XMLAttribute* a=_rootAttribute; a; a=a->_next ) { |
| 1944 | if ( XMLUtil::StringEqual( name, a->Name() ) ) { |
| 1945 | if ( prev ) { |
| 1946 | prev->_next = a->_next; |
| 1947 | } |
| 1948 | else { |
| 1949 | _rootAttribute = a->_next; |
| 1950 | } |
| 1951 | DeleteAttribute( a ); |
| 1952 | break; |
| 1953 | } |
| 1954 | prev = a; |
| 1955 | } |
| 1956 | } |
| 1957 | |
| 1958 | |
| 1959 | char* XMLElement::ParseAttributes( char* p, int* curLineNumPtr ) |
nothing calls this directly
no test coverage detected