Project

General

Profile

« Previous | Next » 

Revision 46549

fixed bug on generation of scholix

View differences:

dmfdli2hbase.xml
163 163
                                                <xsl:variable name="relationSemantic" select="./@relationType"/>
164 164
                                                <xsl:variable name="inverseRelationSemantic"
165 165
                                                              select="./@inverseRelationType"/>
166

  
167

  
168 166
                                                <xsl:variable name="enityId"
169 167
                                                              select="dnet:createDNetEntityIdentifier(./@relatedIdentifierType, ., $namespaceprefix, 'unknown')"/>
170 168

  
171
                                                <ROW>
172
                                                    <xsl:attribute name="value">
173
                                                        <xsl:value-of
174
                                                                select="dnet:createEntity(./@relatedIdentifierType, ., $namespaceprefix, $about, 'incomplete')"/>
175
                                                    </xsl:attribute>
176
                                                </ROW>
177
                                                <ROW>
178
                                                    <xsl:attribute name="value">
179
                                                        <xsl:value-of
180
                                                                select="dnet:createRel($datasetId, $enityId, $relationSemantic, 'dataset_unknown', $provenance, $trust, $about)"/>
181
                                                    </xsl:attribute>
182
                                                </ROW>
183
                                                <ROW>
184
                                                    <xsl:attribute name="value">
185
                                                        <xsl:value-of
186
                                                                select="dnet:createRel($enityId, $datasetId, $inverseRelationSemantic, 'dataset_unknown', $provenance, $trust, $about)"/>
187
                                                    </xsl:attribute>
188
                                                </ROW>
169
                                                <xsl:if test="string-length(normalize-space(.)) &gt; 0">
170
                                                    <ROW>
171
                                                        <xsl:attribute name="value">
172
                                                            <xsl:value-of
173
                                                                    select="dnet:createEntity(./@relatedIdentifierType, ., $namespaceprefix, $about, 'incomplete')"/>
174
                                                        </xsl:attribute>
175
                                                    </ROW>
176
                                                    <ROW>
177
                                                        <xsl:attribute name="value">
178
                                                            <xsl:value-of
179
                                                                    select="dnet:createRel($datasetId, $enityId, $relationSemantic, 'dataset_unknown', $provenance, $trust, $about)"/>
180
                                                        </xsl:attribute>
181
                                                    </ROW>
182
                                                    <ROW>
183
                                                        <xsl:attribute name="value">
184
                                                            <xsl:value-of
185
                                                                    select="dnet:createRel($enityId, $datasetId, $inverseRelationSemantic, 'dataset_unknown', $provenance, $trust, $about)"/>
186
                                                        </xsl:attribute>
187
                                                    </ROW>
188
                                                </xsl:if>
189 189
                                            </xsl:for-each>
190 190
                                        </ROWS>
191 191
                                    </xsl:if>

Also available in: Unified diff