aNY BODY KNW TO DO THIS XSL ??

Discussion in 'XML' started by millan4u1, Mar 23, 2011.

  1. millan4u1

    millan4u1

    Joined:
    Mar 23, 2011
    Messages:
    2
    <?xml version="1.0"?><!DOCTYPE TIMETABLE [
    <!ELEMENT TIME (#PCDATA)>
    <!ATTLIST TIME ID ID #REQUIRED>
    <!ELEMENT TIMESLOT (TIME)+>
    <!ELEMENT LESSONCODE (#PCDATA)>
    <!ELEMENT LESSONTYPE (#PCDATA)>
    <!ELEMENT STARTTIME (#PCDATA)>
    <!ELEMENT ENDTIME (#PCDATA)>
    <!ELEMENT BUILDING (#PCDATA)>
    <!ELEMENT DAY (#PCDATA|LESSONCODE|DAY|LESSONTYPE|STARTTIME|ENDTIME|BUILDING)*>
    <!ATTLIST DAY ID CDATA "">
    <!ELEMENT TIMETABLE (DAY,TIMESLOT,(DAY)+)>
    ]>
    <?xml-stylesheet type="text/xsl" href="First version.xsl"?>

    <TIMETABLE>
    <DAY>
    <DAY ID="D1"> MONDAY</DAY>
    <DAY ID="D2"> TUESDAY</DAY>
    <DAY ID="D3"> WEDNESDAY</DAY>
    <DAY ID="D4">THURSDAY</DAY>
    <DAY ID="D5">FRIDAY</DAY>
    <DAY ID="D6">SATURDAY</DAY>
    <DAY ID="D7">SUNDAY</DAY>
    </DAY>
    <TIMESLOT>
    <TIME ID="H1">0900 AM</TIME>
    <TIME ID="H2">0930 AM</TIME>
    <TIME ID="H3">1000 AM</TIME>
    <TIME ID="H4"> 1030 AM</TIME>
    <TIME ID="H5"> 1100 AM</TIME>
    <TIME ID="H6"> 1130 AM </TIME>
    <TIME ID="H7"> 1200 PM</TIME>
    <TIME ID="H8"> 1230 PM</TIME>
    <TIME ID="H9"> 1300 PM</TIME>
    <TIME ID="H10">1330 PM</TIME>
    <TIME ID="H11">1400 PM</TIME>
    <TIME ID="H12">1430 PM</TIME>
    <TIME ID="H13">1500 PM</TIME>
    <TIME ID="H14">1600 PM</TIME>
    <TIME ID="H15">1630 PM</TIME>
    <TIME ID="H16">1700 PM</TIME>
    <TIME ID="H17">1730 PM</TIME>
    </TIMESLOT>

    <DAY ID="D2">

    <LESSONCODE> CMT 3342-S03 </LESSONCODE>
    <LESSONTYPE> 16318 Seminar </LESSONTYPE>
    <STARTTIME> 9:00 AM</STARTTIME>
    <ENDTIME> 10:59AM</ENDTIME>
    <BUILDING> COLLB C209</BUILDING>





    <LESSONCODE> CCM 3060 </LESSONCODE>
    <LESSONTYPE> LECTURE </LESSONTYPE>
    <STARTTIME> 1100 AM </STARTTIME>
    <ENDTIME> 1230 PM </ENDTIME>
    <BUILDING> COLLB C115 </BUILDING>





    <LESSONCODE> BIS 3051 </LESSONCODE>
    <LESSONTYPE> LECTURE </LESSONTYPE>
    <STARTTIME> 1300 PM</STARTTIME>
    <BUILDING> COLLB C114</BUILDING>






    <LESSONCODE> CMT 3095</LESSONCODE>
    <LESSONTYPE> LABORATORY</LESSONTYPE>
    <STARTTIME> 1600 PM </STARTTIME>
    <ENDTIME> 1730 PM</ENDTIME>
    <BUILDING> COLLB C126</BUILDING>



    </DAY>

    <DAY ID="D2">



    <LESSONCODE> CCM 3060 </LESSONCODE>
    <LESSONTYPE> SEMINAR </LESSONTYPE>
    <STARTTIME> 1130 AM </STARTTIME>
    <ENDTIME> 1300 PM </ENDTIME>
    <BUILDING> COLLB C126</BUILDING>



    </DAY>




    <DAY ID="D4">



    <LESSONCODE> BIS 3051 </LESSONCODE>
    <LESSONTYPE> LABORATORY </LESSONTYPE>
    <STARTTIME> 0930 AM</STARTTIME>
    <ENDTIME> 1100 AM</ENDTIME>
    <BUILDING> COLLB C121</BUILDING>



    </DAY>






    </TIMETABLE>
    millan4u1, Mar 23, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. schaf@2wire.ch
    Replies:
    1
    Views:
    3,589
    A. Bolmarcich
    May 27, 2005
  2. renkie

    anyone knw javamail

    renkie, Apr 21, 2008, in forum: Java
    Replies:
    5
    Views:
    334
    Arne Vajhøj
    Apr 23, 2008
  3. millan4u1
    Replies:
    0
    Views:
    871
    millan4u1
    Mar 23, 2011
  4. Zero Piraeus
    Replies:
    0
    Views:
    201
    Zero Piraeus
    Oct 21, 2012
  5. Jussi Piitulainen
    Replies:
    0
    Views:
    259
    Jussi Piitulainen
    Oct 21, 2012
Loading...

Share This Page