Project

General

Profile

« Previous | Next » 

Revision 48178

set the datasource prefix

View differences:

openaireMdBuilder.xslt.st
31 31

  
32 32
            <oai:header>
33 33
                <dri:dateOfCollection><xsl:value-of select="\$datestamp"/></dri:dateOfCollection>
34
                 <xsl:if test="not(.//oaf:datasourceprefix)">
35
                     <oaf:datasourceprefix>$namespacePrefix$</oaf:datasourceprefix>
36
                 </xsl:if>
34 37
                <xsl:for-each select="//*[local-name() = 'header']/*[local-name() != 'dateOfCollection']">
35 38
                    <xsl:copy-of select="."/>
36 39
                </xsl:for-each>

Also available in: Unified diff