Changeset 7304

Show
Ignore:
Timestamp:
14.11.2006 13:32:17 (3 years ago)
Author:
sam
Message:

Ticket #67 - doctype sans URL dans webSiteGenerator

Location:
branches/3.2.x/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • branches/3.2.x/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_armoireUiTemplate.xml

    r6267 r7304  
    7676                                <zone cle="mainZone" type="contextuel-dynamique"> 
    7777                                        <choose> 
     78                                                <case xpath="resultatAgent('//agentGenerator', 'standard/xslMethod') = 'html' and resultatAgent('//agentGenerator', 'standard/doctypeUri') = 'no'" type="xslOnSrc-dynamique" href="bs:templateHtmlDtNoUri.wm.xsl"/> 
    7879                                                <case xpath="resultatAgent('//agentGenerator', 'standard/xslMethod') = 'html'" type="xslOnSrc-dynamique" href="bs:templateHtml.wm.xsl"/> 
    7980                                                <default type="xslOnSrc-dynamique" href="bs:templateXhtml.wm.xsl"/> 
  • branches/3.2.x/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_armoireUiTemplate/templateHtml.wm.xsl

    r4992 r7304  
    4343                xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
    4444                version="1.0"> 
    45         <xsl:output method="html" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/> 
     45        <xsl:output method="html" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd"/> 
    4646         
    4747        <xsl:include href="bs:template.wm.xsl"/> 
  • branches/3.2.x/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_webSiteGenerator.xml

    r6267 r7304  
    6666                <!-- @API Retourne la m�ode de publication des XSL en fonction du standard de publication. --> 
    6767                <valeur code="xslMethod"> 
    68                         <source type="xpath-statique">si(sm:mode/@standard='HTML 4.01 Transitional', 'html', 'xml')</source> 
     68                        <source type="xpath-statique">si(starts-with(sm:mode/@standard,'HTML 4.01 Transitional'), 'html', 'xml')</source> 
     69                </valeur> 
     70                <valeur code="doctypeUri"> <!-- HACK pour ajouter ou non l'uri de la dtd au doctype dans les uiTemplates uniquement --> 
     71                        <source type="xpath-statique">si(starts-with(sm:mode/@standard,'XHTML') or contains(sm:mode/@standard,'Standards mode'), 'yes', 'no')</source> 
    6972                </valeur> 
    7073        </valeur>