Anciennes révisionsLiens de retourExporter en PDFHaut de page Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer RedditDerniers changementsSend via e-MailImprimerPermalien × XML Mes liens XML http://www.w3.org/TR/REC-xml/ les rec du w3 PHP + XML Parser la structure d'un document XML Lire un fichier XML [http://tecfa.unige.ch/guides/tie/html/css-intro/css-intro-8.html | Lier XML et CSS] XML - XSLT avec PHP Site multilingue avec XML Gestion du XML en PHP 5 : utiliser DOM mysql2xml script php pour convertir en xml une base mysql kw: mysqltoxml mysql xml php mysql php xml mysql RSS / Agrégation de flux RSS / Agrégation de flux XML@Tecfa TECFA's XML Page XML Trail Atelier Webmaster de site pédagogique: XML (Version 1.2) http://tecfa.unige.ch/guides/xml/examples/xsl-call-template/ http://edutechwiki.unige.ch/en/XSLT_Tutorial_-_Basics http://tecfa.unige.ch/guides/te/files/ Cours tecfa XML-webmasters 2005 mes notes de cours et liens divers xquery xpath xlink xinclude dom svg dtd elearning http://tecfa.unige.ch/~radeff/xml/xml_dom_avec_php.txt http://tecfa.unige.ch/~radeff/xml/ (un peu en bronx) Strings XSLT a pas mal de fonctions pour manipuler des chaînes de caractères: http://www.xml.com/lpt/a/962 Splitting and Manipulating Strings http://www.xml.com/lpt/a/980 Comparing and Replacing Strings pas trouvé si possible de faire des ereg, explode etc… chercher encore! todo: http://www.google.ch/search?hl=fr&client=firefox-a&rls=org.mozilla%3Afr%3Aofficial&hs=R6l&q=xml+xsl+variable+tecfa&btnG=Rechercher&meta= http://www.gchagnon.fr/cours/xml/recapxsl.html http://www.xml.com/pub/a/2001/02/07/trxml9.html http://tecfa.unige.ch/guides/tie/html/xml-xslt2/xml-xslt2-6.html eXist - xml as a database https://en.wikipedia.org/wiki/EXist http://www.exist-db.org/exist/apps/homepage/index.html https://github.com/exist-db/exist/ https://framalibre.org/content/exist-db http://exist.sourceforge.net/ eXist, permet de traiter xml comme une base de données, exemples avec les textes de Shakespeare voici p. ex. la requête à faire sur http://demo.exist-db.org/exist/sandbox/sandbox.xql pour trouver dans toutes les oeuvres de shakespare les déclaration de macbeth (et lady macbeth) comportant la séquence “sleep” //SPEECH[ngram:contains(SPEAKER, 'macbeth')][ft:query(., 'sleep')] il renvoie notamment: <SPEECH> <SPEAKER>MACBETH</SPEAKER> <LINE>Still it cried 'Sleep no more!' to all the house:</LINE> <LINE>'Glamis hath murder'd sleep, and therefore Cawdor</LINE> <LINE>Shall sleep no more; Macbeth shall sleep no more.'</LINE> </SPEECH> notes d'installation Editeurs Oxygen http://www.oxygenxml.com/ Oxygen c'est la rolls, et ça tourne sur toute plateforme - mais c'est payant! (x)emacs http://www.xemacs.org/ avec (x)emacs, on peut bien travailler aussi, en utilisant ALT-M xml-mode (et autres modes); voir p. ex. Using Emacs for XML documents(IBM), How to set up Emacs/PSGML for editing XML and XHTML, XML document authoring with emacs nxml-mode, http://koala.ilog.fr/plh/sxml.html; la doc officielle d'emacs est sur http://www.xemacs.org/Documentation/packages/html/psgml_1.html kxmleditor sur linux, il y a encore KXML Editor (chercher dans les paquets kxmleditor), plus sommaire qu'oxygen et plus convivial qu'emacs, aussi utilisable amaya amaya j'ai jamais croché (c'est le browser/éditeur “officiel” du w3 info/xml.txt Dernière modification : 2019/01/06 18:38de radeff S'identifier