dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #13869
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4564: [mydatamart] Added colon to list of dodgy characters in column names
------------------------------------------------------------
revno: 4564
committer: Bob Jolliffe bobjolliffe@xxxxxxxxx
branch nick: dhis2
timestamp: Sun 2011-09-11 22:58:32 +0100
message:
[mydatamart] Added colon to list of dodgy characters in column names
modified:
tools/datamart/mydatamart.vfs/resource/xslt/functions.xsl
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'tools/datamart/mydatamart.vfs/resource/xslt/functions.xsl'
--- tools/datamart/mydatamart.vfs/resource/xslt/functions.xsl 2011-08-02 19:21:56 +0000
+++ tools/datamart/mydatamart.vfs/resource/xslt/functions.xsl 2011-09-11 21:58:32 +0000
@@ -21,7 +21,7 @@
<xsl:param name="raw"/>
<xsl:variable name="tick">'</xsl:variable>
<xsl:variable name="clean1"
- select="translate($raw,' .,-+','_____')" />
+ select="translate($raw,' .,-+:','______')" />
<xsl:variable name="clean2"
select="translate($clean1,'/()','')" />
<xsl:variable name="clean3" select="str:replace($clean2,'<','_lt_')"/>