info:xml

XML

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)

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

http://www.oxygenxml.com/ Oxygen c'est la rolls, et ça tourne sur toute plateforme - mais c'est payant!

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 j'ai jamais croché (c'est le browser/éditeur “officiel” du w3

  • info/xml.txt
  • Dernière modification : 2019/01/06 18:38
  • de radeff