RE: PDF bookmarks (was: Re: extensions to FO)

How about this as a compromise:

Add a custom attribute to fo:wrapper to denote an outline entry. e.g.

<fo:wrapper pdf:outline-label="Section 1">
  <fo:block>Section 1</fo:block>
  <fo:wrapper pdf:outline-label="Subsection 1.1">
     <fo:block>Subsection 1.1</fo:block>
  </fo:wrapper>
</fo:wrapper>

Then we get a spec-compliant solution with no loose interpretation of the
xslt tree bit, and we don't overload the fo:marker with an additional use. 

Comments?

-Kelly

-----Original Message-----
From: Nikolai Grigoriev
To: www-xsl-fo@w3.org
Sent: 2/3/01 1:55 PM
Subject: Re: PDF bookmarks (was: Re: extensions to FO)



<fo:wrapper>
  <fo:marker role="bookmark">Section Heading 1</fo:marker>
  <fo:block>Section Heading 1</fo:block>
    ... text of Section 1 ...
   <fo:wrapper>
      <fo:marker role="bookmark">Section Subheading 1.1</fo:marker>
      <fo:block>Section Subheading 1.1</fo:block>
    ... text of Subsection 1.1 ...
   </fo:wrapper>
</fo:wrapper>

Received on Saturday, 3 February 2001 18:46:09 UTC