Project

General

Profile

« Previous | Next » 

Revision 28394

-schema relationships refactored
-xslt updated
-mock transformation added

View differences:

EpidocToEMF.xsl
132 132
						        	 	<bibliography>
133 133
											<xsl:value-of select="."></xsl:value-of>					        	
134 134
						        	 	</bibliography>
135
					        </xsl:for-each>
135
					        		</xsl:for-each>
136 136
								</hasTranscription>
137 137
							</inscription>
138 138
						</artifact>
......
222 222
							    	<xsl:value-of select="./tei:desc/tei:ref" />
223 223
							    </visualRepresentationIpr>
224 224
							    <xsl:call-template name="hasArtifactTemplate" />
225
								<xsl:call-template name="hasDocumentalManifestationTemplate" >
226
									<xsl:with-param name="docType">transcription</xsl:with-param>
227
								</xsl:call-template>
225 228
								
226 229
<!-- 							    These properties down here cannot be initialized for epidoc -->
227 230
<!-- 							    <representationType>???</representationType> -->
......
401 404
			<xsl:call-template name="conservationPlaceTemplate" />
402 405
		</hasArtifact>
403 406
	</xsl:template>
407
	
408
	<xsl:template name="hasDocumentalManifestationTemplate">
409
		<xsl:param name="docType" />
410
		
411
		<hasDocumentalManifestation>
412
			<xsl:call-template name="idsTemplate">
413
				<xsl:with-param name="prefix">documental</xsl:with-param>
414
			</xsl:call-template>
415
			<documentType>
416
				<xsl:value-of select="$docType" />
417
			</documentType>
418
			<xsl:for-each select="//tei:bibl">
419
				<bibliography>
420
					<xsl:value-of select="."></xsl:value-of>					        	
421
				</bibliography>
422
			</xsl:for-each>
423
		</hasDocumentalManifestation>
424
	</xsl:template>
404 425
</xsl:stylesheet>

Also available in: Unified diff