Click here to Skip to main content
15,886,095 members
Home / Discussions / XML / XSL
   

XML / XSL

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

XML
<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
professionalBillWoodruff5-Jul-12 14:16 
GeneralRe: best current book with strong coverage of XSLT ? Pin
BillWoodruff20-Jul-12 15:18
professionalBillWoodruff20-Jul-12 15:18 
Questionregasxml error Pin
Member 913688818-Jun-12 6:51
Member 913688818-Jun-12 6:51 
QuestionXml Schema Pin
Vijjuuu.14-Jun-12 7:02
Vijjuuu.14-Jun-12 7:02 
AnswerRe: Xml Schema Pin
Sandeep Mewara14-Jun-12 10:49
mveSandeep Mewara14-Jun-12 10:49 
GeneralRe: Xml Schema Pin
Vijjuuu.14-Jun-12 18:49
Vijjuuu.14-Jun-12 18:49 
GeneralRe: Xml Schema Pin
Sandeep Mewara14-Jun-12 20:48
mveSandeep Mewara14-Jun-12 20:48 
GeneralRe: Xml Schema Pin
Vijjuuu.15-Jun-12 7:55
Vijjuuu.15-Jun-12 7:55 
QuestionPerformance issue in XSL processing Pin
praveen3g8-Jun-12 21:30
praveen3g8-Jun-12 21:30 
AnswerRe: Performance issue in XSL processing Pin
Richard MacCutchan8-Jun-12 22:12
mveRichard MacCutchan8-Jun-12 22:12 
GeneralRe: Performance issue in XSL processing Pin
praveen3g8-Jun-12 22:26
praveen3g8-Jun-12 22:26 
GeneralRe: Performance issue in XSL processing Pin
Richard MacCutchan8-Jun-12 22:40
mveRichard MacCutchan8-Jun-12 22:40 
GeneralRe: Performance issue in XSL processing Pin
praveen3g8-Jun-12 23:04
praveen3g8-Jun-12 23:04 
GeneralRe: Performance issue in XSL processing Pin
Richard MacCutchan8-Jun-12 23:10
mveRichard MacCutchan8-Jun-12 23:10 
GeneralRe: Performance issue in XSL processing Pin
praveen3g8-Jun-12 23:15
praveen3g8-Jun-12 23:15 
GeneralRe: Performance issue in XSL processing Pin
Richard MacCutchan8-Jun-12 23:32
mveRichard MacCutchan8-Jun-12 23:32 
GeneralRe: Performance issue in XSL processing Pin
praveen3g9-Jun-12 0:07
praveen3g9-Jun-12 0:07 

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.