[xsl] Last name first

Subject: [xsl] Last name first
From: Jacob L <arkle.ash@xxxxxxxxx>
Date: Mon, 30 Jan 2012 12:51:25 -0500

I am using <xsl:stylesheet version="2.0" .If in the input XML file,
the text in the <p>has a name such as

<p> Aaron S. Williams </p>

and I want the last name to come first, seperated by comma like this

<p> Williams, Aaron S. </p>

Is it possible using xslt?If yes, could i have the code plz.

Thanks in advance.

Current Thread