Hi,
I have the following extract from my XML:
<bookentry>
<authorgroup>
<author>
<firstname>Rebecca</firstname>
<surname>Mills</surname></author>
</authorgroup>
</bookentry>
<bookentry>
<authorgroup>
<author>
<firstname>Gary</firstname>
<surname>Evans</surname></author>
<author>
<firstname>Kevin</firstname>
<surname>Goldsmith</surname>
</author>
</authorgroup>
</bookentry>
Authorgroup can have more than one author. The first part has two authors and the second has one author.
I have listed just the surnames using an XSL stylesheet and it is displayed as:
Mills
EvansGoldsmith
But I want it to be displayed as:
Mills, R
Evans, G and Goldsmith, K
Can anyone help me?
Many thanks.
I have the following extract from my XML:
<bookentry>
<authorgroup>
<author>
<firstname>Rebecca</firstname>
<surname>Mills</surname></author>
</authorgroup>
</bookentry>
<bookentry>
<authorgroup>
<author>
<firstname>Gary</firstname>
<surname>Evans</surname></author>
<author>
<firstname>Kevin</firstname>
<surname>Goldsmith</surname>
</author>
</authorgroup>
</bookentry>
Authorgroup can have more than one author. The first part has two authors and the second has one author.
I have listed just the surnames using an XSL stylesheet and it is displayed as:
Mills
EvansGoldsmith
But I want it to be displayed as:
Mills, R
Evans, G and Goldsmith, K
Can anyone help me?
Many thanks.