@@ -34,35 +34,44 @@ configuration file into a DSpace 7.x (or above) item-submission.xml -->
3434
3535 <xsl : template name =" transformSteps" >
3636 <xsl : for-each select =" /item-submission/step-definitions/step" >
37- <step-definition >
38- <xsl : attribute name =" id" >
39- <xsl : value-of select =" @id" />
40- </xsl : attribute >
41- <heading >
42- <xsm : value-of select =" ./heading" />
43- </heading >
44- <processing-class >
45- <xsm : value-of select =" ./processing-class" />
46- </processing-class >
47- <type >
37+ <xsl : if test =" @id != 'complete'" >
38+ <step-definition >
39+ <xsl : attribute name =" id" >
40+ <xsl : value-of select =" @id" />
41+ </xsl : attribute >
42+ <heading >
43+ <xsm : value-of select =" ./heading" />
44+ </heading >
45+ <processing-class >
46+ <xsl : choose >
47+ <xsl : when test =" @id='collection'" >
48+ <xsl : text >org.dspace.app.rest.submit.step.CollectionStep</xsl : text >
49+ </xsl : when >
50+ <xsl : otherwise >
51+ <xsm : value-of select =" ./processing-class" />
52+ </xsl : otherwise >
53+ </xsl : choose >
54+ </processing-class >
55+ <type >
56+ <xsl : choose >
57+ <xsl : when test =" @id='collection' or @id='upload' or @id='licence' or @id='sample'" >
58+ <xsl : value-of select =" @id" />
59+ </xsl : when >
60+ <xsl : otherwise >
61+ <xsl : text >submission-form</xsl : text >
62+ </xsl : otherwise >
63+ </xsl : choose >
64+ </type >
4865 <xsl : choose >
49- <xsl : when test =" @id='collection' or @id='upload' or @id='licence' or @id='sample'" >
50- <xsl : value-of select =" @id" />
66+ <xsl : when test =" @id='collection'" >
67+ <scope visibility =" hidden" visibilityOutside =" hidden" >submission</scope >
68+ </xsl : when >
69+ <xsl : when test =" @id='license'" >
70+ <scope visibilityOutside =" read-only" >submission</scope >
5171 </xsl : when >
52- <xsl : otherwise >
53- <xsl : text >submission-form</xsl : text >
54- </xsl : otherwise >
5572 </xsl : choose >
56- </type >
57- <xsl : choose >
58- <xsl : when test =" @id='collection'" >
59- <scope visibility =" hidden" visibilityOutside =" hidden" >submission</scope >
60- </xsl : when >
61- <xsl : when test =" @id='license'" >
62- <scope visibilityOutside =" read-only" >submission</scope >
63- </xsl : when >
64- </xsl : choose >
65- </step-definition >
73+ </step-definition >
74+ </xsl : if >
6675 </xsl : for-each >
6776 </xsl : template >
6877
0 commit comments