[Castore-commits] emn-castore-insa-s4s.xslt 1.1.2.1 1.1.2.2
emn-castore-eleves-s4s.xslt 1.1.2.3 1.1.2.4
structureRules2XSLT.xslt 1.1.2.2 1.1.2.3
emn-castore-conf-acm-s4s.xslt 1.1.2.3 1.1.2.4
Stéphane Bouchet
sbouchet at adullact1.hosting.cri74.org
Lun 6 Mar 11:03:17 CET 2006
Update of /cvsroot/castore/castore-core/src/data/s4s/stockOfStructurationFiles
In directory adullact1:/tmp/cvs-serv27902/src/data/s4s/stockOfStructurationFiles
Modified Files:
Tag: v1_1_branch
emn-castore-insa-s4s.xslt emn-castore-eleves-s4s.xslt
structureRules2XSLT.xslt emn-castore-conf-acm-s4s.xslt
Log Message:
correction bug retro convertion documents
Index: emn-castore-insa-s4s.xslt
===================================================================
RCS file: /cvsroot/castore/castore-core/src/data/s4s/stockOfStructurationFiles/emn-castore-insa-s4s.xslt,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** emn-castore-insa-s4s.xslt 7 Feb 2006 15:43:49 -0000 1.1.2.1
--- emn-castore-insa-s4s.xslt 6 Mar 2006 10:03:15 -0000 1.1.2.2
***************
*** 1,163 ****
<?xml version="1.0" encoding="UTF-8"?>
<xsl:transform xmlns:script="http://openoffice.org/2000/script"
! xmlns:dr3d="http://openoffice.org/2000/dr3d"
! xmlns:style="http://openoffice.org/2000/style"
! xmlns:math="http://www.w3.org/1998/Math/MathML"
! xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
! xmlns:text="http://openoffice.org/2000/text"
! xmlns:form="http://openoffice.org/2000/form"
! xmlns:table="http://openoffice.org/2000/table"
! xmlns:config="http://openoffice.org/2001/config"
! xmlns:draw="http://openoffice.org/2000/drawing"
! xmlns:presentation="http://openoffice.org/2000/presentation"
! xmlns:chart="http://openoffice.org/2000/chart"
! xmlns:reverse="urn:xgs:names:reverse:xmlns:reverse:2.0"
! xmlns:number="http://openoffice.org/2000/datastyle"
! xmlns:fo="http://www.w3.org/1999/XSL/Format"
! xmlns:manifest="http://openoffice.org/2001/manifest"
! xmlns:xlink="http://www.w3.org/1999/xlink"
! xmlns:office="http://openoffice.org/2000/office"
! xmlns:svg="http://www.w3.org/2000/svg"
! xmlns:meta="http://openoffice.org/2000/meta"
! xmlns:dc="http://purl.org/dc/elements/1.1/"
! version="2.0"
! exclude-result-prefixes="manifest office meta script style text table draw chart number fo xlink svg dc dr3d math form config presentation reverse"
! xpath-default-namespace="urn:xgs:names:reverse:xmlns:fxrd:1.0">
! <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
! <xsl:template match="office:document" priority="1">
! <FlatXmlRawData xmlns="urn:xgs:names:reverse:xmlns:fxrd:1.0" rootElement="doc"
! namespace="http://www.emn.fr/castore/ns">
! <xsl:apply-templates select="office:body/*"/>
! </FlatXmlRawData>
! </xsl:template>
! <xsl:template match="text:p | text:h" priority="2">
! <ParagraphElement xmlns="urn:xgs:names:reverse:xmlns:fxrd:1.0">
! <ParagraphContent>
! <xsl:apply-templates select="* | text()" mode="inline"/>
! </ParagraphContent>
! <!--Priority 5*N - S ≠0 et S' = S--><xsl:if test="reverse:style/style:style/@style:name="1|TitreThese"">
! <OutputParagraphElement name="title" containerElement="doc.info"/>
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="Heading 1"">
! <OutputParagraphElement name="title" containerElement="sect1"/>
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="Heading 2"">
! <OutputParagraphElement name="title" containerElement="sect2"/>
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="Heading 3"">
! <OutputParagraphElement name="title" containerElement="sect3"/>
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="Heading 4"">
! <OutputParagraphElement name="title" containerElement="sect4"/>
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="3|Bibli_tit1"">
! <OutputParagraphElement name="title" containerElement="bibliography"/>
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="3|Bibli_item"">
! <OutputParagraphElement name="biblioentry" containerElement="biblioentries"/>
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="Texte Char"">
! <OutputParagraphElement name="para"/>
! </xsl:if>
! <!--Priority 4*N - S = 0 et Typo(S') ~= P--><!--Priority 3*N - S ≠0 et Typo(S') ~= P--><xsl:if test=".[reverse:style/style:style/style:properties/@style:font-name="Verdana"][reverse:style/style:style/style:properties/@style:font-size="18"][reverse:style/style:style/style:properties/@style:font-style="normal"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
! <OutputParagraphElement name="title" containerElement="doc.info"/>
! </xsl:if>
! <xsl:if test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="18"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
! <OutputParagraphElement name="title" containerElement="sect1"/>
! </xsl:if>
! <xsl:if test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="16"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
! <OutputParagraphElement name="title" containerElement="sect2"/>
! </xsl:if>
! <xsl:if test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="14"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
! <OutputParagraphElement name="title" containerElement="sect3"/>
! </xsl:if>
! <xsl:if test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="12"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
! <OutputParagraphElement name="title" containerElement="sect4"/>
! </xsl:if>
! <xsl:if test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="18"][reverse:style/style:style/style:properties/@style:font-weight="bold"][text()="Bibliographie*"]">
! <OutputParagraphElement name="title" containerElement="bibliography"/>
! </xsl:if>
! <xsl:if test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="12"][reverse:style/style:style/style:properties/@style:font-weight="normal"]">
! <OutputParagraphElement name="biblioentry" containerElement="biblioentries"/>
! </xsl:if>
! <xsl:if test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="12"][reverse:style/style:style/style:properties/@style:font-weight="normal"]">
! <OutputParagraphElement name="para"/>
! </xsl:if>
! <!--Priority 2*N - S ≠0 et Typo(S') + P" ~= P--><xsl:if test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Verdana") or reverse:auto/style:style/style:properties/@style:font-name="Verdana")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="18") or reverse:auto/style:style/style:properties/@style:font-size="18")][((reverse:auto/style:style/style:properties/@style:font-style="" and reverse:style/style:style/style:properties/@style:font-style="normal") or reverse:auto/style:style/style:properties/@style:font-style="normal")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
! <OutputParagraphElement name="title" containerElement="doc.info"/>
! </xsl:if>
! <xsl:if test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="18") or reverse:auto/style:style/style:properties/@style:font-size="18")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
! <OutputParagraphElement name="title" containerElement="sect1"/>
! </xsl:if>
! <xsl:if test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="16") or reverse:auto/style:style/style:properties/@style:font-size="16")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
! <OutputParagraphElement name="title" containerElement="sect2"/>
! </xsl:if>
! <xsl:if test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="14") or reverse:auto/style:style/style:properties/@style:font-size="14")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
! <OutputParagraphElement name="title" containerElement="sect3"/>
! </xsl:if>
! <xsl:if test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="12") or reverse:auto/style:style/style:properties/@style:font-size="12")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
! <OutputParagraphElement name="title" containerElement="sect4"/>
! </xsl:if>
! <xsl:if test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="18") or reverse:auto/style:style/style:properties/@style:font-size="18")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")][text()="Bibliographie*"]">
! <OutputParagraphElement name="title" containerElement="bibliography"/>
! </xsl:if>
! <xsl:if test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="12") or reverse:auto/style:style/style:properties/@style:font-size="12")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="normal") or reverse:auto/style:style/style:properties/@style:font-weight="normal")]">
! <OutputParagraphElement name="biblioentry" containerElement="biblioentries"/>
! </xsl:if>
! <xsl:if test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="12") or reverse:auto/style:style/style:properties/@style:font-size="12")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="normal") or reverse:auto/style:style/style:properties/@style:font-weight="normal")]">
! <OutputParagraphElement name="para"/>
! </xsl:if>
! <!--Priority N : Default rule--><OutputParagraphElement name="para"/>
! </ParagraphElement>
! </xsl:template>
! <xsl:template match="text:* | table:* | draw:*" priority="1"/>
! <xsl:template match="text()" mode="inline">
! <Text xmlns="urn:xgs:names:reverse:xmlns:fxrd:1.0">
! <xsl:value-of select="."/>
! </Text>
! </xsl:template>
! <xsl:template match="text:*" mode="inline">
! <xsl:apply-templates select="* | text()" mode="inline"/>
! </xsl:template>
! <xsl:template match="reverse:*" mode="inline"/>
! <xsl:template match="*" mode="inline">
! <InlineLayoutElement xmlns="urn:xgs:names:reverse:xmlns:fxrd:1.0">
! <OutputInlineElement>
! <xsl:copy-of select="." copy-namespaces="no"/>
! </OutputInlineElement>
! <SubstituteText><! [CDATA [ ]]></SubstituteText>
! </InlineLayoutElement>
! </xsl:template>
! <xsl:template match="*">
! <LayoutElement xmlns="urn:xgs:names:reverse:xmlns:fxrd:1.0">
! <OutputLayoutElement>
! <xsl:apply-templates select="." mode="embeddedLayoutElement"/>
! </OutputLayoutElement>
! <SubstituteParagraphElements>
! <xsl:choose>
! <xsl:when test="descendant::text:p">
! <xsl:apply-templates select="descendant::text:p"/>
! </xsl:when>
! <xsl:otherwise>
! <ParagraphElement>
! <ParagraphContent>
! <Text>OutputLayoutElement</Text>
! </ParagraphContent>
! <OutputParagraphElement name="para"/>
! </ParagraphElement>
! </xsl:otherwise>
! </xsl:choose>
! </SubstituteParagraphElements>
! </LayoutElement>
! </xsl:template>
! <xsl:template match="*" mode="embeddedLayoutElement">
! <xsl:copy copy-namespaces="no">
! <xsl:copy-of select="@*"/>
! <xsl:apply-templates select="*" mode="embeddedLayoutElement"/>
! </xsl:copy>
! </xsl:template>
! <xsl:template match="text:*" mode="embeddedLayoutElement">
! <xsl:apply-templates select="."/>
! </xsl:template>
! <xsl:template match="reverse:*" mode="embeddedLayoutElement"/>
</xsl:transform>
\ No newline at end of file
--- 1,175 ----
<?xml version="1.0" encoding="UTF-8"?>
<xsl:transform xmlns:script="http://openoffice.org/2000/script"
! xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:style="http://openoffice.org/2000/style"
! xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
! xmlns:text="http://openoffice.org/2000/text" xmlns:form="http://openoffice.org/2000/form"
! xmlns:table="http://openoffice.org/2000/table" xmlns:config="http://openoffice.org/2001/config"
! xmlns:draw="http://openoffice.org/2000/drawing"
! xmlns:presentation="http://openoffice.org/2000/presentation"
! xmlns:chart="http://openoffice.org/2000/chart"
! xmlns:reverse="urn:xgs:names:reverse:xmlns:reverse:2.0"
! xmlns:number="http://openoffice.org/2000/datastyle" xmlns:fo="http://www.w3.org/1999/XSL/Format"
! xmlns:manifest="http://openoffice.org/2001/manifest" xmlns:xlink="http://www.w3.org/1999/xlink"
! xmlns:office="http://openoffice.org/2000/office" xmlns:svg="http://www.w3.org/2000/svg"
! xmlns:meta="http://openoffice.org/2000/meta" xmlns:dc="http://purl.org/dc/elements/1.1/"
! version="2.0"
! exclude-result-prefixes="manifest office meta script style text table draw chart number fo xlink svg dc dr3d math form config presentation reverse"
! xpath-default-namespace="urn:xgs:names:reverse:xmlns:fxrd:1.0">
! <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no" />
! <xsl:template match="office:document" priority="1">
! <FlatXmlRawData xmlns="urn:xgs:names:reverse:xmlns:fxrd:1.0" rootElement="doc"
! namespace="http://www.emn.fr/castore/ns">
! <xsl:apply-templates select="office:body/*" />
! </FlatXmlRawData>
! </xsl:template>
! <xsl:template match="text:p | text:h" priority="2">
! <ParagraphElement xmlns="urn:xgs:names:reverse:xmlns:fxrd:1.0">
! <ParagraphContent>
! <xsl:apply-templates select="* | text()" mode="inline" />
! </ParagraphContent>
! <!--Priority 5*N - S ≠0 et S' = S-->
! <xsl:if test="reverse:style/style:style/@style:name="1|TitreThese"">
! <OutputParagraphElement name="title" containerElement="doc.info" />
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="Heading 1"">
! <OutputParagraphElement name="title" containerElement="sect1" />
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="Heading 2"">
! <OutputParagraphElement name="title" containerElement="sect2" />
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="Heading 3"">
! <OutputParagraphElement name="title" containerElement="sect3" />
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="Heading 4"">
! <OutputParagraphElement name="title" containerElement="sect4" />
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="3|Bibli_tit1"">
! <OutputParagraphElement name="title" containerElement="bibliography" />
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="3|Bibli_item"">
! <OutputParagraphElement name="biblioentry" containerElement="biblioentries" />
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="Texte Char"">
! <OutputParagraphElement name="para" />
! </xsl:if>
! <!--Priority 4*N - S = 0 et Typo(S') ~= P--><!--Priority 3*N - S ≠0 et Typo(S') ~= P-->
! <xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Verdana"][reverse:style/style:style/style:properties/@fo:font-size="18pt"][reverse:style/style:style/style:properties/@fo:font-style="normal"][reverse:style/style:style/style:properties/@fo:font-weight="bold"]">
! <OutputParagraphElement name="title" containerElement="doc.info" />
! </xsl:if>
! <xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@fo:font-size="18pixel"][reverse:style/style:style/style:properties/@fo:font-weight="bold"]">
! <OutputParagraphElement name="title" containerElement="sect1" />
! </xsl:if>
! <xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@fo:font-size="16pixel"][reverse:style/style:style/style:properties/@fo:font-weight="bold"]">
! <OutputParagraphElement name="title" containerElement="sect2" />
! </xsl:if>
! <xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@fo:font-size="14pixel"][reverse:style/style:style/style:properties/@fo:font-weight="bold"]">
! <OutputParagraphElement name="title" containerElement="sect3" />
! </xsl:if>
! <xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@fo:font-size="12pixel"][reverse:style/style:style/style:properties/@fo:font-weight="bold"]">
! <OutputParagraphElement name="title" containerElement="sect4" />
! </xsl:if>
! <xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@fo:font-size="18pixel"][reverse:style/style:style/style:properties/@fo:font-weight="bold"][text()="Bibliographie*"]">
! <OutputParagraphElement name="title" containerElement="bibliography" />
! </xsl:if>
! <xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@fo:font-size="12pixel"][reverse:style/style:style/style:properties/@fo:font-weight="normal"]">
! <OutputParagraphElement name="biblioentry" containerElement="biblioentries" />
! </xsl:if>
! <xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@fo:font-size="12pt"][reverse:style/style:style/style:properties/@fo:font-weight="normal"]">
! <OutputParagraphElement name="para" />
! </xsl:if>
! <!--Priority 2*N - S ≠0 et Typo(S') + P" ~= P-->
! <xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Verdana") or reverse:auto/style:style/style:properties/@style:font-name="Verdana")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="18pt") or reverse:auto/style:style/style:properties/@fo:font-size="18pt")][((reverse:auto/style:style/style:properties/@fo:font-style="" and reverse:style/style:style/style:properties/@fo:font-style="normal") or reverse:auto/style:style/style:properties/@fo:font-style="normal")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="bold") or reverse:auto/style:style/style:properties/@fo:font-weight="bold")]">
! <OutputParagraphElement name="title" containerElement="doc.info" />
! </xsl:if>
! <xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="18pixel") or reverse:auto/style:style/style:properties/@fo:font-size="18pixel")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="bold") or reverse:auto/style:style/style:properties/@fo:font-weight="bold")]">
! <OutputParagraphElement name="title" containerElement="sect1" />
! </xsl:if>
! <xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="16pixel") or reverse:auto/style:style/style:properties/@fo:font-size="16pixel")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="bold") or reverse:auto/style:style/style:properties/@fo:font-weight="bold")]">
! <OutputParagraphElement name="title" containerElement="sect2" />
! </xsl:if>
! <xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="14pixel") or reverse:auto/style:style/style:properties/@fo:font-size="14pixel")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="bold") or reverse:auto/style:style/style:properties/@fo:font-weight="bold")]">
! <OutputParagraphElement name="title" containerElement="sect3" />
! </xsl:if>
! <xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="12pixel") or reverse:auto/style:style/style:properties/@fo:font-size="12pixel")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="bold") or reverse:auto/style:style/style:properties/@fo:font-weight="bold")]">
! <OutputParagraphElement name="title" containerElement="sect4" />
! </xsl:if>
! <xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="18pixel") or reverse:auto/style:style/style:properties/@fo:font-size="18pixel")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="bold") or reverse:auto/style:style/style:properties/@fo:font-weight="bold")][text()="Bibliographie*"]">
! <OutputParagraphElement name="title" containerElement="bibliography" />
! </xsl:if>
! <xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="12pixel") or reverse:auto/style:style/style:properties/@fo:font-size="12pixel")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="normal") or reverse:auto/style:style/style:properties/@fo:font-weight="normal")]">
! <OutputParagraphElement name="biblioentry" containerElement="biblioentries" />
! </xsl:if>
! <xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="12pt") or reverse:auto/style:style/style:properties/@fo:font-size="12pt")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="normal") or reverse:auto/style:style/style:properties/@fo:font-weight="normal")]">
! <OutputParagraphElement name="para" />
! </xsl:if>
! <!--Priority N : Default rule-->
! <OutputParagraphElement name="para" />
! </ParagraphElement>
! </xsl:template>
! <xsl:template match="text:* | table:* | draw:*" priority="1" />
! <xsl:template match="text()" mode="inline">
! <Text xmlns="urn:xgs:names:reverse:xmlns:fxrd:1.0">
! <xsl:value-of select="." />
! </Text>
! </xsl:template>
! <xsl:template match="text:*" mode="inline">
! <xsl:apply-templates select="* | text()" mode="inline" />
! </xsl:template>
! <xsl:template match="reverse:*" mode="inline" />
! <xsl:template match="*" mode="inline">
! <InlineLayoutElement xmlns="urn:xgs:names:reverse:xmlns:fxrd:1.0">
! <OutputInlineElement>
! <xsl:copy-of select="." copy-namespaces="no" />
! </OutputInlineElement>
! <SubstituteText><! [CDATA [ ]]></SubstituteText>
! </InlineLayoutElement>
! </xsl:template>
! <xsl:template match="*">
! <LayoutElement xmlns="urn:xgs:names:reverse:xmlns:fxrd:1.0">
! <OutputLayoutElement>
! <xsl:apply-templates select="." mode="embeddedLayoutElement" />
! </OutputLayoutElement>
! <SubstituteParagraphElements>
! <xsl:choose>
! <xsl:when test="descendant::text:p">
! <xsl:apply-templates select="descendant::text:p" />
! </xsl:when>
! <xsl:otherwise>
! <ParagraphElement>
! <ParagraphContent>
! <Text>OutputLayoutElement</Text>
! </ParagraphContent>
! <OutputParagraphElement name="para" />
! </ParagraphElement>
! </xsl:otherwise>
! </xsl:choose>
! </SubstituteParagraphElements>
! </LayoutElement>
! </xsl:template>
! <xsl:template match="*" mode="embeddedLayoutElement">
! <xsl:copy copy-namespaces="no">
! <xsl:copy-of select="@*" />
! <xsl:apply-templates select="*" mode="embeddedLayoutElement" />
! </xsl:copy>
! </xsl:template>
! <xsl:template match="text:*" mode="embeddedLayoutElement">
! <xsl:apply-templates select="." />
! </xsl:template>
! <xsl:template match="reverse:*" mode="embeddedLayoutElement" />
</xsl:transform>
\ No newline at end of file
Index: emn-castore-conf-acm-s4s.xslt
===================================================================
RCS file: /cvsroot/castore/castore-core/src/data/s4s/stockOfStructurationFiles/emn-castore-conf-acm-s4s.xslt,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** emn-castore-conf-acm-s4s.xslt 7 Feb 2006 15:43:49 -0000 1.1.2.3
--- emn-castore-conf-acm-s4s.xslt 6 Mar 2006 10:03:15 -0000 1.1.2.4
***************
*** 1,17 ****
<?xml version="1.0" encoding="UTF-8"?>
! <xsl:transform xmlns:manifest="http://openoffice.org/2001/manifest"
! xmlns:office="http://openoffice.org/2000/office" xmlns:meta="http://openoffice.org/2000/meta"
! xmlns:script="http://openoffice.org/2000/script" xmlns:style="http://openoffice.org/2000/style"
! xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table"
! xmlns:draw="http://openoffice.org/2000/drawing" xmlns:chart="http://openoffice.org/2000/chart"
! xmlns:number="http://openoffice.org/2000/datastyle" xmlns:fo="http://www.w3.org/1999/XSL/Format"
! xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg"
! xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dr3d="http://openoffice.org/2000/dr3d"
! xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form"
! xmlns:config="http://openoffice.org/2001/config"
xmlns:presentation="http://openoffice.org/2000/presentation"
xmlns:reverse="urn:xgs:names:reverse:xmlns:reverse:2.0"
! xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
! exclude-result-prefixes="manifest office meta script style text table draw chart number fo xlink svg dc dr3d math form config presentation reverse">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no" />
<xsl:template match="office:document" priority="1">
--- 1,19 ----
<?xml version="1.0" encoding="UTF-8"?>
! <xsl:transform xmlns:script="http://openoffice.org/2000/script"
! xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:style="http://openoffice.org/2000/style"
! xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
! xmlns:text="http://openoffice.org/2000/text" xmlns:form="http://openoffice.org/2000/form"
! xmlns:table="http://openoffice.org/2000/table" xmlns:config="http://openoffice.org/2001/config"
! xmlns:draw="http://openoffice.org/2000/drawing"
xmlns:presentation="http://openoffice.org/2000/presentation"
+ xmlns:chart="http://openoffice.org/2000/chart"
xmlns:reverse="urn:xgs:names:reverse:xmlns:reverse:2.0"
! xmlns:number="http://openoffice.org/2000/datastyle" xmlns:fo="http://www.w3.org/1999/XSL/Format"
! xmlns:manifest="http://openoffice.org/2001/manifest" xmlns:xlink="http://www.w3.org/1999/xlink"
! xmlns:office="http://openoffice.org/2000/office" xmlns:svg="http://www.w3.org/2000/svg"
! xmlns:meta="http://openoffice.org/2000/meta" xmlns:dc="http://purl.org/dc/elements/1.1/"
! version="2.0"
! exclude-result-prefixes="manifest office meta script style text table draw chart number fo xlink svg dc dr3d math form config presentation reverse"
! xpath-default-namespace="urn:xgs:names:reverse:xmlns:fxrd:1.0">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no" />
<xsl:template match="office:document" priority="1">
***************
*** 22,128 ****
</xsl:template>
<xsl:template match="text:p | text:h" priority="2">
! <ParagraphElement>
! <TextualContent>
! <xsl:copy-of select=".//text()" />
! </TextualContent><!--Priority 5*N - S ≠0 et S' = S-->
! <xsl:if test="reverse:style/style:style/@style:name="1|TitreThese"">
<OutputParagraphElement name="title" containerElement="doc.info" />
</xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="Heading 1"">
<OutputParagraphElement name="title" containerElement="sect1" />
</xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="Heading 2"">
<OutputParagraphElement name="title" containerElement="sect2" />
</xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="Heading 3"">
<OutputParagraphElement name="title" containerElement="sect3" />
</xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="Heading 4"">
<OutputParagraphElement name="title" containerElement="sect4" />
</xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="3|Bibli_tit1"">
<OutputParagraphElement name="title" containerElement="bibliography" />
</xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="3|Bibli_item"">
<OutputParagraphElement name="biblioentry" containerElement="biblioentries" />
</xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="Texte Char"">
<OutputParagraphElement name="para" />
! </xsl:if><!--Priority 4*N - S = 0 et Typo(S') ~= P--><!--Priority 3*N - S ≠0 et Typo(S') ~= P-->
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Verdana"][reverse:style/style:style/style:properties/@style:font-size="18"][reverse:style/style:style/style:properties/@style:font-style="normal"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="doc.info" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="18"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect1" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="16"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect2" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="14"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect3" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="12"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect4" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="18"][reverse:style/style:style/style:properties/@style:font-weight="bold"][text()="Bibliographie*"]">
<OutputParagraphElement name="title" containerElement="bibliography" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="12"][reverse:style/style:style/style:properties/@style:font-weight="normal"]">
<OutputParagraphElement name="biblioentry" containerElement="biblioentries" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="12"][reverse:style/style:style/style:properties/@style:font-weight="normal"]">
<OutputParagraphElement name="para" />
! </xsl:if><!--Priority 2*N - S ≠0 et Typo(S') + P" ~= P-->
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Verdana") or reverse:auto/style:style/style:properties/@style:font-name="Verdana")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="18") or reverse:auto/style:style/style:properties/@style:font-size="18")][((reverse:auto/style:style/style:properties/@style:font-style="" and reverse:style/style:style/style:properties/@style:font-style="normal") or reverse:auto/style:style/style:properties/@style:font-style="normal")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="doc.info" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="18") or reverse:auto/style:style/style:properties/@style:font-size="18")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="sect1" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="16") or reverse:auto/style:style/style:properties/@style:font-size="16")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="sect2" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="14") or reverse:auto/style:style/style:properties/@style:font-size="14")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="sect3" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="12") or reverse:auto/style:style/style:properties/@style:font-size="12")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="sect4" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="18") or reverse:auto/style:style/style:properties/@style:font-size="18")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")][text()="Bibliographie*"]">
<OutputParagraphElement name="title" containerElement="bibliography" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="12") or reverse:auto/style:style/style:properties/@style:font-size="12")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="normal") or reverse:auto/style:style/style:properties/@style:font-weight="normal")]">
<OutputParagraphElement name="biblioentry" containerElement="biblioentries" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="12") or reverse:auto/style:style/style:properties/@style:font-size="12")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="normal") or reverse:auto/style:style/style:properties/@style:font-weight="normal")]">
<OutputParagraphElement name="para" />
! </xsl:if><!--Priority N : Default rule-->
<OutputParagraphElement name="para" />
</ParagraphElement>
</xsl:template>
<xsl:template match="text:* | table:* | draw:*" priority="1" />
<xsl:template match="*">
! <LayoutElement>
! <OutputLayoutElement name="{name()}">
<xsl:apply-templates select="." mode="embeddedLayoutElement" />
</OutputLayoutElement>
<SubstituteParagraphElements>
! <xsl:apply-templates select="descendant::text:p" />
</SubstituteParagraphElements>
</LayoutElement>
--- 24,196 ----
</xsl:template>
<xsl:template match="text:p | text:h" priority="2">
! <ParagraphElement xmlns="urn:xgs:names:reverse:xmlns:fxrd:1.0">
! <ParagraphContent>
! <xsl:apply-templates select="* | text()" mode="inline" />
! </ParagraphContent>
! <!--Priority 5*N - S ≠0 et S' = S-->
! <xsl:if test="reverse:style/style:style/@style:name="title doc"">
<OutputParagraphElement name="title" containerElement="doc.info" />
</xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="titre 1"">
<OutputParagraphElement name="title" containerElement="sect1" />
</xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="titre 2"">
<OutputParagraphElement name="title" containerElement="sect2" />
</xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="titre 3"">
<OutputParagraphElement name="title" containerElement="sect3" />
</xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="titre 4"">
<OutputParagraphElement name="title" containerElement="sect4" />
</xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="titre 1"">
<OutputParagraphElement name="title" containerElement="bibliography" />
</xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="biblio entry"">
<OutputParagraphElement name="biblioentry" containerElement="biblioentries" />
</xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="list item bulleted"">
! <OutputParagraphElement name="listitem" containerElement="itemizedlist" />
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="list item numbered"">
! <OutputParagraphElement name="listitem" containerElement="orderedlist" />
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="list item segmented"">
! <OutputParagraphElement name="segtitle" containerElement="segmentedlist" />
! </xsl:if>
! <xsl:if test="reverse:style/style:style/@style:name="para"">
<OutputParagraphElement name="para" />
! </xsl:if>
! <!--Priority 4*N - S = 0 et Typo(S') ~= P--><!--Priority 3*N - S ≠0 et Typo(S') ~= P-->
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman"][reverse:style/style:style/style:properties/@fo:font-size="16pt"][reverse:style/style:style/style:properties/@fo:font-style="normal"][reverse:style/style:style/style:properties/@fo:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="doc.info" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman"][reverse:style/style:style/style:properties/@fo:font-size="12pixel"][reverse:style/style:style/style:properties/@fo:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect1" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman"][reverse:style/style:style/style:properties/@fo:font-size="12pixel"][reverse:style/style:style/style:properties/@fo:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect2" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman"][reverse:style/style:style/style:properties/@fo:font-size="11pixel"][reverse:style/style:style/style:properties/@fo:font-style="italic"][reverse:style/style:style/style:properties/@fo:font-weight="normal"]">
<OutputParagraphElement name="title" containerElement="sect3" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman"][reverse:style/style:style/style:properties/@fo:font-size="11pixel"][reverse:style/style:style/style:properties/@fo:font-style="italic"][reverse:style/style:style/style:properties/@fo:font-weight="normal"]">
<OutputParagraphElement name="title" containerElement="sect4" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman"][reverse:style/style:style/style:properties/@fo:font-size="12pixel"][reverse:style/style:style/style:properties/@fo:font-weight="bold"][text()="REFERENCES"]">
<OutputParagraphElement name="title" containerElement="bibliography" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman"][reverse:style/style:style/style:properties/@fo:font-size="10pixel"][reverse:style/style:style/style:properties/@fo:font-weight="normal"]">
<OutputParagraphElement name="biblioentry" containerElement="biblioentries" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman"][reverse:style/style:style/style:properties/@fo:font-size="11pt"][reverse:style/style:style/style:properties/@fo:font-weight="normal"]">
! <OutputParagraphElement name="listitem" containerElement="itemizedlist" />
! </xsl:if>
! <xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman"][reverse:style/style:style/style:properties/@fo:font-size="11pt"][reverse:style/style:style/style:properties/@fo:font-weight="normal"]">
! <OutputParagraphElement name="listitem" containerElement="orderedlist" />
! </xsl:if>
! <xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman"][reverse:style/style:style/style:properties/@fo:font-size="11pt"][reverse:style/style:style/style:properties/@fo:font-weight="normal"]">
! <OutputParagraphElement name="segtitle" containerElement="segmentedlist" />
! </xsl:if>
! <xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman"][reverse:style/style:style/style:properties/@fo:font-size="11pt"][reverse:style/style:style/style:properties/@fo:font-weight="normal"]">
<OutputParagraphElement name="para" />
! </xsl:if>
! <!--Priority 2*N - S ≠0 et Typo(S') + P" ~= P-->
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="16pt") or reverse:auto/style:style/style:properties/@fo:font-size="16pt")][((reverse:auto/style:style/style:properties/@fo:font-style="" and reverse:style/style:style/style:properties/@fo:font-style="normal") or reverse:auto/style:style/style:properties/@fo:font-style="normal")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="bold") or reverse:auto/style:style/style:properties/@fo:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="doc.info" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="12pixel") or reverse:auto/style:style/style:properties/@fo:font-size="12pixel")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="bold") or reverse:auto/style:style/style:properties/@fo:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="sect1" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="12pixel") or reverse:auto/style:style/style:properties/@fo:font-size="12pixel")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="bold") or reverse:auto/style:style/style:properties/@fo:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="sect2" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="11pixel") or reverse:auto/style:style/style:properties/@fo:font-size="11pixel")][((reverse:auto/style:style/style:properties/@fo:font-style="" and reverse:style/style:style/style:properties/@fo:font-style="italic") or reverse:auto/style:style/style:properties/@fo:font-style="italic")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="normal") or reverse:auto/style:style/style:properties/@fo:font-weight="normal")]">
<OutputParagraphElement name="title" containerElement="sect3" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="11pixel") or reverse:auto/style:style/style:properties/@fo:font-size="11pixel")][((reverse:auto/style:style/style:properties/@fo:font-style="" and reverse:style/style:style/style:properties/@fo:font-style="italic") or reverse:auto/style:style/style:properties/@fo:font-style="italic")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="normal") or reverse:auto/style:style/style:properties/@fo:font-weight="normal")]">
<OutputParagraphElement name="title" containerElement="sect4" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="12pixel") or reverse:auto/style:style/style:properties/@fo:font-size="12pixel")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="bold") or reverse:auto/style:style/style:properties/@fo:font-weight="bold")][text()="REFERENCES"]">
<OutputParagraphElement name="title" containerElement="bibliography" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="10pixel") or reverse:auto/style:style/style:properties/@fo:font-size="10pixel")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="normal") or reverse:auto/style:style/style:properties/@fo:font-weight="normal")]">
<OutputParagraphElement name="biblioentry" containerElement="biblioentries" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="11pt") or reverse:auto/style:style/style:properties/@fo:font-size="11pt")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="normal") or reverse:auto/style:style/style:properties/@fo:font-weight="normal")]">
! <OutputParagraphElement name="listitem" containerElement="itemizedlist" />
! </xsl:if>
! <xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="11pt") or reverse:auto/style:style/style:properties/@fo:font-size="11pt")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="normal") or reverse:auto/style:style/style:properties/@fo:font-weight="normal")]">
! <OutputParagraphElement name="listitem" containerElement="orderedlist" />
! </xsl:if>
! <xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="11pt") or reverse:auto/style:style/style:properties/@fo:font-size="11pt")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="normal") or reverse:auto/style:style/style:properties/@fo:font-weight="normal")]">
! <OutputParagraphElement name="segtitle" containerElement="segmentedlist" />
! </xsl:if>
! <xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="11pt") or reverse:auto/style:style/style:properties/@fo:font-size="11pt")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="normal") or reverse:auto/style:style/style:properties/@fo:font-weight="normal")]">
<OutputParagraphElement name="para" />
! </xsl:if>
! <!--Priority N : Default rule-->
<OutputParagraphElement name="para" />
</ParagraphElement>
</xsl:template>
<xsl:template match="text:* | table:* | draw:*" priority="1" />
+ <xsl:template match="text()" mode="inline">
+ <Text xmlns="urn:xgs:names:reverse:xmlns:fxrd:1.0">
+ <xsl:value-of select="." />
+ </Text>
+ </xsl:template>
+ <xsl:template match="text:*" mode="inline">
+ <xsl:apply-templates select="* | text()" mode="inline" />
+ </xsl:template>
+ <xsl:template match="reverse:*" mode="inline" />
+ <xsl:template match="*" mode="inline">
+ <InlineLayoutElement xmlns="urn:xgs:names:reverse:xmlns:fxrd:1.0">
+ <OutputInlineElement>
+ <xsl:copy-of select="." copy-namespaces="no" />
+ </OutputInlineElement>
+ <SubstituteText><! [CDATA [ ]]></SubstituteText>
+ </InlineLayoutElement>
+ </xsl:template>
<xsl:template match="*">
! <LayoutElement xmlns="urn:xgs:names:reverse:xmlns:fxrd:1.0">
! <OutputLayoutElement>
<xsl:apply-templates select="." mode="embeddedLayoutElement" />
</OutputLayoutElement>
<SubstituteParagraphElements>
! <xsl:choose>
! <xsl:when test="descendant::text:p">
! <xsl:apply-templates select="descendant::text:p" />
! </xsl:when>
! <xsl:otherwise>
! <ParagraphElement>
! <ParagraphContent>
! <Text>OutputLayoutElement</Text>
! </ParagraphContent>
! <OutputParagraphElement name="para" />
! </ParagraphElement>
! </xsl:otherwise>
! </xsl:choose>
</SubstituteParagraphElements>
</LayoutElement>
Index: emn-castore-eleves-s4s.xslt
===================================================================
RCS file: /cvsroot/castore/castore-core/src/data/s4s/stockOfStructurationFiles/emn-castore-eleves-s4s.xslt,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** emn-castore-eleves-s4s.xslt 7 Feb 2006 15:43:49 -0000 1.1.2.3
--- emn-castore-eleves-s4s.xslt 6 Mar 2006 10:03:15 -0000 1.1.2.4
***************
*** 58,131 ****
<!--Priority 4*N - S = 0 et Typo(S') ~= P--><!--Priority 3*N - S ≠0 et Typo(S') ~= P-->
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="11"][reverse:style/style:style/style:properties/@style:font-weight="normal"]">
<OutputParagraphElement name="para" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="16"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect1" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman"][reverse:style/style:style/style:properties/@style:font-size="16"][reverse:style/style:style/style:properties/@style:font-style="normal"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="doc.info" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="15"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect2" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="14"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect3" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="13"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect4" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="12"][reverse:style/style:style/style:properties/@style:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect5" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="16"][reverse:style/style:style/style:properties/@style:font-weight="bold"][text()="REFERENCES"]">
<OutputParagraphElement name="title" containerElement="bibliography" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@style:font-size="10"][reverse:style/style:style/style:properties/@style:font-weight="normal"]">
<OutputParagraphElement name="biblioentry" />
</xsl:if>
<!--Priority 2*N - S ≠0 et Typo(S') + P" ~= P-->
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="11") or reverse:auto/style:style/style:properties/@style:font-size="11")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="normal") or reverse:auto/style:style/style:properties/@style:font-weight="normal")]">
<OutputParagraphElement name="para" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="16") or reverse:auto/style:style/style:properties/@style:font-size="16")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="sect1" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="16") or reverse:auto/style:style/style:properties/@style:font-size="16")][((reverse:auto/style:style/style:properties/@style:font-style="" and reverse:style/style:style/style:properties/@style:font-style="normal") or reverse:auto/style:style/style:properties/@style:font-style="normal")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="doc.info" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="15") or reverse:auto/style:style/style:properties/@style:font-size="15")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="sect2" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="14") or reverse:auto/style:style/style:properties/@style:font-size="14")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="sect3" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="13") or reverse:auto/style:style/style:properties/@style:font-size="13")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="sect4" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="12") or reverse:auto/style:style/style:properties/@style:font-size="12")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="sect5" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="16") or reverse:auto/style:style/style:properties/@style:font-size="16")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="bold") or reverse:auto/style:style/style:properties/@style:font-weight="bold")][text()="REFERENCES"]">
<OutputParagraphElement name="title" containerElement="bibliography" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@style:font-size="" and reverse:style/style:style/style:properties/@style:font-size="10") or reverse:auto/style:style/style:properties/@style:font-size="10")][((reverse:auto/style:style/style:properties/@style:font-weight="" and reverse:style/style:style/style:properties/@style:font-weight="normal") or reverse:auto/style:style/style:properties/@style:font-weight="normal")]">
<OutputParagraphElement name="biblioentry" />
</xsl:if>
--- 58,131 ----
<!--Priority 4*N - S = 0 et Typo(S') ~= P--><!--Priority 3*N - S ≠0 et Typo(S') ~= P-->
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@fo:font-size="11pt"][reverse:style/style:style/style:properties/@fo:font-weight="normal"]">
<OutputParagraphElement name="para" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@fo:font-size="16pt"][reverse:style/style:style/style:properties/@fo:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect1" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman"][reverse:style/style:style/style:properties/@fo:font-size="16pt"][reverse:style/style:style/style:properties/@fo:font-style="normal"][reverse:style/style:style/style:properties/@fo:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="doc.info" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@fo:font-size="15pt"][reverse:style/style:style/style:properties/@fo:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect2" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@fo:font-size="14pt"][reverse:style/style:style/style:properties/@fo:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect3" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@fo:font-size="13pt"][reverse:style/style:style/style:properties/@fo:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect4" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@fo:font-size="12pt"][reverse:style/style:style/style:properties/@fo:font-weight="bold"]">
<OutputParagraphElement name="title" containerElement="sect5" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@fo:font-size="16pt"][reverse:style/style:style/style:properties/@fo:font-weight="bold"][text()="REFERENCES"]">
<OutputParagraphElement name="title" containerElement="bibliography" />
</xsl:if>
<xsl:if
! test=".[reverse:style/style:style/style:properties/@style:font-name="Times New Roman" or reverse:style/style:style/style:properties/@style:font-name="Times" or reverse:style/style:style/style:properties/@style:font-name="serif"][reverse:style/style:style/style:properties/@fo:font-size="10pt"][reverse:style/style:style/style:properties/@fo:font-weight="normal"]">
<OutputParagraphElement name="biblioentry" />
</xsl:if>
<!--Priority 2*N - S ≠0 et Typo(S') + P" ~= P-->
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="11pt") or reverse:auto/style:style/style:properties/@fo:font-size="11pt")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="normal") or reverse:auto/style:style/style:properties/@fo:font-weight="normal")]">
<OutputParagraphElement name="para" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="16pt") or reverse:auto/style:style/style:properties/@fo:font-size="16pt")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="bold") or reverse:auto/style:style/style:properties/@fo:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="sect1" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="16pt") or reverse:auto/style:style/style:properties/@fo:font-size="16pt")][((reverse:auto/style:style/style:properties/@fo:font-style="" and reverse:style/style:style/style:properties/@fo:font-style="normal") or reverse:auto/style:style/style:properties/@fo:font-style="normal")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="bold") or reverse:auto/style:style/style:properties/@fo:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="doc.info" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@fo:font-size="" and reverse:style/style:style/style:properties/@fo:font-size="15pt") or reverse:auto/style:style/style:properties/@fo:font-size="15pt")][((reverse:auto/style:style/style:properties/@fo:font-weight="" and reverse:style/style:style/style:properties/@fo:font-weight="bold") or reverse:auto/style:style/style:properties/@fo:font-weight="bold")]">
<OutputParagraphElement name="title" containerElement="sect2" />
</xsl:if>
<xsl:if
! test=".[((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times New Roman") or reverse:auto/style:style/style:properties/@style:font-name="Times New Roman") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="Times") or reverse:auto/style:style/style:properties/@style:font-name="Times") or ((reverse:auto/style:style/style:properties/@style:font-name="" and reverse:style/style:style/style:properties/@style:font-name="serif") or reverse:auto/style:style/style:properties/@style:font-name="serif")][((reverse:auto/style:style/style:properties/@fo:font-size=