|
Subject: XSL FO: retaining some structure From: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 2 Jul 1999 14:04:15 +0100 |
In going from nicely structured XML to low-level XSL FO, there are
occasions when I want to remember something about the structure.
Thus, if I have <div0><head>Introduction</head>, I process it with
<xsl:template match="div0/head">
<fo:block font-size="24pt"
text-align-last="centered"
space-before.optimum="24pt">
<xsl:apply-templates/></fo:block>
</xsl:template>
to get a centred 24pt bold header. But when this (formatted to PDF) is
displayed in Acrobat, its nice to have Acrobat's bookmarks to remind
you of the structure and do fast navigation. I want to pass in the
information that this is a "level 1 heading". For DSSSL, James Clark
added a characteristic in Jade called "heading-level" for this purpose
(to allow Word to do outlining, actually). I wonder if the XSL FO
group would consider allowing this in some way?
No, this is not a theoretical question at all. It gets asked for
fairly often in the Jade world.
Possibly I have missed something in XSL FO I can hang my clue onto?
sebastian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| msie5 and entoties in dtd, Eugeny Kuzakov | Thread | Re: XSL FO: retaining some structur, Stephen Deach |
| msie5 and entoties in dtd, Eugeny Kuzakov | Date | RE: XSLT vs JSP, Håkon Wium Lie |
| Month |