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
[EMAIL PROTECTED]


----- Original Message ----- From: "Dave Pawson" <[EMAIL PROTECTED]>
To: "Docbook-Apps" <[email protected]>
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: [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