Click here to Skip to main content
14,332,375 members
   

XML / XSL

 
AnswerRe: XSD.EXE array, would like list Pin
Bernhard Hiller24-Jul-12 21:33
memberBernhard Hiller24-Jul-12 21:33 
GeneralRe: XSD.EXE array, would like list Pin
kalkwarf25-Jul-12 5:44
memberkalkwarf25-Jul-12 5:44 
GeneralRe: XSD.EXE array, would like list Pin
jschell25-Jul-12 7:14
memberjschell25-Jul-12 7:14 
GeneralRe: XSD.EXE array, would like list Pin
Bernhard Hiller25-Jul-12 20:41
memberBernhard Hiller25-Jul-12 20:41 
AnswerRe: XSD.EXE array, would like list Pin
jschell25-Jul-12 7:21
memberjschell25-Jul-12 7:21 
AnswerRe: XSD.EXE array, would like list Pin
jinzai17-Jul-14 13:26
memberjinzai17-Jul-14 13:26 
GeneralRe: XSD.EXE array, would like list Pin
kalkwarf18-Jul-14 4:42
memberkalkwarf18-Jul-14 4:42 
GeneralXSLT to transform one XML file to another and display as HTML Pin
GStar99921-Jul-12 1:50
memberGStar99921-Jul-12 1:50 
I have the following two xml files:

<questionnaire>
<questionnaireid>1</questionnaireid>
<questionnairename>sample questionnaire</questionnairename>
<questions>
    <question qid="1" >
        <qid>1</qid>
        <questiondesc>Q1) Enter some free text</questiondesc>
        <typeid>2</typeid>
        <required>1</required>
        <parentquestion></parentquestion>
    </question>             
    <question qid="2" >
        <qid>2</qid>    
        <questiondesc>Q2) Select any of the choices</questiondesc>  
        <typeid>6</typeid>
        <required>1</required>
        <parentquestion></parentquestion>
        <choices>
            <choice>Choice1</choice>
            <choice>Choice2</choice>
            <choice>Choice3</choice>
        </choices>
    </question>
</questions>
</questionnaire>

<questionnaireresponse>
  <questionnaireid>1</questionnaireid>
  <userid>1234</userid>
     <responses>
        <response qid="1">
          <answers>
            <answer>This is some text</answer>
          </answers>
        </response>
        <response qid="2">
          <answers>
             <answer>Choice 2</answer>
          </answers>
       </response>
    </responses>
 </questionnaireresponse>


How do you use xslt to add the response for this user to questionnare file and display as HTML form so in the above example the textbox will be populated with 'This is some text' and the dropdown will have 'Choice 2' selected?

Some example xslt implementing the above would be very helpful to get started. ideally I would like to do this in asp.net
Generalbest current book with strong coverage of XSLT ? Pin
BillWoodruff5-Jul-12 14:16
mveBillWoodruff5-Jul-12 14:16 
AnswerMessage Closed Pin
20-Jul-12 11:29
memberWebMaster20-Jul-12 11:29 
GeneralRe: best current book with strong coverage of XSLT ? Pin
BillWoodruff20-Jul-12 15:18
mveBillWoodruff20-Jul-12 15:18 
Questionregasxml error Pin
Member 913688818-Jun-12 6:51
groupMember 913688818-Jun-12 6:51 
QuestionXml Schema Pin
Vijjuuu.14-Jun-12 7:02
memberVijjuuu.14-Jun-12 7:02 
AnswerRe: Xml Schema Pin
Sandeep Mewara14-Jun-12 10:49
mentorSandeep Mewara14-Jun-12 10:49 
GeneralRe: Xml Schema Pin
Vijjuuu.14-Jun-12 18:49
memberVijjuuu.14-Jun-12 18:49 
GeneralRe: Xml Schema Pin
Sandeep Mewara14-Jun-12 20:48
mentorSandeep Mewara14-Jun-12 20:48 
GeneralRe: Xml Schema Pin
Vijjuuu.15-Jun-12 7:55
memberVijjuuu.15-Jun-12 7:55 
QuestionPerformance issue in XSL processing Pin
praveen3g8-Jun-12 21:30
memberpraveen3g8-Jun-12 21:30 
AnswerRe: Performance issue in XSL processing Pin
Richard MacCutchan8-Jun-12 22:12
protectorRichard MacCutchan8-Jun-12 22:12 
GeneralRe: Performance issue in XSL processing Pin
praveen3g8-Jun-12 22:26
memberpraveen3g8-Jun-12 22:26 
GeneralRe: Performance issue in XSL processing Pin
Richard MacCutchan8-Jun-12 22:40
protectorRichard MacCutchan8-Jun-12 22:40 
GeneralRe: Performance issue in XSL processing Pin
praveen3g8-Jun-12 23:04
memberpraveen3g8-Jun-12 23:04 
GeneralRe: Performance issue in XSL processing Pin
Richard MacCutchan8-Jun-12 23:10
protectorRichard MacCutchan8-Jun-12 23:10 
GeneralRe: Performance issue in XSL processing Pin
praveen3g8-Jun-12 23:15
memberpraveen3g8-Jun-12 23:15 
GeneralRe: Performance issue in XSL processing Pin
Richard MacCutchan8-Jun-12 23:32
protectorRichard MacCutchan8-Jun-12 23:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.