« Programmation XML/XUL » : différence entre les versions

Contenu supprimé Contenu ajouté
init
 
reprise intro depuis WP + exemple
Ligne 1 :
{{Programmation XML}}{{Infobox Format de données
|nom = XML User Interface Language (XUL)
|extension = <tt>.xul</tt>
|mime = application/vnd.mozilla.xul+xml
|développeur = [[Fondation Mozilla]]
|genre = [[Langage de balisage]]
|spécification= 2
}}
'''XUL''', pour '''XML-based User interface Language''', est un langage de description d'interfaces graphiques fondé sur [[Programmation XML|XML]] créé dans le cadre du projet Mozilla.
 
==Exemple Simple : Hellow World==
Voici une comparaison entre quelques lignes de code XUL et HTML qui affichent toutes deux le traditionnel « [[Hello World]]! » :
 
'''XUL'''
<source lang="xml">
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<box>
<description>Hello world!</description>
</box>
</window>
</source>
 
'''HTML'''
<source lang="html4strict">
<html>
<body>
<p>
Hello World!
</p>
</body>
</html>
</source>
 
==Documentation==
* {{fr}} [http://xulfr.org/wiki/Presentation xulfr.org]
 
[[Catégorie:Programmation XML (livre)]]