]> Lady’s Gitweb - Vocab/blobdiff - parsers/ontology.xslt
Make pcdm:File a siocactions:DigitalArtifact
[Vocab] / parsers / ontology.xslt
index 83d0079f28573b3a46d9c30752eba6920de8795d..dce85eb1e83954e0c45f412c083122ca95953442 100644 (file)
@@ -335,6 +335,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                                                                </call-template>
                                                        </variable>
                                                        <if test="$prefixed!='xsd:string'">
+                                                               <text>^^</text>
                                                                <choose>
                                                                        <when test="contains($prefixed, '/') or contains(substring-after($prefixed, ':'), ':')">
                                                                                <text>&lt;</text>
@@ -371,7 +372,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                                <when test="contains(' superClassOf ', $spaced)">
                                        <text>Vocabvocab:</text>
                                </when>
-                               <when test="contains(' code em p strong ', $spaced)">
+                               <when test="contains(' code em p strong var ', $spaced)">
                                        <text>html:</text>
                                </when>
                                <when test="contains(' AllDifferent AllDisjointClasses AllDisjointProperties AnnotationProperty Class DatatypeProperty NamedIndividual NegativeObjectPropertyAssertion ObjectProperty Ontology Restriction allValuesFrom assertionProperty cardinality complementOf datatypeComplementOf differentFrom disjointUnionOf disjointWith equivalentClass equivalentProperty hasKey hasSelf hasValue intersectionOf inverseOf maxCardinality maxQualifiedCardinality members minCardinality minQualifiedCardinality onClass onDataRange onDatatype onProperty oneOf propertyChainAxiom propertyDisjointWith qualifiedCardinality sameAs someValuesFrom sourceIndividual targetIndividual unionOf withRestrictions ', $spaced)">
@@ -499,8 +500,8 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                                                                                                        <text>http://www.w3.org/2001/XMLSchema#string</text>
                                                                                                </when>
                                                                                                <otherwise>
-                                                                                                       <call-template name="unprefix">
-                                                                                                               <with-param name="prefixed" select="@datatype"/>
+                                                                                                       <call-template name="Vocab:unprefix">
+                                                                                                               <with-param name="prefixed" select="string(@datatype)"/>
                                                                                                        </call-template>
                                                                                                </otherwise>
                                                                                        </choose>
This page took 0.163358 seconds and 4 git commands to generate.