On Wed, 28 Oct 2015 09:19:49 +0100 Martin Doucha <next_gh...@quick.cz> 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 <k...@meme.com> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org