Ignore:
Timestamp:
10/16/12 05:17:34 (12 years ago)
Author:
mwindhouwer
Message:

M comp2schema-v2/comp2schema.xsl

  • allow @xml:base (possibly a residue of XInclude processing) to appear on a CMD component instance
File:
1 edited

Legend:

Unmodified
Added
Removed
  • metadata/trunk/toolkit/xslt/comp2schema-v2/comp2schema.xsl

    r1772 r2310  
    197197
    198198        <xs:element name="{@name}">
    199 
     199           
    200200            <xsl:if test="$MinOccurs">
    201201                <xsl:attribute name="minOccurs">
     
    218218                    <xsl:apply-templates select="./CMD_Component"/>
    219219                </xs:sequence>
     220                <!-- allow @xml:base as a residue of XInclude processing -->
     221                <xs:attribute ref="xml:base"/>
     222                <!-- @ref to the resource proxy (TODO: put this in the CMD namespace, i.e., @cmd:ref -->                 
    220223                <xs:attribute name="ref" type="xs:IDREFS"/>
    221224                <xsl:apply-templates select="./AttributeList/Attribute"/>
     
    311314                </xsl:attribute>
    312315            </xsl:if>
    313 
     316           
    314317            <!-- add some extra stuff if we have a CV attribute -->
    315318            <xsl:choose>
Note: See TracChangeset for help on using the changeset viewer.