diff options
author | Martin Long <martin@longhome.co.uk> | 2014-12-09 23:24:51 +0000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-10 08:14:49 -0700 |
commit | 721760e532a9a9525781a81d4dae6580d3b3d783 (patch) | |
tree | adca0ea997a7f3379e6e5e5bd09256dfeaa71d80 /xslt/uddf-export.xslt | |
parent | 7367ccfb095497f3d5b52daade1b281195d4e81e (diff) | |
download | subsurface-721760e532a9a9525781a81d4dae6580d3b3d783.tar.gz |
Split last_name and first_name for buddies in UDDF export
Signed-off-by: Marton Long <martin@longhome.co.uk>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt/uddf-export.xslt')
-rw-r--r-- | xslt/uddf-export.xslt | 5 |
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> |