www.webdeveloper.com
Results 1 to 2 of 2

Thread: Hello, some problems with XSL-FO

  1. #1
    Join Date
    Dec 2003
    Posts
    1

    Hello, some problems with XSL-FO

    Hello All, I hope somebody can help me

    Let me explain the project, I have two xml files (courses_codes.xml and courses.xml)
    , I need to read this files and converted them to XSL-FO. The goal is to produce
    a PDF file that contains course catalog information for a particular course
    group (e.g. AFAM, CSCI, BIOL, etc.) for the 2003-2004 academic year. Also the
    XSLT should accept a parameter named "group" that will determine which course group
    information will be used (e.g. values for group might be "CSCI", "BIOL", "CHEM", etc).
    The XSLT should also accept a parameter named "year".

    The XLS-FO first creates a title, using the fullname of the course group selected,
    them creates a Table of Contect (TOC) with all the courses, and those courses are
    linked to an individual page containing the course information.

    The courses in a group has to be unique, and the ones selected using the
    global parameters (group, year)

    So my questions is how can achive this ??


    My XML files are :

    courses_codes.xml

    <courses_codes>
    <course_groups>
    <course_group code="AFAM" name="African American Studies"/>
    <course_group code="ANTH" name="Anthropology and Archaeology"/>
    </course_groups>
    </courses_codes>

    courses.xml

    <dce_courses>
    <course acad_year="2003" term_id="2" crn="21135">
    <course_group>AFAM</course_group>
    <course_num>E-110</course_num>
    <title>Images of Africana People in Cinema</title>
    <meeting>
    <meeting_days>W</meeting_days>
    <meeting_begin>1730</meeting_begin>
    <meeting_end>1930</meeting_end>
    <location>Sever Hall 110</location>
    </meeting>
    <course_head>
    <person>
    <person_name>Pashington Obeng</person_name>
    <person_title>PhD, Visiting Lecturer on World Religions, Harvard Divinity School and Assistant Profess$
    </person>
    </course_head>
    <description>An examination of the sociocultural, political, and economic aspects of Africana people throu$
    </course>
    <course acad_year="2003" term_id="2" crn="22066">
    <course_group>ANTH</course_group>
    <course_num>E-135</course_num>
    <title>The Archaeology of the American Southwest</title>
    <meeting>
    <meeting_days>M</meeting_days>
    <meeting_begin>1730</meeting_begin>
    <meeting_end>1930</meeting_end>
    <location>Harvard Hall 201</location>
    </meeting>
    <course_head>
    <person>
    <person_name>Steven A. LeBlanc</person_name>
    <person_title>PhD, Senior Lecturer on Anthropology, Harvard University</person_title>
    </person>
    </course_head>
    <description>This course considers the prehistory of the American Southwest from PaleoIndian times to Euro$
    </course>
    <dce_courses>

    Thx for the help!!
    Merry X-MAS!!

    LuisM

  2. #2
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,119
    you need to go to
    www.w3c.org and read up all about XSL/XSLT and XSL-FO everything will make sense then,however I seriously doubt some one will have time to write a solution for you( I hope I m wrong )
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles