Cliquez ici.
Accueil
 chercher             Plan du site             Info (English version) 
L'histoire de XML s'écrit en ce moment même. XMLfr vous aide à la suivre et à en dégager les tendances.Les listes de discussions XMLfr sont à votre disposition pour réagir sur nos articles ou simplement poser une question.Si vous ètes passionnée(e) par XML, pourquoi ne pas en faire votre métier ?XMLfr n'est heureusement pas le seul site où l'on parle de XML. Découvrez les autres grâce à XMLfr et à l'ODP.Les partenaires grâce auxquels XMLfr peut se développer.Pour tout savoir sur XMLfr.XMLfr sans fil, c'est possible !Pour ceux qui veulent vraiment en savoir plus sur XML.L'index du site.
 Commentaires et questions non techniques.Commentaires et questions techniques.

 
Cliquez ici.

xml tech : Technologies XML

[xml-tech] Re: structure xsl-fo

[xml-tech] Re: structure xsl-fo

Auteur: <Eric.Reiter@ic.lu>
Date: 04/11/2005 - 14:45

Le voici
eric
----------------
<?xml version = "1.0" encoding = "ISO-8859-1"?>
<?xml-stylesheet href="../XSL/liste.xsl" type="text/xsl"?>

<liste>
        <titre>Liste des instructions de travail</titre>
        <note>
                <p>Avertissement:</p>
                <p>Cette liste est remise à jour dès qu'une nouvelle instruction de travail existe.</p>
        </note>
        <procedure>
<titre.pro>Procédure P3.3G Publication électronique du J.O.</titre.pro>
        <liens>
        <lien nom="IT3.1A3 Mesures à appliquer en cas de retard">../Pdf/IT3.1A3.pdf</lien>

        <lien nom="IT3.3E2 Planning des coursiers">../Pdf/IT3.3E2.pdf</lien>
        <lien nom="IT3.3G1 Facturation (version française)">../Pdf/IT3.3G01-fr.pdf</lien>
        <lien nom="IT3.3G1 Facturation (version anglaise)">../Pdf/IT3.3G01-en.pdf</lien>
        <lien nom="IT3.3G2 Validation Formex">../Pdf/IT3.3G02.pdf</lien>
        <lien nom="IT3.3G3 Justificatif de contrôle et recette AIS">../Pdf/IT3.3G3.pdf</lien>

        <lien nom="IT3.3G5 Contrôle Eurlex (version française)">../Pdf/IT3.3G05-fr.pdf</lien>
        <lien nom="IT3.3G5 Contrôle Eurlex (version anglaise)">../Pdf/IT3.3G05-en.pdf</lien>
        <lien nom="IT3.3G6 Lecture préalable (version française)">../Pdf/IT3.3G06-fr.pdf</lien>
        <lien nom="IT3.3G6 Lecture préalable (version anglaise)">../Pdf/IT3.3G06-en.pdf</lien>
        <lien nom="IT3.3G7 Vérification avant impression (version française)">../Pdf/IT3.3G07-fr.pdf</lien>
        <lien nom="IT3.3G7 Vérification avant impression (version anglaise)">../Pdf/IT3.3G07-en.pdf</lien>
        <lien nom="IT3.3G8 Comité des régions et comité économique et social (version française)">../Pdf/IT3.3G08-fr.pdf</lien>
        <lien nom="IT3.3G8 Comité des régions et comité économique et social (version anglaise)">../Pdf/IT3.3G08-en.pdf</lien>
        <lien nom="IT3.3G9 Liste de nettoyage et traitement des documents de la cour de justice (version française)">../Pdf/IT3.3G09-fr.pdf</lien>
        <lien nom="IT3.3G9 Liste de nettoyage et traitement des documents de la cour de justice (version anglaise)">../Pdf/IT3.3G09-en.pdf</lien>
        <lien nom="IT3.3G10 JOL AIS (version française)">../Pdf/IT3.3G10-fr.pdf</lien>
        <lien nom="IT3.3G10 JOL AIS (version anglaise)">../Pdf/IT3.3G10-en.pdf</lien>

        <lien nom="IT3.3G11 Corrections des J.O. rejetés">../Pdf/IT3.3G11.pdf</lien>
        <lien nom="IT3.3G12-FR Contrôle d'un JO CE">../Pdf/IT3.3G12-fr.pdf</lien>
        <lien nom="IT3.3G12-EN Control of an OJ CE">../Pdf/IT3.3G12-en.pdf</lien>

        <lien nom="IT3.3G13 Journal officiel serie C quotidien (version française)">../Pdf/IT3.3G13-fr.pdf</lien>
        <lien nom="IT3.3G13 Journal officiel serie C quotidien (version anglaise)">../Pdf/IT3.3G13-en.pdf</lien>
        <lien nom="IT3.3G14 HT dans DLIST (version française)">../Pdf/IT3.3G14-fr.pdf</lien>
        <lien nom="IT3.3G14 HT dans DLIST (version anglaise)">../Pdf/IT3.3G14-en.pdf</lien>
        <lien nom="IT3.3G15 Personnes de contact">../Pdf/IT3.3G15.pdf</lien>

        <lien nom="IT3.3G21 Retard de livraison">./retard.xml</lien>
        <lien nom="IT3.3G59 Traitement des blocs MULTI">../Pdf/IT3.3G59.pdf</lien>

