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
[email protected]


----- Original Message ----- From: "DavePawson" <[email protected]>
To: "docbook-apps" <[email protected]>
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
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to