On Wed, 28 Oct 2015 09:19:49 +0100
Martin Doucha <[email protected]> wrote:

> Dne 28.10.2015 v 03:16 Karl O. Pinc napsal(a):
> > Elements contained in <personname> can come in any order within a
> > document but they are not output in the order input. Right now they
> > are always output in the order <honorific> <firstname> <surname> 
> > <lineage>.   (At least from inside an <author> element.)
> > 
> > This fixed output order is not suitable in the general case.
> > Better would be to output in the order input, as with para.
> 
> The template for <personname> in XSL stylesheet package indeed
> processes subelements in fixed order. To process them in document
> order instead, simply put the following template definition into your
> customized XSL file (assuming the usual namespace aliases for XSL and
> DocBook):
> 
> <xsl:template match="d:personname">
>   <xsl:apply-templates/>
> </xsl:template>

Thanks.

Why isn't this the default?  What is gained
by altering document order?




Karl <[email protected]>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to