Sha256: 9d00d28dad4aa449410df46e3e2a0cfdb53c0f568237ff0a78ecfab190c34bda

Contents?: true

Size: 975 Bytes

Versions: 6

Compression:

Stored size: 975 Bytes

Contents

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:uml="http://schema.omg.org/spec/UML/2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns0="http://uml/2#">
	<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
	

	<xsl:template match="*|@*">
		<xsl:copy>
			<xsl:apply-templates select="@*"/>
			<xsl:apply-templates select="node()"/>
		</xsl:copy>
	</xsl:template> 
	<xsl:template match="@rdf:about[starts-with(.,'EA')]">
		<xsl:attribute name="rdf:about">
			<xsl:value-of select="concat('http://EA#',.)"/>
		</xsl:attribute>
	</xsl:template>
	<xsl:template match="@rdf:resource[starts-with(.,'EA')]">
		<xsl:attribute name="rdf:resource">
			<xsl:value-of select="concat('http://EA#',.)"/>
		</xsl:attribute>
	</xsl:template>
	

</xsl:stylesheet>

Version data entries

6 entries across 2 versions & 1 rubygems

Version Path
ontomde-core-2.0.4 lib/ontomde-core/converter-ea/7_1_833/XMI2RDFS_step2.xslt
ontomde-core-2.0.4 lib/ontomde-core/converter-ea/7_5_843/XMI2RDFS_step2.xslt
ontomde-core-2.0.5 lib/ontomde-core/converter-ea/7_5_843/XMI2RDFS_step2.xslt
ontomde-core-2.0.4 lib/ontomde-core/converter-ea/7_1_829/XMI2RDFS_step2.xslt
ontomde-core-2.0.5 lib/ontomde-core/converter-ea/7_1_829/XMI2RDFS_step2.xslt
ontomde-core-2.0.5 lib/ontomde-core/converter-ea/7_1_833/XMI2RDFS_step2.xslt