← Prev in month ← Prev in thread
Next in thread → Next in month →

More than one <othername>

From
Dalan Hurst <>
Date
2005-08-31T23:58:39+00:00
ID
Thread
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
← Prev in month ← Prev in thread
Next in thread → Next in month →