OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] extending db5, html vs fo customization

Hi Dave,
I'm not quite clear what's going on here.  The stylesheets generate a red 
copy of any document elements for which it has no template match.  But it 
also generates an error message about what element and what namespace it is 
in.  Are you getting such messages?

You mentioned namespace stripping.  If you are using the xsl-ns 
namespace-aware stylesheets, there is no preprocessor step to strip the 
namespace from DB5 elements.  That only happens when you process a DB5 
document with the non-namespace-aware stylesheets.   Which stylesheet set 
are you using?

Bob Stayton
Sagehill Enterprises

----- Original Message ----- 
From: "DavePawson" <davep@dpawson.co.uk>
To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
Sent: Monday, May 11, 2009 2:47 AM
Subject: [docbook-apps] extending db5, html vs fo customization

> I've a namespace problem which I think is interim, awaiting a full
> set of xslt 2.0 stylesheets !
> I've extended docbook to include a poem.
> <poem xmlns="http://docbook.org/ns/docbook";>
>   <author>Irene Jones</author>
>   <dateline>1960-70</dateline>
> I'm using the snapshot stylesheets.
> For HTML it seems to be working fine. All my templates are namespaced.
> In my customization layer I've added templates
> for (namespaced) elements and it's all working well.
> For the fo output it isn't.
> I've added both namespaced and non-namespaced templates
> and .... I'm getting 'red' marked up raw XML in the PDF
> from xep.
> I've a feeling its to do with  the namespace stripping
> stage, and I can't figure out which way round it should be.
> Any thoughts please?
> regards
> -- 
> Dave Pawson
> http://www.dpawson.co.uk
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]