[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
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.
So my questions is how can achive this ??
My XML files are :
courses_codes.xml
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>
LuisM
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
[xsl] Hello, some problems with XSL-FO
Subject: [xsl] Hello, some problems with XSL-FO From: "luis montealbaran" <nob_ody@xxxxxxxxxxx> Date: Fri, 19 Dec 2003 17:02:11 +0000 |
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
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XPATH | union operator qu, David Carlisle | Thread | RE: [xsl] Hello, some problems with, cknell |
RE: [xsl] FO to format unstructured, Kyle Partridge | Date | [xsl] two predicates and position, Geoff Howard |
Month |