Re: XSL FO: retaining some structure

Subject: Re: XSL FO: retaining some structure
From: Stephen Deach <sdeach@xxxxxxxxx>
Date: Fri, 02 Jul 1999 08:44:32 -0700
The XSL-WG has agreed to add a property to support this need and the WAI
need. We are still working out the details, so it should be included in our
next draft.

At 14:04 1999-07-02 +0100, you wrote:
>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?
> XSL-List info and archive:

  Stephen Deach                            |  Sr Computer Scientist
  408-536-6521 (office)                    |  Adobe Systems Inc.
  408-537-4214 (fax)                       |  Mail Stop E15-420
  sdeach@xxxxxxxxx                         |  345 Park Ave
                                           |  San Jose, CA 95110-2704
                                           |  USA

 XSL-List info and archive:

Current Thread