Re: [docbook-apps] Complex parameters.

From
Bob Stayton <>
Date
2007-07-03T15:59:50+00:00
ID
03cf01c7bd8b$25cca1a0$6400a8c0@totoro
Thread
Re: [docbook-apps] Complex parameters.
Actually, the stylesheets do have provision for localizing personal name 
layout.  Initially it was using a role attribute on the personname element, 
as described here:

http://www.sagehill.net/docbookxsl/PersonNames.html

You can specify three alternative styles:
"first-last"
"last-first"
"family-given"

Since then, the style designation was added to the locale files in the 
element l:context name="styles" using the template name="person-name", with 
a default value for English of "first-last".

All of these can be customized or extended in the template named 
"person.name" in common/common.xsl.

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "Dave Pawson" <>
To: "Docbook-Apps" <>
Sent: Tuesday, July 03, 2007 1:08 AM
Subject: [docbook-apps] Complex parameters.


> I'm 'abusing' docbook stylesheets, by using it for another schema.
>
> One of the things I want, which Norm agreed isn't handled well in 
> docbook, is a way of handling names locally.
>
> I say Walsh, Norm, you say Norm Walsh.
> If we think of all the variations round the world, then it becomes 
> complex.
>
> I'm looking for a way of specifying a parameter to indicate
> the required order of presentation of a number of elements.
>
> Any suggestions welcome.
>
>
> TIA
>
> regards
>
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>