From b462a8da3547202ba812ffcb265cbf29c9fb803f Mon Sep 17 00:00:00 2001 From: Martin Long Date: Tue, 9 Dec 2014 23:24:47 +0000 Subject: [PATCH] Separate out buddies into individual entities when exporting to UDDF. Part of a series bringing UDDF export closer to the UDDF standard, as per www.uddf.org. Currently when exporting to UDDF buddy entities are created one-per-unique-combination. This means that a group of buddies on a dive are exported as a single buddy, with the names comma separated. This patch identifies all unique buddies, whether used independently or along with other buddies on a dive. They are then linked independently on each profile. It also uses the UDDF standard instead of Signed-off-by: Marton Long Signed-off-by: Dirk Hohndel --- xslt/uddf-export.xslt | 76 ++++++++++++++++++++++++++++++------------- 1 file changed, 54 insertions(+), 22 deletions(-) diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt index 0d7f49b68..011b695d4 100644 --- a/xslt/uddf-export.xslt +++ b/xslt/uddf-export.xslt @@ -1,4 +1,5 @@ - + @@ -54,8 +55,27 @@ - - + + + + + + + + + + + + + + + + + + + + + @@ -121,20 +141,23 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -179,13 +202,22 @@ - - + + + + + + + + + + + - + - - + +