[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Hello, some problems with XSL-FO

Subject: RE: Hello, some problems with XSL-FO
From: "luis montealbaran" <nob_ody@xxxxxxxxxxx>
Date: Fri, 19 Dec 2003 18:28:56 +0000
xls fo example
Hello, charles, thx for the response.

My problem is creating the stylesheet, I need to create a sthylesheet that will
output XSL-FO, with a title (the group fullname), a TOC and the courses information
of the course group given using the global parameter.


For example is the group is "AFAM"

The stylesheet should create an XSL-FO document with the AFAM acronnim extented
to full name, a TOC with all the courses inside the AFAM group, and courses information.


African American Studies

Images of Africana People in Cinema.......................................................2

On page 2, the course information, in this case Images Of Africana People...

This courses has to be unique.
Any comments ?

thx

LuisMM





From: cknell@xxxxxxxxxx
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Hello, some problems with XSL-FO
Date: Fri, 19 Dec 2003 13:02:15 -0500

So what exactly is your question? What have you tried so far and what is giving you trouble? Posting your XSLT stylesheet would advance the resolution of your problem.
--
Charles Knell
cknell@xxxxxxxxxx - email




-----Original Message-----
From:     luis montealbaran <nob_ody@xxxxxxxxxxx>
Sent:     Fri, 19 Dec 2003 17:02:11 +0000
To:       XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject:   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

_________________________________________________________________
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-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.