. .. Sources-html,

. Page-d'accueil-(index and . .. Html),

. Sources, . Svg, and . .. Javascript,

P. O. Carte,

. Traitements-javascript-(pos and . .. Js),

G. .. Du-reglement,

(. La-servlet, . Servletarticle, and . .. Java),

L. A. Transformation-xslt-(article and . .. Xsl),

. .. Generation-d'une-arborescence-pour-naviguer-dans-le-reglement,

(. La-servlet, . Servletarbo, and . .. Java),

L. A. Transformation-xslt-(arborescence and . .. Xsl),

G. .. Carte,

(. La-servlet, . Servletlegende, and . .. Java),

L. A. Transformation-xslt-(legende and . .. Xsl),

. .. Generation-d'une-fiche-parcellaire,

(. La-servlet, . Servletfiche, and . .. Java),

G. Document,

G. Fiche,

. Generation and . .. Pdf,

(. La-servlet, . Servletreglement, and . .. Java),

G. Document,

G. Document,

G. O. De-la-carte-du-p,

. La-servlet-(servletcartea3 and . .. Java),

G. Document,

G. Document,

&. &lt;xsl, > <text id="labelAffichage" x="10" y="20" style="font-family:Arial;fontsize:20;">Affichage</text> <text id="zones" x="25" y="45" style="font-family:Arial;fontsize:14;">Zones</text> <g id="zone_uncheck" style="fill:white;stroke:black;stroke-width:1" visibility="hidden" onclick="showZones(, > <xsl:processing-instruction name="xml-stylesheet">href="../mapstyle.css" type="text/css"</xsl:processing-instruction> <svg id=

