[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] handling tags and PIs within a macro
Subject: Re: [xsl] handling tags and PIs within a macro From: Nancy Brandt <nancy_brndt@xxxxxxxxx> Date: Wed, 24 Oct 2007 05:31:50 -0700 (PDT) |
Hi David! Thank you very much for the valuable advice! Now the stage of processing files by XSLTPROC is totally OK, but the problem of fo:page-number-citation is missing required "ref-id" property still remains. I wonder if it is somehow related to the following part of the template: <xsl:template match="j_entry"> <row> <entry> <formalpara id="{fid}"> --> This part <title> <xsl:apply-templates select="cm/node()"/> </title> </formalpara> Why is it important to enclose the "id" part in curly brackets? My best wishes, Nancy --- David Carlisle <davidc@xxxxxxxxx> wrote: > > > dsc encountered in formalpara, but no template > > matches. > > that is fairly explict, you have applied templates > to dsc elements but > don't have a template for that. > > So either you need to have a template, something > like > > <xsl:template match="dsc"> > <xsl:apply-templates/> > </xsl:template> > > or, you need to apply templates to the children of > dsc not to dsc itself > so > > <xsl:apply-templates select="dsc/node()"/> > > not > > > <xsl:apply-templates select="dsc"/> > > > > Error(132/23277): fo:page-number-citation is > missing > > required "ref-id" property. > > That is a separate problem your stylesheet has > generated a bad page > reference in the FO file, either because there is a > bug in the > stylesheet (or more likely if this is the standard > docbbok stylesheets) > there is an error in your input document. > > > Oct 24, 2007 1:10:12 PM > > org.apache.fop.hyphenation.Hyphenator > > getHyphenationTree > > SEVERE: Couldn't find hyphenation pattern en > > That is an error in your FOP setup, sorry I can't > advise there I don't > use FOP (or XSL-FO much at all) It's essentially a > completely different > program which is processing the output of your XSLT > transform. Some > others on this list may be able to help with that, > or teh FOP specific > list might be better. > > 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. > ________________________________________________________________________ > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] handling tags and PIs wit, David Carlisle | Thread | Re: [xsl] handling tags and PIs wit, Abel Braaksma |
Re: [xsl] handling tags and PIs wit, David Carlisle | Date | RE: [xsl] Saxon for .NET Installati, Michael Kay |
Month |
Keywords