PR #3076: item-submission.xml changes from #3081 in xsl transformation

This commit is contained in:
Marie Verdonck
2021-02-10 11:18:10 +01:00
parent 1e686495b2
commit c03578321b

View File

@@ -34,7 +34,7 @@ configuration file into a DSpace 7.x (or above) item-submission.xml -->
<xsl:template name="transformSteps"> <xsl:template name="transformSteps">
<xsl:for-each select="/item-submission/step-definitions/step"> <xsl:for-each select="/item-submission/step-definitions/step">
<step> <step-definition>
<xsl:attribute name="id"> <xsl:attribute name="id">
<xsl:value-of select="@id"/> <xsl:value-of select="@id"/>
</xsl:attribute> </xsl:attribute>
@@ -62,14 +62,14 @@ configuration file into a DSpace 7.x (or above) item-submission.xml -->
<scope visibilityOutside="read-only">submission</scope> <scope visibilityOutside="read-only">submission</scope>
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>
</step> </step-definition>
</xsl:for-each> </xsl:for-each>
</xsl:template> </xsl:template>
<xsl:template name="addFormPageSteps"> <xsl:template name="addFormPageSteps">
<xsl:for-each select="$inputForms/input-forms/form-definitions/form/page"> <xsl:for-each select="$inputForms/input-forms/form-definitions/form/page">
<xsl:variable name="formName" select="../@name"/> <xsl:variable name="formName" select="../@name"/>
<step mandatory="true"> <step-definition mandatory="true">
<xsl:attribute name="id"> <xsl:attribute name="id">
<xsl:value-of select="concat($formName,'page',@number)"/> <xsl:value-of select="concat($formName,'page',@number)"/>
</xsl:attribute> </xsl:attribute>
@@ -78,22 +78,22 @@ configuration file into a DSpace 7.x (or above) item-submission.xml -->
</heading> </heading>
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class> <processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
<type>submission-form</type> <type>submission-form</type>
</step> </step-definition>
</xsl:for-each> </xsl:for-each>
</xsl:template> </xsl:template>
<xsl:template name="addStaticSteps"> <xsl:template name="addStaticSteps">
<step id="upload"> <step-definition id="upload">
<heading>submit.progressbar.upload</heading> <heading>submit.progressbar.upload</heading>
<processing-class>org.dspace.app.rest.submit.step.UploadStep</processing-class> <processing-class>org.dspace.app.rest.submit.step.UploadStep</processing-class>
<type>upload</type> <type>upload</type>
</step> </step-definition>
<step id="license"> <step-definition id="license">
<heading>submit.progressbar.license</heading> <heading>submit.progressbar.license</heading>
<processing-class>org.dspace.app.rest.submit.step.LicenseStep</processing-class> <processing-class>org.dspace.app.rest.submit.step.LicenseStep</processing-class>
<type>license</type> <type>license</type>
<scope visibilityOutside="read-only">submission</scope> <scope visibilityOutside="read-only">submission</scope>
</step> </step-definition>
</xsl:template> </xsl:template>
<xsl:template name="transformInputFormsToSubmissions"> <xsl:template name="transformInputFormsToSubmissions">