🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #8623

[XSL FO] indentation relative

#8623
From: Joel Fillon
Date: Thu, 06 Sep 2001 09:21
21 lines
1593 bytes
Bonjour,

Dans un document xsl fo, je voudrais indenter un block par rapport au
block qui le contient. J'ai essaye :

<fo:block start-indent="50pt">Text before<fo:block start-indent="50pt">A block
with 50pt start-indent within a block with 50pt start-indent</fo:block>Text
after</fo:block>

Mais l'attribut start-indent="50pt" definit l'indentation absolue par
rapport au bord gauche de la page. Ici, le texte "A block with ..." est
aligne avec "Text before".

Je crois qu'on peut indenter un block de facon relative (avec pourcentage ?)
mais je ne trouve pas la syntaxe.

Au passage : j'utilise FOP 0.20.1. Y a-t-il d'autres moteurs de 
transformation xsl fo ?

D'avance merci.
Joel
Technical Details
Message-ID: <3B974012.2836F2E2@sophia.inria.fr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!howland.erols.net!univ-lyon1.fr!news-rocq!news-sop.inria.fr!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII-7-bit
X-Google-Thread: 114f60,292d535c01b141cf,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-09-06 03:00:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!howland.erols.net!univ-lyon1.fr!news-rocq!news-sop.inria.fr!not-for-mail
From: Joel Fillon <Joel.Fillon@sophia.inria.fr>
Newsgroups: fr.comp.text.xml
Subject: [XSL FO] indentation relative
Date: Thu, 06 Sep 2001 11:21:22 +0200
Organization: INRIA Sophia Antipolis
Lines: 21
Message-ID: <3B974012.2836F2E2@sophia.inria.fr>
NNTP-Posting-Host: flambis.inria.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.75 [fr] (Windows NT 5.0; U)
X-Accept-Language: fr-FR,en