following

2005-03-14 Thread Vojko
Hi

I gave the following XML structure

book
chapter name=index ... /chapter
chapter name=about ... /chapter
chapter name=conclusion ... /chapter
...
/book

I am able to to call a specific chapter in XSL by using 

xsl:template match=book/[EMAIL PROTECTED]'about']

Is there a way that I could call the next and previous chapter not by
its name but by a generic function? Something like following node...so
that I would know what is the next chapter and previous from the current
one.

Thanks, Vojko.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: following

2005-03-14 Thread Andreas L. Delmelle
 -Original Message-
 From: Vojko [mailto:[EMAIL PROTECTED]


Hi,

For starters, since you already posted a purely XSLT-related question
yesterday:
Questions like these do not really belong on fop-user... Should be posted on
Mulberry (look on the FOP resources page)

Now, since I am weak and can't help but help you out here... (but if you try
to exploit that weakness one more time, you're on your own --no offence)

 Is there a way that I could call the next and previous chapter not by
 its name but by a generic function? Something like following node...so
 that I would know what is the next chapter and previous from the current
 one.

How about:

xsl:apply-templates select=preceding::chapter /
xsl:apply-templates select=following::chapter /

HTH!

Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: following

2005-03-14 Thread Vojko
No offence taken...what so ever...you are absolutely right...and it will
not happen again...but hey...anyway...I am glad that you are
weak :)...since it solved my problem.

Thanks a lot.

Regards, Vojko.


