Changeset 3799 for CMDI-Interoperability
- Timestamp:
- 10/18/13 11:32:45 (11 years ago)
- Location:
- CMDI-Interoperability/CMD2RDF/trunk/xsl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CMDI-Interoperability/CMD2RDF/trunk/xsl/CMDRecord2RDF.xsl
r3798 r3799 170 170 <!-- find the matching instances --> 171 171 <xsl:for-each select="$instance/@*[local-name()=$name]"> 172 <xsl:element name="{$has} " namespace="{$ns}">172 <xsl:element name="{$has}Value" namespace="{$ns}"> 173 173 <!-- map the CMD XSD datatype to a datatype supported by RDF --> 174 174 <xsl:attribute name="rdf:datatype" select="concat('&xsd;',cmd:datatype($profile/Type))"/> -
CMDI-Interoperability/CMD2RDF/trunk/xsl/Component2RDF.xsl
r3798 r3799 147 147 <xsl:variable name="has" select="concat(cmd:path($context,concat('has',Name)),'Attribute')"/> 148 148 <!-- an attribute becomes a property --> 149 <rdf:Property rdf:about="{$has} ">149 <rdf:Property rdf:about="{$has}Value"> 150 150 <rdfs:subPropertyOf rdf:resource="&cmdm;hasAttributeValue"/> 151 151 <xsl:call-template name="generic"/>
Note: See TracChangeset
for help on using the changeset viewer.