← Back to team overview

mlhim-specs-dev team mailing list archive

[Branch ~cdd-dev/cdd/trunk] Rev 248: Progress on XForm generation.

 

------------------------------------------------------------
revno: 248
committer: Timothy W. Cook <timothywayne.cook@xxxxxxxxx>
branch nick: cdd
timestamp: Tue 2012-09-04 10:27:38 -0300
message:
  Progress on XForm generation.
modified:
  src/xls2ccd/xls2ccd.py


--
lp:cdd
https://code.launchpad.net/~cdd-dev/cdd/trunk

Your team MLHIM Specifications Developers is subscribed to branch lp:cdd.
To unsubscribe from this branch go to https://code.launchpad.net/~cdd-dev/cdd/trunk/+edit-subscription
=== modified file 'src/xls2ccd/xls2ccd.py'
--- src/xls2ccd/xls2ccd.py	2012-09-02 15:09:26 +0000
+++ src/xls2ccd/xls2ccd.py	2012-09-04 13:27:38 +0000
@@ -208,12 +208,12 @@
             enum = (ccd_dict[k][n][0]).replace("'",'')
             adoc = (ccd_dict[k][n][1]).replace("'",'') + " : " + (ccd_dict[k][n][2]).replace("'",'')
             f.write("""       <xs:enumeration value='"""+enum+"""'>
-                                 <xs:annotation>
-                                    <xs:documentation>
-                                      """ + adoc + """
-                                    </xs:documentation>
-                                 </xs:annotation>
-                             </xs:enumeration>
+                    <xs:annotation>
+                       <xs:documentation>
+                         """ + adoc + """
+                       </xs:documentation>
+                    </xs:annotation>
+                   </xs:enumeration>
             """)
         f.write("""
               </xs:restriction>