cvs: phpdoc-fr /reference/xsl reference.xml

From: Date: Thu, 22 Apr 2004 20:50:12 +0000
Subject: cvs: phpdoc-fr /reference/xsl reference.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-2255@lists.php.net to get a copy of this message
yannick Thu Apr 22 16:50:12 2004 EDT Modified files: /phpdoc-fr/reference/xsl reference.xml Log: Missing EN-Revision tag Correction http://cvs.php.net/diff.php/phpdoc-fr/reference/xsl/reference.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-fr/reference/xsl/reference.xml diff -u phpdoc-fr/reference/xsl/reference.xml:1.6 phpdoc-fr/reference/xsl/reference.xml:1.7 --- phpdoc-fr/reference/xsl/reference.xml:1.6 Thu Apr 22 09:34:16 2004 +++ phpdoc-fr/reference/xsl/reference.xml Thu Apr 22 16:50:11 2004 @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <reference id="ref.xsl"> <title>XSL</title> <titleabbrev>XSL</titleabbrev> @@ -38,13 +39,13 @@ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" encoding="iso-8859-1" indent="no"/> <xsl:template match="collection"> - Hey! Welcome to my sweet CD collection! + Hey! Bienvenue dans ma collection de CD ! <xsl:apply-templates/> </xsl:template> <xsl:template match="cd"> - <h1><xsl:value-of select="title"/></h1> - <h2>by <xsl:value-of select="artist"/></h2> - <h3> - <xsl:value-of select="year"/></h3> + <h1><xsl:value-of select="titre"/></h1> + <h2>par <xsl:value-of select="artiste"/></h2> + <h3> - <xsl:value-of select="annee"/></h3> </xsl:template> </xsl:stylesheet> ]]> @@ -56,14 +57,14 @@ <![CDATA[ <collection> <cd> - <title>PHP Rock</title> - <artist>Joe Coder</artist> - <year>2003</year> + <titre>PHP Rock</titre> + <artiste>Joe Coder</artiste> + <annee>2003</annee> </cd> <cd> - <title>Squashing Typos on a Winter's Eve</title> - <artist>kennyt</artist> - <year>2004</year> + <titre>Squashing Typos on a Winter's Eve</titre> + <artiste>kennyt</artiste> + <annee>2004</annee> </cd> </collection> ]]> @@ -81,10 +82,10 @@ <?php /* Chargement des sources XML */ $xml = new DomDocument; // dans /ext/dom -$xml->load('example.xml'); +$xml->load('exemple.xml'); $xsl = new DomDocument; -$xsl->load('example.xsl'); +$xsl->load('exemple.xsl'); /* Configuration du transformateur */ $proc = new xsltprocessor; @@ -98,14 +99,14 @@ </simpara> <screen> <![CDATA[ -Hey! Welcome to my sweet CD collection! +Hey! Bienvenue dans ma collection de CD ! <h1>PHP Rock</h1> -<h2>by Joe Coder</h2> +<h2>par Joe Coder</h2> <h3> - 2003</h3> <h1>Squashing Typos on a Winter's Eve</h1> -<h2> by kennyt</h2> +<h2> par kennyt</h2> <h3> - 2004</h3> ]]> </screen>

« previous php.doc.fr (#2255) next »