|
Bas de page | |
---|---|
Auteur | Sujet : Comparaison/Test de "structure" XML |
![]() Publicité | Posté le 19-10-2010 à 19:50:39 ![]() ![]() |
rufo Pas me confondre avec Lycos! | Tu devrais peut-être regarder du côté de XSD. Ca pourrait répondre à ton besoin... --------------- Astres, outil de help-desk GPL : http://sourceforge.net/projects/astres, ICARE, gestion de conf : http://sourceforge.net/projects/icare, Outil Planeta Calandreta : https://framalibre.org/content/planeta-calandreta |
lalalallal | Bonsoir,
|
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
el muchacho Comfortably Numb |
--------------- Les aéroports où il fait bon attendre, voila un topic qu'il est bien |
rufo Pas me confondre avec Lycos! |
--------------- Astres, outil de help-desk GPL : http://sourceforge.net/projects/astres, ICARE, gestion de conf : http://sourceforge.net/projects/icare, Outil Planeta Calandreta : https://framalibre.org/content/planeta-calandreta |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
rufo Pas me confondre avec Lycos! | Effectivement, c'est moins verbeux. Par contre, côté parsers, ça risque d'être galère... --------------- Astres, outil de help-desk GPL : http://sourceforge.net/projects/astres, ICARE, gestion de conf : http://sourceforge.net/projects/icare, Outil Planeta Calandreta : https://framalibre.org/content/planeta-calandreta |
masklinn í dag viðrar vel til loftárása |
Perso j'utilise lxml (en Python), qui est une surcouche à libxml2, et comprend donc très bien le rng (pas le rnc par contre, donc faut traduire le source entre l'écriture et l'utilisation du schéma). Il y a aussi nxml-mode pour emacs qui peut valider un fichier XML contre un schéma rnc (pas rng ce coup ci), et <oXygen> qui n'a il me semble pas de problème à comprendre (et valider contre) rng comme rnc. Et la syntaxe est pas le seul truc que je trouve supérieur à XSD, je préfère aussi la sémantique: rng c'est du pattern matching, donc tu peux exprimer une contrainte genre "un élément 'a' contenant un attribut 'id' OU un élément 'id'" trivialement:
Message cité 1 fois Message édité par masklinn le 28-10-2010 à 12:58:07 --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
![]() Publicité | Posté le 28-10-2010 à 12:55:21 ![]() ![]() |
rufo Pas me confondre avec Lycos! |
Message cité 1 fois Message édité par rufo le 28-10-2010 à 13:57:16 --------------- Astres, outil de help-desk GPL : http://sourceforge.net/projects/astres, ICARE, gestion de conf : http://sourceforge.net/projects/icare, Outil Planeta Calandreta : https://framalibre.org/content/planeta-calandreta |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
esox_ch | C'est déjà nettement moins pire que le DTD à mon sens --------------- Si la vérité est découverte par quelqu'un d'autre,elle perd toujours un peu d'attrait |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
rufo Pas me confondre avec Lycos! |
--------------- Astres, outil de help-desk GPL : http://sourceforge.net/projects/astres, ICARE, gestion de conf : http://sourceforge.net/projects/icare, Outil Planeta Calandreta : https://framalibre.org/content/planeta-calandreta |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |