64,589
社区成员
发帖
与我相关
我的任务
分享
<?xml version="1.0" encoding="utf-8"?>
<Questions Project="simple_survey" Context="Question" >
<Question QuestionFullName="Respondent" QuestionType="Block" IsSystem="true">
<Label>Variables reserved for respondent identification</Label>
<Question QuestionName="Serial" QuestionFullName="Respondent.Serial" IsSystem="true" >
<Label>Serial number</Label>
<HelperFields>
<Question QuestionName="SourceFile" QuestionFullName="Respondent.Serial.SourceFile" IsSystem="true" >
<Label>What source file (for example, TIFF) can be used to get the respondent's serial number?</Label>
</Question>
</HelperFields>
</Question>
</Questions>
void access(XMLNode *que){
if(!que->FirstChild()) return;
XMLNode *child =que->FirstChild();
while(child){
if(!strncmp(child->Value(),"Label",5)) /* 要处理的label 内容*/
else access(child);
child =child->NextSibling();
}
}