I am trying to make an XML generator and then use Java to read into the XML schema to create a survey. How would I make a webform or something else output XML? Here is an example of part of the XML. This is just the beginning of the survey. There will be free-response and multiple choice questions, but I just need the basics.
<Section>
<Title>
<English> SECTION I: SOCIO ECONOMIC AND DEMOGRAPHIC CHARACTERISTICS </English>
<Native> विभाग पहिला: सामाजिक आर्थिक आणि संख्यात्मिक वैशिष्ट्ये </Native>
</Title>
<ID>1</ID>
<Question>
<ID> 1.1 </ID>
<Description>
<English> How old are you? </English>
<Native>तुमचे वय किती आहे? </Native>
</Description>
<Edit>
<Title>
<English> Years </English>
<Native>वर्ष </Native>
</Title>
<IsNumerical>true</IsNumerical>
<Value></Value>//default if not empty
<Minvalue>15</Minvalue>
<Maxvalue>50</Maxvalue>
</Edit>
</Question>
<Question id="1.1"> ... </Question>? Seems neater. And<Native>is an odd choice of language identifier.<Title lang="en">SECTION I: SOCIO ECONOMIC AND DEMOGRAPHIC CHARACTERISTICS</Title><Title lang="hi">विभाग पहिला: सामाजिक आर्थिक आणि संख्यात्मिक वैशिष्ट्ये</Title>.