writing a unittest code similar to the unittest of articles with few differences to test the transformation of software metadata
creating the alternateIdentifiers node and adding the url of zbmath in it
adding the operating_systems and programming_languages templates to the xslt
to be generated
in our plain.xml they are empty nodes and can not generate any value
but in our metadata from the rest API there are softwares that have those values
therefore they have not been added to the reference.xml
however i made a sample to for testing
I added additional Text to the result because Datacite schema says it is TechnicalInfo so i thought maybe adding more information could be much better.
and this is the result . i can delete the textual information from the xslt if you see that it is not needed.
operating systems: Linux , MacOs
<description xml:lang="en" descriptionType="TechnicalInfo">programming languages : python</description>
MaRDI Pull Request
Changes:
in our plain.xml they are empty nodes and can not generate any value but in our metadata from the rest API there are softwares that have those values
therefore they have not been added to the reference.xml however i made a sample to for testing I added additional Text to the result because Datacite schema says it is TechnicalInfo so i thought maybe adding more information could be much better. and this is the result . i can delete the textual information from the xslt if you see that it is not needed.
looking forward for your feedback