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: More than one <othername>


I've tried a few ways to get the stylesheets to process two othernames in a
personname:

#1
<personname>
  <firstname>Elizabeth</firstname>
  <othername>Alexandra</othername>
  <othername>Mary</othername>
  <surname>Windsor</surname>
</personname>

#2
<personname>
  Elizabeth Alexandra Mary Windsor
</personname>

#3
<personname>
  <firstname>Elizabeth</firstname>
  <othername role="middle">Alexandra</othername>
  <othername role="middle">Mary</othername>
  <surname>Windsor</surname>
</personname>

But none seem to work (with #1 and #3 the stylesheets produce "Elizabeth
Alexandra Windsor", #2 doesn't show up at all).  I've even tried a customization
layer that looks something like:

<xsl:template match="personname">
  <xsl:apply-templates select="firstname" />
  <xsl:apply-templates select="othername" />
  <xsl:apply-templates select="surname" />
</xsl:template>

But I don't put much stock yet in my XSL-fu, so I wasn't surprised when that
didn't work.  Anyone have an idea?

Thanks (and special thanks to Norm and Mauritz for responding to my earlier
questions),
d


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