xsl-list
[Top] [All Lists]

Re: [xsl] handling tags and PIs within a macro

2007-10-24 05:32:35
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(_at_)nag(_dot_)co(_dot_)uk> 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. 

________________________________________________________________________


--~------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--