xsl-list
[Top] [All Lists]

Re: [xsl] Recursive function problem

2010-06-30 04:40:49
On Wed, Jun 30, 2010 at 11:34:36AM +0200, Emmanuel B?gu? wrote:
On Wed, Jun 30, 2010 at 11:19 AM, Nic Gibson <nicg(_at_)corbas(_dot_)net> 
wrote:
Sadly, that won't work because we have mixed content and the sequence
needs to stay exactly the same. My examples were a bit limited but
we can see things like:

<nameGrp role="author" foreNames="Patrick F."
? ?mainName="Houlihan">Houlihan, Patrick F.</nameGrp>
<nameGrp role="editor"
? ?foreNames="Saul"
? ?mainName="Franklin">Franklin, Saul Jnr</nameGrp>

I get:

<names>
<name><fname>Patrick F.</fname><sname>Houlihan</sname></name>
<name><fname>Saul</fname><sname>Franklin</sname></name>
</names>

Is this incorrect?

Sadly, yes. We would want to see

<name><sname>Houlihan</sname>, <fname>Patrick F.</fname></name>
<name><sname>Franklin</snane>, <fname>Saul</sname> Jnr</name>

cheers

nic

Regards,
EB

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--