Question
please answer my question i posted multiple-times and no response ;( i have the code that which i want to design it in xsml &
please answer my question i posted multiple-times and no response ;(
i have the code that which i want to design it in xsml & xsd \
But i want now the code design in a html code :
1. Design a page that will display in tabular format of all the course with their computed fee.
For each course, place the following:
a. A link that will go to another page displaying the full details of the course (details from the Course XML), including the Fee per Week, duration of the course (in weeks) and the computed fee (fees per week * total duration of the course).
b. A link that will go to another page displaying all the courses with the same specialization of the selected course. (See number 2 for the details of the page).
2. The List of Course per specialization page will display only the course details (you decide which data to show based from the Course XML). At the bottom of the page, the Total Number of Course is displayed. The page should refresh after every 20 seconds.
3. Provide a search form in the List of Course per Specialization page. You decide which search key to use in searching the record. Search result(s) will be displayed on the same page (part of the page).
4. Provide a Manual written in MS Word discussing how to use the system including sample output.
i want the code in HTML like this way:
html>
$(function(){
$("#title").append("ITD STUDENT LIST");
getRec();
});
function getRec(){
$.ajax({
type: 'GET',
url: 'exer14.xml',
dataType: 'xml',
success: function(a){
var txt="";
txt=txt+" txt=txt+" txt=txt+" txt=txt+" txt=txt+" txt=txt+" txt=txt+" txt=txt+" var ctr=0; var cgpa1=0; var cgpa2=0; $(a).find('stud').each(function(){ var id=$(this).find('id').text(); var name=$(this).find('name').text(); var level=$(this).find('level').text(); var spec=$(this).find('level').attr('spec'); var cgpa=parseFloat($(this).find('cgpa').text()); txt=txt+" txt=txt+" txt=txt+" txt=txt+" txt=txt+" txt=txt+" txt=txt+" ctr++; if (cgpa<2) cgpa1++; else cgpa2++; }); txt=txt+"";
"; ";ID ";NAME ";LEVEL ";SPECIALIZATION ";CGPA ";"; ";"+id+" ";"+name+" ";"+level+" ";"+spec+" ";"+cgpa+" ";
";
txt=txt+"
txt=txt+"
txt=txt+"
$("#s1").empty();
$("#s1").append(txt);
},
error: function (){
alert("Error");
}
});
}
setInterval(getRec,1000);