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] Output order of elements contained in <personname>


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>

Regards,
Martin Doucha

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]