[planner] Fix WBS in XML import



commit 8302da0bffacff7770cf74e7dbe5acee76417278
Author: vcr <baihuajie gmail com>
Date:   Fri Mar 8 17:23:28 2013 +0100

    Fix WBS in XML import

 data/stylesheets/msp2planner.xsl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/stylesheets/msp2planner.xsl b/data/stylesheets/msp2planner.xsl
index fd2d9d1..45e8b4b 100644
--- a/data/stylesheets/msp2planner.xsl
+++ b/data/stylesheets/msp2planner.xsl
@@ -100,7 +100,7 @@
 <xsl:template name="task">
   <xsl:param name="wbs"/>
   <xsl:param name="lvl"/>
-  <xsl:for-each select="//ms:Tasks/ms:Task[starts-with(ms:OutlineNumber,$wbs)][ms:OutlineLevel=$lvl]">
+  <xsl:for-each 
select="//ms:Tasks/ms:Task[starts-with(ms:OutlineNumber,concat($wbs,'.'))][ms:OutlineLevel=$lvl]">
     <task>
     <xsl:call-template name="write-task"/>
     <!-- recursion implemented here:  -->


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]