[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: handling tags and PIs within a macro

Subject: Re: handling tags and PIs within a macro
From: Nancy Brandt <nancy_brndt@xxxxxxxxx>
Date: Wed, 24 Oct 2007 08:09:31 -0700 (PDT)
Re:  handling tags and PIs within a macro
I looked at the file processed by XSLTPROC in which
FOP spots a problem for some reason:

Extract:
<row>
<entry>
<formalpara id="admin/user/fullname">
<title>admin/user/%/full_name</title></formalpara>

<formalpara><title>Description</title>Keeps the full
name of the user. The default value is only for the
first user, a new user you add will not have a default
full name.</formalpara>

<formalpara><title>Relevant
to</title>General</formalpara>

<formalpara><title>Type</title>text[MAX_FULLNAME_LEN=128]</formalpara><formalpara><title>Default
Value</title>Administrator</formalpara>
</entry>
</row>

Personally, I don't see a problem. Another one:
<row>
<entry><
formalpara id="">
<title>admin/user/%/notify_level/1</title>
</formalpara>

<formalpara>
<title>Description</title>
Email notification level for security messages. You
must also specify the email address of the user (see
entry <xref linkend="user_email"
xrefstyle="template:%t on page %p"/>)  and the
outgoing mail server details (see entry <xref
linkend="smtp_server" xrefstyle="template:%t on page
%p"/>).
</formalpara>

<formalpara>
<title>Relevant to</title>
Email Notification</formalpara>

<formalpara>
<title>Type</title>enum INFO = 2, <sbr/> WARN = 3,
<sbr/> ERR = 4, <sbr/>  NONE = 0xf</formalpara>

<formalpara><title>Default
Value</title>NONE</formalpara>
</entry>
</row>

Best wishes,
Poor 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.