summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xslt/uddf-export.xslt5
1 files changed, 4 insertions, 1 deletions
diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt
index 78c344e51..65911a5e1 100644
--- a/xslt/uddf-export.xslt
+++ b/xslt/uddf-export.xslt
@@ -73,8 +73,11 @@
</xsl:attribute>
<personal>
<first_name>
- <xsl:value-of select="."/>
+ <xsl:value-of select="substring-before(., ' ')"/>
</first_name>
+ <last_name>
+ <xsl:value-of select="substring-after(., ' ')"/>
+ </last_name>
</personal>
</buddy>
</xsl:for-each>