Home | History | Annotate | Download | only in tinyxml

Lines Matching refs:Attribute

167 	// So set the "priority" attribute of the first item in the list.
342 XmlTest ( "Reads attribute 'attribute0=\"foo0\"'.", "foo0", element0.Attribute( "attribute0" ));
343 XmlTest ( "Reads incorrectly formatted 'attribute1=noquotes'.", "noquotes", element0.Attribute( "attribute1" ) );
344 XmlTest ( "Read attribute with entity value '>'.", ">", element0.Attribute( "attribute2" ) );
449 XmlTest( "Query attribute: int as double", result, TIXML_SUCCESS );
450 XmlTest( "Query attribute: int as double", (int)dVal, 1 );
452 XmlTest( "Query attribute: double as double", (int)dVal, 2 );
454 XmlTest( "Query attribute: double as int", result, TIXML_SUCCESS );
455 XmlTest( "Query attribute: double as int", iVal, 2 );
457 XmlTest( "Query attribute: not a number", result, TIXML_WRONG_TYPE );
459 XmlTest( "Query attribute: does not exist", result, TIXML_NO_ATTRIBUTE );
507 // Get the attribute "value" from the "Russian" element and check it.
512 XmlTest( "UTF-8: Russian value.", (const char*)correctValue, element->Attribute( "value" ), true );
588 XmlTest( "Copy/Assign: element copy #2.", "value", elementCopy.Attribute( "name" ) );
590 XmlTest( "Copy/Assign: element assign #2.", "value", elementAssign.Attribute( "name" ) );
591 XmlTest( "Copy/Assign: element assign #3.", 0, (int) elementAssign.Attribute( "foo" ) );
806 const char* context = psg->Attribute( "context" );
959 XmlTest( "Parsing repeated attributes.", "blue", doc.FirstChildElement( "element" )->Attribute( "attr" ) );