- From: Paul Grosso <pgrosso@arbortext.com>
- Date: Mon, 25 Aug 2003 10:00:13 -0500
- To: <www-xsl-fo@w3.org>
At 18:20 2003 08 23 -0300, G. Ken Holman wrote: >At 2003-08-20 16:09 -0400, Cindy Hunt wrote: >>I am creating a running head and want it to display "Chapter ##" and the text of the chapter title along with the page number. The page number is working fine but the chapter number and title text are not pulling in. I am using a marker for these > >And your example looks just fine to me. > >><xsl:template match="chapter"> >>... >><xsl:number count="chapter" level="any" from="body"/> > >You don't describe your document model, but I'm guessing your chapter elements are siblings. I suggest you replace the above with: > > <xsl:number/> > >because level="any" will be *much* slower and should only be used for things like book-wide figures that are scattered throughout a document. The default attributes will count like-named siblings, so you don't need to add any explicit attributes in your situation (if my assumption is correct). > >>Anyone have ideas on what would keep this from working correctly? I am using the FOP engine via XMLSpy if that helps. > >I'm guessing an implementation problem, I can't see any reason why it wouldn't work. At http://xml.apache.org/fop/compliance.html it seems to say that FOP doesn't support markers. paul
Received on Monday, 25 August 2003 12:07:33 UTC