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] 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
bobs@sagehill.net


----- Original Message ----- 
From: "Jochen Hayek" <Jochen+oasis-open@Hayek.name>
To: <docbook-apps@lists.oasis-open.org>
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: 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]