- // process properties of <tag1>
- wxString propvalue1 = child->GetPropVal(wxT("prop1"), wxT("default-value"));
- wxString propvalue2 = child->GetPropVal(wxT("prop2"), wxT("default-value"));
+ // process attributes of <tag1>
+ wxString attrvalue1 =
+ child->GetAttribute(wxT("attr1"),
+ wxT("default-value"));
+ wxString attrvalue2 =
+ child->GetAttribute(wxT("attr2"),
+ wxT("default-value"));