Re: [docbook-apps] what's the migration path from non-namespaced DocBook stylesheets to namespaced oneds?

From
Bob Stayton <>
Date
2010-08-15T18:40:50+00:00
ID
15d501cb3ca9$4d0edb70$6600a8c0@pazu
Thread
Re: [docbook-apps] what's the migration path from non-namespaced DocBook stylesheets to namespaced oneds?
Hi,
I'm not quite clear what the question is here, but I think you are asking how to 
migrate a customization layer that was for the non-namespaced stylesheets to one that 
could be used with the namespaced stylesheets.  If so, then you should just be able to 
add the docbook namespace declaration at the top, and add the docbook namespace prefix 
to all references to element names in your customization layer.

<xsl:template match="article">

becomes

<xsl:template match="d:article">

This has to be done in all patterns and xpaths that reference docbook element names.

Bob Stayton
Sagehill Enterprises



----- Original Message ----- 
From: "Jochen Hayek" <>
To: <>
Sent: Sunday, August 15, 2010 9:43 AM
Subject: [docbook-apps] what's the migration path from non-namespaced DocBook 
stylesheets to namespaced oneds?


> It's preparing me quite some grief,
> if you have a look at the "mother article" of this one here.
>
> Jochen, the rough+rude Hun
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>