dev-core
 

Changeset 9400

Show
Ignore:
Timestamp:
25.07.2007 16:34:31 (1 year ago)
Author:
sam
Message:

webSiteToWebSiteTransf: sur WIFrame ajout de @marginheight @marginwidth @frameborder @scrolling

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Wsp_Modeling/es/content/transf/webSiteToWebSiteGenTransf/xml.xed.xml

    r8599 r9400  
    229229                                                                        <atts> 
    230230                                                                                <se:ref se:refid="atts_Class"/> 
     231                                                                                <attribute se:name="marginheight" se:bind="attribute"> 
     232                                                                                        <wordsInput trim="true"/> 
     233                                                                                </attribute> 
     234                                                                                <attribute se:name="marginwidth" se:bind="attribute"> 
     235                                                                                        <wordsInput trim="true"/> 
     236                                                                                </attribute> 
     237                                                                                <attribute se:name="frameborder" se:bind="attribute"> 
     238                                                                                        <choiceInput> 
     239                                                                                                <ciItem label="no"/> 
     240                                                                                                <ciItem label="yes"/> 
     241                                                                                        </choiceInput> 
     242                                                                                </attribute> 
     243                                                                                <attribute se:name="scrolling" se:bind="attribute"> 
     244                                                                                        <choiceInput> 
     245                                                                                                <ciItem label="yes"/> 
     246                                                                                                <ciItem label="no"/> 
     247                                                                                                <ciItem label="auto"/> 
     248                                                                                        </choiceInput> 
     249                                                                                </attribute> 
    231250                                                                        </atts> 
    232251                                                                        <childs> 
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_webSiteToWebSiteGenTransf/bsDescContent.xml.xsl

    r8599 r9400  
    196196        <!-- WIFrame --> 
    197197        <xsl0:template match="sm:WIFrame" mode="xhtml"> 
    198                 <iframe class="{$vPrefixClass}_{@internalClass} {@commonClass}" src="[![agent=//url_{generate-id(sm:url)}]!]"/> 
     198                <iframe class="{$vPrefixClass}_{@internalClass} {@commonClass}" src="[![agent=//url_{generate-id(sm:url)}]!]"> 
     199                        <xsl0:attribute name="frameborder"><xsl0:value-of select="si(@frameborder='yes','1','0')"/></xsl0:attribute> 
     200                        <xsl0:if test="@scrolling"><xsl0:attribute name="scrolling"><xsl0:value-of select="@scrolling"/></xsl0:attribute></xsl0:if> 
     201                        <xsl0:if test="@marginheight"><xsl0:attribute name="marginheight"><xsl0:value-of select="@marginheight"/></xsl0:attribute></xsl0:if> 
     202                        <xsl0:if test="@marginwidth"><xsl0:attribute name="marginwidth"><xsl0:value-of select="@marginwidth"/></xsl0:attribute></xsl0:if> 
     203                </iframe> 
    199204        </xsl0:template> 
    200205