On Mon, 2005-03-14 at 11:33 +0100, Andreas L. Delmelle wrote:
  -Original Message-
  From: Vojko [mailto:[EMAIL PROTECTED]
 
 
 Hi,
 
 For starters, since you already posted a purely XSLT-related question
 yesterday:
 Questions like these do not really belong on fop-user... Should be posted on
 Mulberry (look on the FOP resources page)
 
 Now, since I am weak and can't help but help you out here... (but if you try
 to exploit that weakness one more time, you're on your own --no offence)
 
  Is there a way that I could call the next and previous chapter not by
  its name but by a generic function? Something like following node...so
  that I would know what is the next chapter and previous from the current
  one.
 
 How about:
 
 xsl:apply-templates select=preceding::chapter /
 xsl:apply-templates select=following::chapter /
 
 HTH!
 
 Andreas
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to repeat subtitle onto the following pages

2004-04-01 Thread Jay Chiu
Hi,

I need to generate a report with subtitles and details as table
rows. Each subtitle row may be followed by many detail rows,
which may span multiple pages. But we want to add the same
subtitle on the beginning of the following pages with some
additional text as Continue... or even relative page number.

Can someone give me some advice on how to implement this kind of
report?

For example, suppose we have two mutual funds, and each with
many stock/bonds. then the report pages would look like:

Page 1:
Equity Fund
   stock 1.1 | price | number_of_shares | total_amount
   stock 1.2 | price | number_of_shares | total_amount
   ..
   stock 1.n | price | number_of_shares | total_amount
Page 2:
Equity Fund Continue... Page 2
   stock 2.1 | price | number_of_shares | total_amount
   stock 2.2 | price | number_of_shares | total_amount
   ..
   stock 2.n | price | number_of_shares | total_amount
Page 3:
Equity Fund Continue... Page 3
   stock 3.1 | price | number_of_shares | total_amount
   stock 3.2 | price | number_of_shares | total_amount
   ..
   stock 3.m | price | number_of_shares | total_amount

Fixed Income Fund
   bond 1.1 | Price | Yield | total_amount
   ...
   bond 1.n | Price | Yield | total_amount

Page 4:
   Fixed Income Fund Continue... Page 2
   bond 2.1 | Price | Yield | total_amount
   ...
   bond 2.n | Price | Yield | total_amount

Page 5:
   Fixed Income Fund Continue... Page 3
   bond 3.1 | Price | Yield | total_amount
   ...
   bond 3.n | Price | Yield | total_amount


Thanks a lot.

Jay



Get your own 800 number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to repeat subtitle onto the following pages

2004-04-01 Thread Zhong Yi
I would use multiple page sequences.
The first page sequence just generate one page with
the Equity header in region-before. The second
sequence will generate the rest pages with Equity
Continues... in region-before. 
You need to determine how many rows you can dump into
first page in advance.

George

--- Jay Chiu [EMAIL PROTECTED] wrote:
 Hi,
 
 I need to generate a report with subtitles and
 details as table
 rows. Each subtitle row may be followed by many
 detail rows,
 which may span multiple pages. But we want to add
 the same
 subtitle on the beginning of the following pages
 with some
 additional text as Continue... or even relative
 page number.
 
 Can someone give me some advice on how to implement
 this kind of
 report?
 
 For example, suppose we have two mutual funds, and
 each with
 many stock/bonds. then the report pages would look
 like:
 
 Page 1:
 Equity Fund
stock 1.1 | price | number_of_shares |
 total_amount
stock 1.2 | price | number_of_shares |
 total_amount
..
stock 1.n | price | number_of_shares |
 total_amount
 Page 2:
 Equity Fund Continue... Page 2
stock 2.1 | price | number_of_shares |
 total_amount
stock 2.2 | price | number_of_shares |
 total_amount
..
stock 2.n | price | number_of_shares |
 total_amount
 Page 3:
 Equity Fund Continue... Page 3
stock 3.1 | price | number_of_shares |
 total_amount
stock 3.2 | price | number_of_shares |
 total_amount
..
stock 3.m | price | number_of_shares |
 total_amount
 
 Fixed Income Fund
bond 1.1 | Price | Yield | total_amount
...
bond 1.n | Price | Yield | total_amount
 
 Page 4:
Fixed Income Fund Continue... Page 2
bond 2.1 | Price | Yield | total_amount
...
bond 2.n | Price | Yield | total_amount
 
 Page 5:
Fixed Income Fund Continue... Page 3
bond 3.1 | Price | Yield | total_amount
...
bond 3.n | Price | Yield | total_amount
 
 
 Thanks a lot.
 
 Jay
 
 
 
 Get your own 800 number
 Voicemail, fax, email, and a lot more
 http://www.ureach.com/reg/tag
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Footnotes on the following page

2004-02-05 Thread Chris Bowditch
Peter B. West wrote:
Chris Bowditch wrote:
Looks like youve defined your footnote within a marker. What is the 
expected behaviour here? Are you expecting a footnote on the page 
where the static content retrieves the marker, or are you expecting 
the footnote to appear on the page where it is defined in the marker?
snip/
It is actually illegal to define a footnote within a marker.
Thanks for clarifying Peter.
 From the 1.1 Draft.
6.12.3 fo:footnote
Constraints
...
It is an error if the fo:footnote occurs as a descendant of a flow that 
is not assigned to a region-body, or of an fo:block-container that 
generates absolutely positioned areas. In either case, the block-areas 
generated by the fo:footnote-body child of the fo:footnote shall be 
returned to the parent of the fo:footnote and placed in the area tree as 
though they were normal block-level areas.
Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Footnotes on the following page

2004-02-05 Thread Peter B. West
Chris Bowditch wrote:
Peter B. West wrote:
Chris Bowditch wrote:
Looks like youve defined your footnote within a marker. What is the 
expected behaviour here? Are you expecting a footnote on the page 
where the static content retrieves the marker, or are you expecting 
the footnote to appear on the page where it is defined in the marker?

snip/
It is actually illegal to define a footnote within a marker.

Thanks for clarifying Peter.
 From the 1.1 Draft.
6.12.3 fo:footnote
Constraints
...
It is an error if the fo:footnote occurs as a descendant of a flow 
that is not assigned to a region-body, or of an fo:block-container 
that generates absolutely positioned areas. In either case, the 
block-areas generated by the fo:footnote-body child of the fo:footnote 
shall be returned to the parent of the fo:footnote and placed in the 
area tree as though they were normal block-level areas.

Chris,
I should have added the following from the Rec on fo:marker and 
fo:retrieve-marker.

6.13.5 fo:marker
...
An fo:marker may contain any formatting objects that are permitted as a 
replacement of any fo:retrieve-marker or fo:retrieve-table-marker that 
retrieves the fo:marker's children.

and
6.13.6 fo:retrieve-marker
...
Constraints:
An fo:retrieve-marker is only permitted as the descendant of an 
fo:static-content.

The fo:retrieve-marker specifies that the children of a selected 
fo:marker shall be formatted as though they replaced the 
fo:retrieve-marker in the formatting tree.

The implication to me of the combination is that the contents of 
fo:marker are under the same constraints as the fo:retrieve-marker; that 
they are not, in formatting terms, descendants of an fo:flow, but of an 
fo:static-content, destined for a region other than fo:region-body.

In other words, the fo:marker ancestor of the fo:footnote is not 
assigned to a region-body.

Peter
--
Peter B. West http://www.powerup.com.au/~pbwest/resume.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Footnotes on the following page

2004-02-04 Thread Peter B. West
Chris Bowditch wrote:
Readman, Devon wrote:
Here is the block of the stylesheet that is used to generate 
footnotes...it
first tests if the current element has an attribute (id) and if a child
elements exist (name  note...note is the element to be placed in the
footnote):

Looks like youve defined your footnote within a marker. What is the 
expected behaviour here? Are you expecting a footnote on the page where 
the static content retrieves the marker, or are you expecting the 
footnote to appear on the page where it is defined in the marker?

Footnotes are a bit of a mess in FOP, and so its no surprise that when 
you try to do advanced things like this, the behaviour is not as 
expected. I'm guessing that you'll need to settle for footnotes defined 
out of a marker, just in the regular flow.

It is actually illegal to define a footnote within a marker.
From the 1.1 Draft.
6.12.3 fo:footnote
Constraints
...
It is an error if the fo:footnote occurs as a descendant of a flow that 
is not assigned to a region-body, or of an fo:block-container that 
generates absolutely positioned areas. In either case, the block-areas 
generated by the fo:footnote-body child of the fo:footnote shall be 
returned to the parent of the fo:footnote and placed in the area tree as 
though they were normal block-level areas.

Peter
--
Peter B. West http://www.powerup.com.au/~pbwest/resume.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Footnotes on the following page

2004-02-03 Thread Chris Bowditch
Readman, Devon wrote:
My footnotes always appear on the following page where the footnote
reference is inserted in the pdf document. Has anyone seen this before?
Can you provide a little more information please. What version of FOP 
are you using? And a small snippet of your FO would be helpful too.

Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Footnotes on the following page

2004-02-03 Thread Readman, Devon
Here is the block of the stylesheet that is used to generate footnotes...it
first tests if the current element has an attribute (id) and if a child
elements exist (name  note...note is the element to be placed in the
footnote):


fo:block keep-together=always  
!-- Print out PCG6 title --
xsl:choose
xsl:when test=@id
fo:block id=[EMAIL PROTECTED] 
font-size=10pt
font-weight=bold padding-bottom=3pt text-align=left
fo:marker
marker-class-name=group6
xsl:call-template
name=formatPcg6Id
xsl:with-param
name=id select=@id/
/xsl:call-template
xsl:if test=name
xsl:value-of
select=name/

xsl:if test=note

fo:footnote

fo:inline font-size=6pt vertical-align=super*/fo:inline

fo:footnote-body

fo:block font-size=8pt

*xsl:value-of select=note/

/fo:block

/fo:footnote-body

/fo:footnote
/xsl:if


/xsl:if
/fo:marker
/fo:block
/xsl:when
xsl:otherwise
fo:block
fo:marker marker-class-name=group6
xsl:text
disable-output-escaping=yes#160;/xsl:text 
/fo:marker
/fo:block
/xsl:otherwise
/xsl:choose

xsl:apply-templates select=genericName/
/fo:block
-Original Message-
From: Chris Bowditch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 5:41 AM
To: [EMAIL PROTECTED]
Subject: Re: Footnotes on the following page


Readman, Devon wrote:

 My footnotes always appear on the following page where the footnote
 reference is inserted in the pdf document. Has anyone seen this before?

Can you provide a little more information please. What version of FOP 
are you using? And a small snippet of your FO would be helpful too.

Chris



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Footnotes on the following page

2004-02-03 Thread Chris Bowditch
Readman, Devon wrote:
Here is the block of the stylesheet that is used to generate footnotes...it
first tests if the current element has an attribute (id) and if a child
elements exist (name  note...note is the element to be placed in the
footnote):
Looks like youve defined your footnote within a marker. What is the 
expected behaviour here? Are you expecting a footnote on the page where 
the static content retrieves the marker, or are you expecting the 
footnote to appear on the page where it is defined in the marker?

Footnotes are a bit of a mess in FOP, and so its no surprise that when 
you try to do advanced things like this, the behaviour is not as 
expected. I'm guessing that you'll need to settle for footnotes defined 
out of a marker, just in the regular flow.

snip/
Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Footnotes on the following page

2004-02-02 Thread Readman, Devon

My footnotes always appear on the following page where the footnote
reference is inserted in the pdf document. Has anyone seen this before?
Thanks.

Devon

P.S. Thanks for the tip on how to preserve carriage returns --works perfect!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Footnotes on the following page

2004-02-02 Thread Johannes Stuermer
Can you post the fo:static-content section you are using for the footer?

If you are not using a header/footer layout, try the fragment below:
fo:static-content flow-name=xsl-region-after display-align=after
fo:block
fo:table width=100%
fo:table-body
fo:table-row
fo:table-cell text-align=center
fo:block
fo:block
fo:leader leader-pattern=space /
/fo:blockfootnote text/fo:block
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table
/fo:block
/fo:static-content



-Original Message-
From: Readman, Devon [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 1:37 PM
To: '[EMAIL PROTECTED]'
Subject: Footnotes on the following page



My footnotes always appear on the following page where the footnote
reference is inserted in the pdf document. Has anyone seen this before?
Thanks.

Devon

P.S. Thanks for the tip on how to preserve carriage returns --works perfect!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



FOP bug? DocBook simplelist following informaltable inherits informaltable colwidths

2004-01-06 Thread jim kraai
Briefly stated:
-DocBook book has a part with a chapter with a section with a sidebar
-sidebar has two children:
  1. informaltable with
 a. a colwidth spec on the first of 2 cols
 b. 2colsx3rows table
  2. para with two children
 a. cdata
 b. simplelist (2x2 table) with no column width specs
-in the rendered PDF, the simplelist is using the same column-width
specified for the informaltable
Everything passes a DTD check.  The HTML renders fine.  The problem
could be a FOP issue as the translated .fo looks fine to me.
thanks,
--jim
Source .docbook:
sidebar
informaltable frame=all
tgroup cols='2'
colspec colwidth='2.0in'/
thead
[snip]
/tbody
/tgroup
/informaltable
para
[snip]
simplelist type='horiz' columns='2'
member[snip]/member
member[snip]/member
member[snip]/member
member[snip]/member
/simplelist
/para
/sidebar
translated .fo:
fo:block span=none
  fo:table id=id587944 border-collapse=collapse 
space-before.minimum=0.5em space-before.optimum=1em 
space-before.maximum=2em space-after.minimum=0.5em 
space-after.optimum=1em space-after.maximum=2em 
border-left-style=solid border-right-style=solid 
border-top-style=solid border-bottom-style=solid 
border-left-width=0.5pt border-right-width=0.5pt 
border-top-width=0.5pt border-bottom-width=0.5pt 
border-left-color=black border-right-color=black 
border-top-color=black border-bottom-color=black width=100%
fo:table-column column-number=1 column-width=2.0in /
fo:table-column column-number=2 /
[snip]
  /fo:table
/fo:block

fo:block space-before.optimum=1em space-before.minimum=0.8em 
space-before.maximum=1.2em[snip]
fo:table space-before.optimum=1em space-before.minimum=0.8em 
space-before.maximum=1.2em
  fo:table-column column-number=1 
column-width=proportional-column-width(1) /
  fo:table-column column-number=2 
column-width=proportional-column-width(1) /
[snip]
/fo:table

environment:
WinNT
xsltproc --version
Using libxml 20602, libxslt 10100 and libexslt 800
xsltproc was compiled against libxml 20602, libxslt 10100 and libexslt 800
libxslt 10100 was compiled against libxml 20602
libexslt 800 was compiled against libxml 20602
docbook DTD:
!-- DocBook XML DTD V4.2 .. --
docbook stylesheets:

$Id: docbook.xsl,v 1.29 2003/08/27 23:58:14 nwalsh Exp $

java -version
java version 1.4.2_03
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
fop
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: FOP bug? DocBook simplelist following informaltable inherits informaltable colwidths

2004-01-06 Thread Andreas L. Delmelle
 -Original Message-
 From: jim kraai [mailto:[EMAIL PROTECTED]

   b. simplelist (2x2 table) with no column width specs

AFAIK this is not allowed with FOP. (that is: the results might deviate from
what you'd expect)
For columns (in tables) you have basically two options: fixed-width or
proportional-column-width.

For more info, check: http://xml.apache.org/fop/fo.html#xsl-fo

You'll find a few examples there.

Cheers,

Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: FOP bug? DocBook simplelist following informaltable inherits informaltable colwidths

2004-01-06 Thread jim kraai
Thanks for the ref!
After looking through the FOP source, it's obvious that
the problem I reported isn't a FOP problem.  It is with
my stuff.  I was just being too quick on the bug-reporting
trigger without checking thoroughly enough.
FOP/DocBook newbie foolishness.  Sorry for wasting your time.
--jim
Andreas L. Delmelle wrote:
-Original Message-
From: jim kraai [mailto:[EMAIL PROTECTED]

 b. simplelist (2x2 table) with no column width specs

AFAIK this is not allowed with FOP. (that is: the results might deviate from
what you'd expect)
For columns (in tables) you have basically two options: fixed-width or
proportional-column-width.
For more info, check: http://xml.apache.org/fop/fo.html#xsl-fo
You'll find a few examples there.
Cheers,
Andreas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: FOP bug? DocBook simplelist following informaltable inherits informaltable colwidths

2004-01-06 Thread Andreas L. Delmelle
 -Original Message-
 From: jim kraai [mailto:[EMAIL PROTECTED]
 
 
snip /
 FOP/DocBook newbie foolishness.  Sorry for wasting your time.
 

No probz! That's what we're here for ;-)

Cheers,

Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



line break at long string - overlap the following table cell

2003-06-25 Thread Zmitko, Jan
Hello,

I´ve an table with with 7 seven columns. In one column are sometimes very
long strings. If there is a space betwenn the words, the line-break works
well. But if there is an String that have no spaces and is longer as the
width of the column (cell) so these string goes to the next cell. Is there a
possibility to force an linebreak at the last position of the column.

Thanks

Jan Zmitko

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: line break at long string - overlap the following table cell

2003-06-25 Thread Torsten Erler
Turn on hyphanation in your stylesheet like below:

fo:table
table-layout=fixed
inline-progression-dimension.optimum=100%
hyphenate=true
language=en
hyphenation-push-character-count=2
hyphenation-remain-character-count=2

cu Torsten

 -Original Message-
 From: Zmitko, Jan [mailto:[EMAIL PROTECTED]
 Sent: Mittwoch, 25. Juni 2003 13:36
 To: [EMAIL PROTECTED]
 Subject: line break at long string - overlap the following table cell


 Hello,

 I´ve an table with with 7 seven columns. In one column are
 sometimes very
 long strings. If there is a space betwenn the words, the
 line-break works
 well. But if there is an String that have no spaces and is
 longer as the
 width of the column (cell) so these string goes to the next
 cell. Is there a
 possibility to force an linebreak at the last position of the column.

 Thanks

 Jan Zmitko

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[repost] break-before attribute and xpath following sibling axis

2003-02-20 Thread s-oualid
I repost this message because I haven't find the solution yet !

This test always return TRUE :

xsl:if test=not(string(./SOUSTHEME) = string(following-sibling :: 
./SOUSTHEME))

And the old one always return FALSE :

xsl:if test=SOUSTHEME != following-sibling :: SOUSTHEME

Please someone, any idea ?

I thought it was an error with sorting, here's my apply templates FICHE 
tag :

xsl:apply-templates select=FICHE
xsl:sort select=SOUSTHEME /
/xsl:apply-templates

But I removed it and nothing change ... Pleas heelp a poor beginner in 
needs ! ;o)

Thanks.

Simon

--

Hi,

I am trying to use the break-before attribute to put a page break when I 
test a category changement in the XML.

Here is my XSL code :

-
xsl:template match=FICHE
fo:table table-layout=fixed
xsl:if test=SOUSTHEME != following-sibling :: SOUSTHEME
xsl:attribute name=break-beforepage/xsl:attribute
/xsl:if
!-- [...] end of the template after [...] --
-

I think my XPath expression is right : SOUSTHEME != following-sibling :: 
SOUSTHEME.

Here's a part of the XML datas incoming from a servlet :

-

?xml version=1.0 encoding=ISO-8859-1?
CATALOGUE
  FICHE cdId=663 catanetId=13343 type=P lang=FRA
TITRE140 000 CHINOIS POUR LA GRANDE GUERRE/TITRE
THEMEHistoire/THEME
SOUSTHEMEHistoire Contemporaine/SOUSTHEME
GENERIQUE
!-- [...] lot of subtags here [...] --
/GENERIQUE
PRESENTATION
!-- [...] lot of subtags here [...] --
/PRESENTATION
  /FICHE
  FICHE cdId=1997 catanetId=49205 type=P lang=FRA
TITRE1929, LE SPECTRE DE LA CRISE/TITRE
THEMEHistoire/THEME
SOUSTHEMEDocumentaires musicaux/SOUSTHEME
GENERIQUE
!-- [...] lot of subtags here [...] --
/GENERIQUE
PRESENTATION
!-- [...] lot of subtags here [...] --
/PRESENTATION
  /FICHE
 
-

If someone can help me to find my error... Maybe I didn't understand the 
break-before attribute well.

Thanks,

Simon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [repost] break-before attribute and xpath following sibling axis

2003-02-20 Thread Roland Neilands
 I repost this message because I haven't find the solution yet !

This is probably one for the XSL experts:
http://www.mulberrytech.com/xsl/xsl-list/

Cheers,
Roland

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Antwort: OT: how to check for following sibling

2003-01-15 Thread manfred . weigel


Hi!

xsl:if test=following-sibling::name-of-element ./xsl:if will test
if there is a next element
xsl:if test=following-sibling::name-of-element != '' ./xsl:if
will test if there is a next element which is not empty

Regards
Manfred





[EMAIL PROTECTED] am 15.01.2003 10:35:01

Bitte antworten an [EMAIL PROTECTED]@inet

An:  [EMAIL PROTECTED]
Kopie:
Thema:   OT: how to check for following sibling


sorry for interupting again with a newbie question.

can someone tell me how do i check if my xml document has another
sibling node. i know that i can use the xslt function following-sibling
to get the next sibling but i don't know how to check if it really got
one.

thanx in advance.

mk

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]









-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Different background colors for first and following pages

2002-12-07 Thread Oleg Tkachenko
Timo Haberkern wrote:
I'm new to fop/XSL-Fo and have some problems with my first stylesheet. I 
want to use different background-colors in the region-body for the first 
and the following pages. The first page should have a backgroundcolor X 
and all following pages the background-color Y.

Is there a posible solution?
Sure. You should define different page masters for the first page and 
others. Get some xsl-fo tutorial, e.g. Dave Pawson's book:
http://www.dpawson.co.uk/xsl/sect3/bk/ch05.html#pseqs.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Different background colors for first and following pages

2002-12-04 Thread Timo Haberkern
hello again,
I'm new to fop/XSL-Fo and have some problems with my first stylesheet. I 
want to use different background-colors in the region-body for the first 
and the following pages. The first page should have a backgroundcolor X 
and all following pages the background-color Y.

Is there a posible solution?
--
regards
Timo Haberkern
EMEDIA OFFICE GmbH
Wingertstr. 4
74850 Schefflenz-Kl.
http://www.emedia-office.com
[EMAIL PROTECTED]
Tel.: 06293/921121
Fax:  06293/921129

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]