Changeset 816
- Timestamp:
- 10/26/10 14:34:07 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
metadata/trunk/toolkit/xslt/comp2schema-v2/comp2schema.xsl
r810 r816 58 58 59 59 <!-- import this for the use of the xml:lang attribute --> 60 < !--<xs:import namespace="http://www.w3.org/XML/1998/namespace"60 <xs:import namespace="http://www.w3.org/XML/1998/namespace" 61 61 schemaLocation="http://www.w3.org/2001/xml.xsd"/> 62 --> 62 63 63 64 64 <!-- first create complex types for valueschemes (not inline) --> … … 254 254 <xsl:apply-templates select="./AttributeList/Attribute"/> 255 255 <!-- temporarily disabled --> 256 < !--<xsl:if test="./@Multilingual">256 <xsl:if test="./@Multilingual"> 257 257 <xs:attribute ref="xml:lang"/> 258 </xsl:if> -->258 </xsl:if> 259 259 </xs:extension> 260 260 </xs:simpleContent> … … 361 361 362 362 <!-- if the multilingual attribute is there and the field has the type string, allow multuple occurrences --> 363 < !--<xsl:template match="@Multilingual[../@ValueScheme='string'][. = 'true'] ">-->363 <xsl:template match="@Multilingual[../@ValueScheme='string'][. = 'true'] "> 364 364 <!-- temporarily disabled until Arbil can deal with the <xs:import> to cope with xml:lang --> 365 < !--<xsl:attribute name="maxOccurs">365 <xsl:attribute name="maxOccurs"> 366 366 <xsl:value-of>unbounded</xsl:value-of> 367 </xsl:attribute> -->368 < !--</xsl:template>-->367 </xsl:attribute> 368 </xsl:template> 369 369 370 370 <xsl:template match="@Multilingual"> … … 372 372 </xsl:template> 373 373 374 < !--<xsl:template match="@CardinalityMax[../@Multilingual='true'][../@ValueScheme='string']">-->374 <xsl:template match="@CardinalityMax[../@Multilingual='true'][../@ValueScheme='string']"> 375 375 <!-- do nothing - maxOccurs should be set by Multilingual rule for strings --> 376 < !--</xsl:template>-->376 </xsl:template> 377 377 378 378 <!-- end multilinguality part -->
Note: See TracChangeset
for help on using the changeset viewer.