From: <hei...@us...> - 2010-09-07 16:24:43
|
Revision: 6548 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=6548&view=rev Author: heikkidoeleman Date: 2010-09-07 16:24:36 +0000 (Tue, 07 Sep 2010) Log Message: ----------- Modified Paths: -------------- sandbox/3.0.-OWL/owl2ebrim/xslt/owl2ebrim.xslt Modified: sandbox/3.0.-OWL/owl2ebrim/xslt/owl2ebrim.xslt =================================================================== --- sandbox/3.0.-OWL/owl2ebrim/xslt/owl2ebrim.xslt 2010-09-07 16:21:29 UTC (rev 6547) +++ sandbox/3.0.-OWL/owl2ebrim/xslt/owl2ebrim.xslt 2010-09-07 16:24:36 UTC (rev 6548) @@ -15,9 +15,8 @@ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" -xmlns:ext="http://exslt.org/common" xmlns:Storm="http://www.semanticweb.org/ontologies/2009/11/Storm.owl#" -exclude-result-prefixes="Storm ext xsl xs fn xsp swrlb swrl protege rdf xsd rdfs owl"> +exclude-result-prefixes="Storm xsl xs fn xsp swrlb swrl protege rdf xsd rdfs owl"> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" byte-order-mark="no"/> @@ -162,7 +161,9 @@ <!-- (1) Object Properties --> <xsl:apply-templates select="//owl:ObjectProperty"/> <!-- (2) Data Properties --> - <xsl:apply-templates select="//owl:DatatypeProperty"/> </rim:ClassificationScheme> + <xsl:apply-templates select="//owl:DatatypeProperty"/> + + </rim:ClassificationScheme> <!-- - - - - - - - - - --> <!-- Ontology Classes --> @@ -193,8 +194,7 @@ <xsl:template match="/rdf:RDF/Storm:*"> - <WWWWWW>WWWWW</WWWWWW> - <xsl:copy></xsl:copy> + <xsl:comment>TODO</xsl:comment> </xsl:template> @@ -202,7 +202,7 @@ <!-- create associationTypes for <owl:ObjectProperty> elements --> <xsl:template match="//owl:ObjectProperty"> <xsl:variable name="prefix">urn:owl:def:ebRIM-classificationScheme:AssociationType</xsl:variable> - <xsl:variable name="about" select="ext:node-set(@rdf:about)"/> + <xsl:variable name="about" select="@rdf:about"/> <xsl:variable name="id" select="concat($prefix, $about)"/> <!-- sneaky trick to start comment on new line --> <xsl:text> @@ -225,7 +225,7 @@ <!-- create associationTypes for <owl:DatatypeProperty> elements --> <xsl:template match="//owl:DatatypeProperty"> <xsl:variable name="prefix">urn:owl:def:ebRIM-classificationScheme:AssociationType</xsl:variable> - <xsl:variable name="about" select="ext:node-set(@rdf:about)"/> + <xsl:variable name="about" select="@rdf:about"/> <xsl:variable name="id" select="concat($prefix, $about)"/> <!-- sneaky trick to start comment on new line --> <xsl:text> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |