Skip to content

adding additional adjustments to the elements of relatedItems for datacite-article-xslt#165

Merged
physikerwelt merged 4 commits intomainfrom
article_dc
Feb 7, 2025
Merged

adding additional adjustments to the elements of relatedItems for datacite-article-xslt#165
physikerwelt merged 4 commits intomainfrom
article_dc

Conversation

@Shirazos7
Copy link
Contributor

MaRDI Pull Request

Changes:

  • the xslt templates in the article for datacite have been updated
    especially the mandatory properties like following
  • according to our meeting with mike in paris : we will use some accepted properties based on datacite guidelines , when we dont have values for the mandatory properties
  • i adjusted already the main properties and today in this PR i adjusted the same properties in the relatedItems section
    such if title , creator , pub year , publisher wont have values in our metadata
    they will take the value :unav which means unavailable

and the other properties if they dont have values then they should not appear in the result .

-no further work needed for unittest or reference.xml ( the update dont effect the current files but it is considered for the varitery of our metadata )

@Shirazos7
Copy link
Contributor Author

i will update the crosswalks for datacite after this PR .

Copy link
Member

@physikerwelt physikerwelt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you apply automatic indention to the file to make it better readable?

<xsl:value-of select="series/issue"/>
</issue>
<!-- Process pages start with first page and end with last page -->
</xsl:if>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this indented correctly?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it works actually accodringly however i made the automatic indention and i will also fix the differences that are occuring the the unittest

@physikerwelt physikerwelt merged commit 70be97e into main Feb 7, 2025
2 checks passed
@Shirazos7 Shirazos7 deleted the article_dc branch February 7, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants