Skip to content

Commit

Permalink
IM-98 add orcid filter to exclude non confirmed documents
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrebs committed Nov 1, 2024
1 parent 350f833 commit 49c6454
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/main/resources/xslt/orcid2/orcid-object-filter.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="3.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:mods="http://www.loc.gov/mods/v3"
exclude-result-prefixes="xsl">

<xsl:include href="copynodes.xsl" />

<xsl:template match="/">
<xsl:if test="//servflag[@type='status'] = 'confirmed'">
<xsl:apply-templates />
</xsl:if>
</xsl:template>

</xsl:stylesheet>

0 comments on commit 49c6454

Please sign in to comment.