Subject: Re: [xsl] XSLT for XSL-FO internal-destination From: Robert Siebens <telehodown@xxxxxxxxx> Date: Mon, 23 Nov 2009 12:22:05 -0800 (PST) |
David, After looking at the FO itself, I was able to see how your example works. Your suggestion to set the fo block id for each file from @Link worked like a charm! Thanks again for your help! Rob --- On Fri, 11/20/09, David Carlisle <davidc@xxxxxxxxx> wrote: > From: David Carlisle <davidc@xxxxxxxxx> > Subject: Re: [xsl] XSLT for XSL-FO internal-destination > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Cc: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Date: Friday, November 20, 2009, 8:48 AM > > > well you're leaving me to guess a lot about your uinput > structure, but > I'd guess that > > > <fo:block id="{@href}"> > > > <xsl:for-each > select="//TocEntry"> > > > <xsl:for-each select="document(@Link)//body"> > > > <xsl:apply-templates/> > > > just puts in a single id (with possibly empty value) at the > top of teh > document > you want an id for each file inclusion so perhaps > > > > > > <xsl:for-each > select="//TocEntry"> > > > <fo:block id="{@Link}"/> > > > <xsl:for-each select="document(@Link)//body"> > > > <xsl:apply-templates/> > David > > ________________________________________________________________________ > The Numerical Algorithms Group Ltd is a company registered > in England > and Wales with company number 1249803. The registered > office is: > Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United > Kingdom. > > This e-mail has been scanned for all viruses by Star. The > service is > powered by MessageLabs. > ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT for XSL-FO internal-, Robert Siebens | Thread | [xsl] Having elements defined only , Janne Luoma |
RE: [xsl] XSLT (2) namespace safe i, Michael Kay | Date | [xsl] placing graphics side by side, Flanders, Charles E |
Month |