&. Id=, zone_check" style="fill:white;stroke:black;stroke-width:1" onclick="hideZones(

&. Id=, parcelles" x="25" y="65" style="font-family:Arial;fontsize:14;">Parcelles</text> <g id="parcelle_uncheck" style="fill:white;stroke:black;strokewidth:1;visibility:visible" onclick="showParcelles(

&. Id=, parcelle_check" style="fill:white;stroke:black;strokewidth:1;visibility:hidden" onclick="hideParcelles(

&. Id=, labelControle" x="110" y="20" style="font-family:Arial;fontsize:20;">Contrôle</text> <text id="zones" x="125" y="45" style="font-family:Arial;fontsize:14;">Zones</text> <g id="zone_radio_uncheck" style="fill:white;stroke:black;strokewidth:1" visibility="hidden" onclick="activeZones(

&. Id=, zone_radio_check" style="fill:white;stroke:black;stroke-width:1"> <circle cx="115

&. Id=, parcelles" x="125" y="65" style="font-family:Arial;fontsize:14;">Parcelles</text> <g id="parcelle_radio_uncheck" style="fill:white;stroke:black;strokewidth:1;visibility:visible" onclick="activeParcelles(

&. Id=, parcelle_radio_check" style="fill:white;stroke:black;strokewidth:1;visibility:hidden"> <circle cx="115

&. Réf,

, space-before">0.2cm</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="titre"> <xsl:attribute name="font-size">32pt</xsl:attribute> <xsl:attribute name="color">blue</xsl:attribute> <xsl:attribute name="font-weight">bold</xsl:attribute> <xsl:attribute name="text-align">center</xsl:attribute> <xsl:attribute name="space-before">2cm</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="sousTitre"> <xsl:attribute name="font-size">28pt</xsl:attribute> <xsl:attribute name="color">blue</xsl:attribute> <xsl:attribute name="font-weight">normal</xsl:attribute> <xsl:attribute name="text-align">center</xsl:attribute> <xsl:attribute name="space-before">1cm</xsl:attribute> <xsl:attribute name="space-after">0.5cm</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="titreArticle"> <xsl:attribute name=, <xsl:attribute name="font-size">12pt</xsl:attribute> <xsl:attribute name="font-weight">normal</xsl:attribute> <xsl:attribute name="font-style">normal</xsl:attribute> <xsl:attribute name="text-align">justify</xsl:attribute> <xsl:attribute name="color">black</xsl:attribute> <xsl:attribute name=

&. &lt;xsl, template match="/"> <fo:root xmlns:fo=

. &lt;!--mise-en-page-générale---&gt;-&lt;fo, layout-master-set> <fo:simple-page-master master-name="contents" pageheight="29.7cm" page-width="21cm"> <fo:region-before extent="1cm"/> <fo:region-after extent="1cm"/> <fo:region-start extent="1cm"/> <fo:region-end extent="1cm"/> <fo:region-body margin-bottom="2cm" margin-top="2cm" margin-left="2cm" margin-right="2cm"/> </fo:simple-page-master> <fo:page-sequence-master master-name="contents-Seq"> <fo:repeatable-page-master-reference masterreference=

&. &lt;fo, sequence master-reference="contents-Seq"> <fo:static-content flow-name="xsl-region-before"> </fo:static-content> <fo:static-content flow-name="xsl-region-after"> <fo:block font-size="10pt" font-family="Helvetica" textalign="center"> <fo:page-number/> </fo:block> </fo:static-content> CERTU SWORD -Nos réf, p.page

, // Fixe les paramètres xslTransformer.setParameter("svg

. Setparameter,

, xslTransformer.transform(xmlSource, new StreamResult(bufWriter

, bufWriter.flush(

, // Effectue la transformation et renvoie la réponse StringReader bufReader = new StringReader(bufWriter.toString(

, Driver driver = new Driver(new InputSource(bufReader), out)

, driver.setRenderer(Driver.RENDER_PDF

, driver.run(

, mapFile.delete(

, legFile.delete(

}. Catch,

G. Du and . Fo,

, <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl=

&. , Déclaration des paramètres --> <xsl:param name="svg"/> <xsl:param name="svgleg

, font-style">normal</xsl:attribute> <xsl:attribute name="text-align">justify</xsl:attribute> <xsl:attribute name="color">black</xsl:attribute> <xsl:attribute name="space-before">0.2cm</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="titre"> <xsl:attribute name="font-size">32pt</xsl:attribute> <xsl:attribute name="color">blue</xsl:attribute> <xsl:attribute name="font-weight">bold</xsl:attribute> <xsl:attribute name="text-align">center</xsl:attribute> <xsl:attribute name="space-before">2cm</xsl:attribute> <xsl:attribute name="space-after">2cm</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="sousTitre"> <xsl:attribute name="font-size">28pt</xsl:attribute> <xsl:attribute name="color">blue</xsl:attribute> <xsl:attribute name="font-weight">normal</xsl:attribute> <xsl:attribute name=, Déclaration des styles --> <xsl:attribute-set name="default"> <xsl:attribute name="font-size">12pt</xsl:attribute> <xsl:attribute name="font-weight">normal</xsl:attribute> <xsl:attribute name=, pp.41-48

, space-after">0.5cm</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="titreArticle"> <xsl:attribute name="font-size">16pt</xsl:attribute> <xsl:attribute name="color">black</xsl:attribute> <xsl:attribute name="font-weight">bold</xsl:attribute> <xsl:attribute name=, <xsl:attribute name="space-before">2cm</xsl:attribute> <xsl:attribute name=

&. &lt;xsl, template match="/"> <fo:root xmlns:fo=

. &lt;!--mise-en-page-générale---&gt;-&lt;fo, layout-master-set> <fo:simple-page-master master-name="contents" pageheight="29.7cm" page-width="21cm"> <fo:region-before extent="1cm"/> <fo:region-after extent="1cm"/> <fo:region-start extent="1cm"/> <fo:region-end extent="1cm"/> <fo:region-body margin-bottom="2cm" margin-top="2cm" margin-left="2cm" margin-right="2cm"/> </fo:simple-page-master> <fo:page-sequence-master master-name="contents-Seq"> <fo:repeatable-page-master-reference masterreference=

&. &lt;fo, xsl-region-after"> <fo:block font-size="10pt" font-family="Helvetica" textalign="center"> <fo:page-number/> </fo:block> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <fo:block xsl:use-attribute-sets="titre"> Règlement </fo:block> <fo:block text-align="center"> <fo:external-graphic> <xsl:attribute name="src"><xsl:value-of select="$svg"/></xsl:attribute> </fo:external-graphic> <fo:external-graphic> <xsl:attribute name="src"><xsl:value-of select="$svgleg, master-reference="contents-Seq"> <fo:static-content flow-name="xsl-region-before"> </fo:static-content> <fo:static-content flow-name=, pp.page-sequence

. &lt;/fo, block> </fo:flow> </fo:page-sequence> SWORD -Nos réf

, xslsvglegTransformer.transform(svgSource, new StreamResult(fw))

, fw.close(

, // Fixe les paramètres xslTransformer.setParameter("svg

. Setparameter,

, xslTransformer.transform(xmlSource, new StreamResult(bufWriter

, bufWriter.flush(

, // Effectue la transformation et renvoie la réponse StringReader bufReader = new StringReader(bufWriter.toString(

, Driver driver = new Driver(new InputSource(bufReader), out)

, driver.setRenderer(Driver.RENDER_PDF

, driver.run(

, mapFile.delete(

, legFile.delete(

}. Catch,

, GENERATION DU DOCUMENT FO (CARTEA3-FO.XSL)

, <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl=

&. , Déclaration des paramètres --> <xsl:param name="svg"/> <xsl:param name="svgleg

&. &lt;xsl, template match="/"> <fo:root xmlns:fo=

. &lt;!--mise-en-page-générale---&gt;-&lt;fo, /> <fo:region-after extent="1cm"/> <fo:region-start extent="1cm"/> <fo:region-end extent="1cm"/> <fo:region-body margin-bottom="2cm" margin-top="2cm" margin-left="2cm" margin-right="2cm"/> </fo:simple-page-master> <fo:page-sequence-master master-name="contents-Seq"> <fo:repeatable-page-master-reference masterreference="contents"/> </fo:page-sequence-master> </fo:layout-master-set> SWORD -Nos réf, layout-master-set> <fo:simple-page-master master-name="contents" pageheight="29.7cm" page-width="42cm"> <fo:region-before extent="1cm

, /> </xsl:attribute> <xsl:value-of select="@class

. &lt;/text&gt;-&lt;/g&gt;-&lt;/xsl, template> </xsl:stylesheet> © ministère de l'Équipement, des Transports, du Logement, du Tourisme et de la Mer centre d'Études sur les réseaux, les transports, l'urbanisme et les constructions publiques Toute reproduction intégrale ou partielle

, Cette reproduction par quelque procédé que ce soit, constituerait une contrefaçon sanctionnée par les articles 425 et suivants du code pénal, Reprographie: CETE de Lyon ? (+33) trimestre, 2002.