Subject: RE: RE: [xsl] Hello, some problems with XSL-FO|
From: "luis montealbaran" <nob_ody@xxxxxxxxxxx>
Date: Fri, 19 Dec 2003 19:30:37 +0000
<fo:block> <xsl:for-each select="//course[course_group=$group]"> <xsl:sort select="title" /> <fo:block text-align-last="justify"> <fo:basic-link> <xsl:attribute name="internal-destination"> <xsl:value-of select="generate-id()" /> </xsl:attribute> <xsl:value-of select="title"/> <fo:leader leader-pattern="dots" /> <fo:page-number-citation> <xsl:attribute name="ref-id"> <xsl:value-of select="generate-id()" /> </xsl:attribute> </fo:page-number-citation> </fo:basic-link> </fo:block> </xsl:for-each> </fo:block>
thx Happy X-MAS
From: cknell@xxxxxxxxxx Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: RE: [xsl] Hello, some problems with XSL-FO Date: Fri, 19 Dec 2003 14:12:47 -0500
That's more or less a restatement of your original post. What I'm trying to find out is specifically what problem you are having. Here is a list of possible problems.
Is your problem:
a) You don't know enough about XSL-FO to write the XSLT stylesheet?
b) You don't know how to get a set of unique nodes when the selection criteria would otherwise return duplicates? (I don't see where in the sample you sent there would be any duplicate nodes, so perhaps you left something important out?)
c) You don't know how to pass a parameter to your stylesheet from the calling program?
d) You don't know how to declare and use a parameter in an XSLT stylesheet?
e) You don't understand how to create an XSLT stylesheet and you're hoping that a list reader with time on his hands will write it for you?
cknell@xxxxxxxxxx - email
-----Original Message----- From: luis montealbaran <nob_ody@xxxxxxxxxxx> Sent: Fri, 19 Dec 2003 18:28:56 +0000 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] Hello, some problems with XSL-FO
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 ?
>From: cknell@xxxxxxxxxx >Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >Subject: RE: [xsl] 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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list