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


----- Original Message ----- 
From: "Dave Pawson" <davep@dpawson.co.uk>
To: "Docbook-Apps" <docbook-apps@lists.oasis-open.org>
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: 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]