Changeset 2330
- Timestamp:
- 10/24/12 07:20:55 (12 years ago)
- Location:
- cats/ISOcat/trunk/mod-ISOcat-interface-rest/representations/dcs2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cats/ISOcat/trunk/mod-ISOcat-interface-rest/representations/dcs2/rng.xsl
r2327 r2330 100 100 <rng:value> 101 101 <rng:data type="{$datatype}"> 102 <xsl:copy-of select="(dcif:conceptualDomain[dcif:ruleType='Relax NG datatype parameter']/dcif:rule/*)[1]"/> 102 <xsl:copy-of copy-namespaces="no" 103 select="(dcif:conceptualDomain[dcif:ruleType='Relax NG datatype parameter']/dcif:rule/*)[1]"/> 103 104 </rng:data> 104 105 </rng:value> … … 117 118 <xsl:variable name="datatype" select="(dcif:conceptualDomain/dcif:dataType)[1]"/> 118 119 <xsl:attribute name="type" select="concat('xs:',$datatype)"/> 119 <xsl:copy-of select="(dcif:conceptualDomain[dcif:ruleType='Schematron rule']/dcif:rule/*)[1]"/> 120 <xsl:copy-of copy-namespaces="no" 121 select="(dcif:conceptualDomain[dcif:ruleType='Schematron rule']/dcif:rule/*)[1]"/> 120 122 </xsl:when> 121 123 <xsl:when test="dcif:conceptualDomain[dcif:ruleType='SCHEMAcat reference']"> 122 <xsl:copy-of select="(dcif:conceptualDomain[dcif:ruleType='SCHEMAcat reference']/dcif:rule/*)[1]"/> 124 <xsl:copy-of copy-namespaces="no" 125 select="(dcif:conceptualDomain[dcif:ruleType='SCHEMAcat reference']/dcif:rule/*)[1]"/> 123 126 <xsl:variable name="datatype" select="(dcif:conceptualDomain/dcif:dataType)[1]"/> 124 127 <rng:value> -
cats/ISOcat/trunk/mod-ISOcat-interface-rest/representations/dcs2/xsd.xsl
r2326 r2330 102 102 <xs:simpleType> 103 103 <xs:restriction base="xs:{$datatype}"> 104 <xsl:copy-of 104 <xsl:copy-of copy-namespaces="no" 105 105 select="(dcif:conceptualDomain[dcif:ruleType='XML Schema facet']/dcif:rule/*)[1]"/> 106 106 </xs:restriction> … … 120 120 <xsl:variable name="datatype" select="(dcif:conceptualDomain/dcif:dataType)[1]"/> 121 121 <xsl:attribute name="type" select="concat('xs:',$datatype)"/> 122 <xsl:copy-of 122 <xsl:copy-of copy-namespaces="no" 123 123 select="(dcif:conceptualDomain[dcif:ruleType='Schematron rule']/dcif:rule/*)[1]"/> 124 124 </xsl:when> … … 128 128 <xs:annotation> 129 129 <xs:appinfo> 130 <xsl:copy-of 130 <xsl:copy-of copy-namespaces="no" 131 131 select="(dcif:conceptualDomain[dcif:ruleType='SCHEMAcat reference']/dcif:rule/*)[1]"/> 132 132 </xs:appinfo>
Note: See TracChangeset
for help on using the changeset viewer.