I have the following xml file
<?xml version="1.0" encoding="utf-8"?>
<InterviewQuestions>
<Competancy>
<Description>Manual Labour</Description>
<Question>
<QDescription>Tell me about your cleaning abilities.</QDescription>
<SubQuestion>
<SQDescription>Can you use a mop?</SQDescription>
</SubQuestion>
<SubQuestion>
<SQDescription>Can you use a scrubbing brush?</SQDescription>
</SubQuestion>
<SubQuestion>
<SQDescription>What chemical would you use to clean a sink?</SQDescription>
</SubQuestion>
</Question>
</Competancy>
<Competancy>
<Description>Santa Impersonations</Description>
<Question>
<QDescription>Tell me about what being a santa means to you</QDescription>
<SubQuestion>
<SQDescription>Do you getonwith elves well?</SQDescription>
</SubQuestion>
<SubQuestion>
<SQDescription>Can you use a scrubbing brush?</SQDescription>
</SubQuestion>
<SubQuestion>
<SQDescription>How do you keep you sherry consumption under control?</SQDescription>
</SubQuestion>
</Question>
<Question>
<QDescription>How do you look after your reindeer?</QDescription>
<SubQuestion>
<SQDescription>Do you give them any mineral supplements?</SQDescription>
</SubQuestion>
<SubQuestion>
<SQDescription>How often do you have to trim their hooves?</SQDescription>
</SubQuestion>
<SubQuestion>
<SQDescription>Are you practicing any selective breeding to eliminate/increase red noses?</SQDescription>
</SubQuestion>
</Question>
</Competancy>
</InterviewQuestions>
The idea is that the user picks 1 or more competancy from a list box i a repating section. I can populate the options from the xml file no problem.
However after the select a competancy, I want a corresponding repeating section to appear with the list of questions (in either a multi selection list box or a series of check boxes, then for each question that they select the sub questions should be displayed (read only)
I can easily get it so that selecting the competency, populating the questions list box, but I can't work out how to get the sub questions to show. I would just like them in a bulleted list as they will be automatically selected.