</liens>
</procedure>

<procedure>
<titre.pro>P3.3J Publication électronique catalogues</titre.pro>
<liens>
        <lien nom="IT3.3J01 Contrôle fichiers BNB correcteurs">../Pdf/IT3.3J01.pdf</lien>

</liens>
</procedure>

<procedure>
<titre.pro>P3.3O Equipe d'intégration</titre.pro>
<liens>
        <lien nom="IT3.3O1 Intégration">../Pdf/IT3.3O1.pdf</lien>

</liens>
</procedure>

<p>compteur</p>
</liste>

-----Original Message-----
From: xml-tech-bounce@xmlfr.org [mailto:xml-tech-bounce@xmlfr.org]On
Behalf Of Cédric Joly
Sent: vendredi 4 novembre 2005 14:17
To: xml-tech@xmlfr.org
Subject: [xml-tech] Re: structure xsl-fo

par contre tu pourrai me passer le fichier xml, je pense ke j'en ai besoin
merci
--
Amicalement
Cédric Joly

Eric.Reiter@ic.lu a écrit :

>Bonjour Cedric
>
>Tu trouveras ci dessous un exemple de XSL-FO que j ai cree.
>J espere que cela pourra t aider.
>eric
>
>---------------------
><?xml version="1.0" encoding="iso-8859-1"?>
><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/XML/XLink/0.9" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
> <xsl:template match="/">
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
> <fo:layout-master-set>
><!-- fo:layout-master-set defines in its children the page layout:
> the pagination and layout specifications
> - page-masters: have the role of describing the intended subdivisions
> of a page and the geometry of these subdivisions
> In this case there is only a simple-page-master which defines the
> layout for all pages of the text
> -->
><!-- layout information -->
> <fo:simple-page-master master-name="my-page" page-height="29.7cm" page-width="21cm" margin-top="2cm" margin-bottom="1cm" margin-left="1cm" margin-right="1cm">
> <fo:region-body margin-top="1cm" margin-bottom="2cm" />
>
> <fo:region-before extent="3cm" />
> <fo:region-after extent="0.5cm" />
> <fo:region-end extent="1cm"/>
> </fo:simple-page-master>
> </fo:layout-master-set>
>
><!-- end: defines page layout -->
> <fo:page-sequence master-reference="my-page">
>
> <fo:static-content flow-name="xsl-region-before" margin-left="10mm" margin-right="10mm" margin-top="5mm">
> <fo:table table-layout="fixed" border-style="solid" border-width="0pt" border-color="white" space-after="0.5mm">
> <fo:table-column column-width="9.5cm" />
>
> <fo:table-column column-width="9.5cm" />
>
> <fo:table-body>
> <fo:table-row>
> <fo:table-cell border-bottom-color="black" border-bottom-width="0.5pt" border-bottom-style="solid">
> <fo:block text-align="start" font-size="10pt" font-family="serif">
> <xsl:text>Département PE</xsl:text>
>
> </fo:block>
> </fo:table-cell>
> <fo:table-cell border-bottom-color="black" border-bottom-width="0.5pt" border-bottom-style="solid">
> <fo:block text-align="start" font-size="10pt" font-family="serif">
> <xsl:text> </xsl:text>
> </fo:block>
> </fo:table-cell>
> </fo:table-row>
> </fo:table-body>
> </fo:table>
> </fo:static-content>
>
>
> <fo:static-content flow-name="xsl-region-after" margin-left="10mm" margin-right="10mm" margin-top="5mm">
>
> <fo:table table-layout="fixed" border-style="solid" border-width="0pt" border-color="white">
> <fo:table-column column-width="9.5cm" />
>
> <fo:table-column column-width="9.5cm" />
> <fo:table-body>
> <fo:table-row>
> <fo:table-cell border-top-color="black" border-top-width="0.5pt" border-top-style="solid">
> <fo:block text-align="start" font-size="10pt" font-family="serif">
> <xsl:value-of select="liste/titre" />
> </fo:block>
> </fo:table-cell>
>
> <fo:table-cell border-top-color="black" border-top-width="0.5pt" border-top-style="solid">
> <fo:block text-align="end" font-size="10pt" font-family="serif">
> <fo:page-number/>
> </fo:block>
> </fo:table-cell>
> </fo:table-row>
> </fo:table-body>
> </fo:table>
> </fo:static-content>
>
>
>
> <fo:flow flow-name="xsl-region-body" margin-left="10mm" margin-right="10mm" margin-top="5mm" margin-bottom="20mm">
> <xsl:apply-templates />
> </fo:flow>
>
> </fo:page-sequence>
> </fo:root>
> </xsl:template>
>
> <xsl:template match="//titre">
> <fo:block font-family="Times Roman" font-size="25pt" font-weight="bold" background-color="blue" color="white" text-align="center" space-after="2cm">
> <xsl:value-of select="text()" />
> </fo:block>
> </xsl:template>
>
> <xsl:template match="//titre.pro">
> <fo:block font-family="Times Roman" font-size="10pt" font-weight="bold" color="green" space-before="0.5cm" text-indent="0.5cm" space-after="0.5cm">
> <xsl:apply-templates/>
> </fo:block>
> </xsl:template>
>
> <xsl:template match="//lien">
> <fo:list-item space-after="0.2cm">
><!-- insert a bullet -->
> <fo:list-item-label end-indent="label-end()">
> <fo:block text-indent="1.5cm">
> <fo:inline font-family="Symbol">·</fo:inline>
> </fo:block>
> </fo:list-item-label>
>
><!-- list text -->
> <fo:list-item-body start-indent="body-start()">
> <fo:block font-family="Times Roman" font-size="9pt" text-indent="1.5cm" >
> <xsl:value-of select="@nom" />
> </fo:block>
> </fo:list-item-body>
> </fo:list-item>
> </xsl:template>
>
>
>
></xsl:stylesheet>
>
>-----Original Message-----
>From: xml-tech-bounce@xmlfr.org [mailto:xml-tech-bounce@xmlfr.org]On
>Behalf Of Cédric Joly
>Sent: vendredi 4 novembre 2005 11:56
>To: xml-tech@xmlfr.org
>Subject: [xml-tech] structure xsl-fo
>
>
>bonjour,
>Je dois pondre un article sur xsl-fo.
>Après avoir tenter de comprendre la structure d'un xsl-fo avec
>traduction de xsl-fo recommendations
><http://www.yoyodesign.org/doc/w3c/xsl1/slice6.html>
>(c'est totalement imbuvable) . je voulais savoir si la structure d'un
>document xsl-fo ressemblait à ca.
><http://utauxpia.free.fr/doc/sche_structure.jpg>?
>si je me trompe ou si quelqu'un pouvait m'apporter quelques précisions,
>je serai ouvert à toute discussion.
>ps: apparemment on est obligé de passer par l'anglais pour avoir de la doc
>
>
>--
>Amicalement
>
>Cédric Joly
>
>
>
>--
>Devenez redacteur <XML>fr et contribuez au developpement du
>xml francophone (http://xmlfr.org/infos/redacteurs/) !
>
>Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
>
>Cette liste est a votre disposition pour discuter en francais de
>tout sujet technique lie a XML.
>
>Pour resilier votre abonnement, envoyez un message contenant
>la commande "unsubscribe" a xml-tech-request@xmlfr.org
>(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
>
>
>Pour connaître nos solutions et services, visitez
>http://www.ic.lu
>
>To learn about our services and solutions, please visit:
>http://www.ic.lu
>
>This E-mail is confidential. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and notify the sender immediately by return E-mail.
>
>Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
>
>--
>Devenez redacteur <XML>fr et contribuez au developpement du
>xml francophone (http://xmlfr.org/infos/redacteurs/) !
>
>Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
>
>Cette liste est a votre disposition pour discuter en francais de
>tout sujet technique lie a XML.
>
>Pour resilier votre abonnement, envoyez un message contenant
>la commande "unsubscribe" a xml-tech-request@xmlfr.org
>(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
>
>
>
>__________ Information NOD32 1.1275 (20051103) __________
>
>Ce message a ete verifie par NOD32 Antivirus System.
>http://www.nod32.com
>
>
>
>
>

--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Pour connaître nos solutions et services, visitez
http://www.ic.lu
To learn about our services and solutions, please visit:
http://www.ic.lu

This E-mail is confidential. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de 
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant 
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Received on Fri Nov 4 15:47:01 2005

Archive générée par hypermail 2.1.8 le 30/11/2005 - 16:12 UTC

webmaster@xmlfr.org

 

xml tech

Discussions techniques au sujet de XML.

Cette liste est à votre disposition pour discuter en français de tout sujet technique lié à XML.



Devenez rédacteur <XML>fr et contribuez au développement du xml francophone !
Les documents publiés sur ce site le sont sous licence "Open Content"
Conception graphique
  l.henriot@online.fr  

Conception, réalisation et hébergement