| 1864 | |
| 1865 | |
| 1866 | void XMLElement::DeleteAttribute( const char* name ) |
| 1867 | { |
| 1868 | XMLAttribute* prev = 0; |
| 1869 | for( XMLAttribute* a=_rootAttribute; a; a=a->_next ) { |
| 1870 | if ( XMLUtil::StringEqual( name, a->Name() ) ) { |
| 1871 | if ( prev ) { |
| 1872 | prev->_next = a->_next; |
| 1873 | } |
| 1874 | else { |
| 1875 | _rootAttribute = a->_next; |
| 1876 | } |
| 1877 | DeleteAttribute( a ); |
| 1878 | break; |
| 1879 | } |
| 1880 | prev = a; |
| 1881 | } |
| 1882 | } |
| 1883 | |
| 1884 | |
| 1885 | char* XMLElement::ParseAttributes( char* p, int* curLineNumPtr ) |
nothing calls this directly
no test coverage detected