|
Bas de page | |
---|---|
Auteur | Sujet : Déplacement de chaines caractères |
![]() Publicité | Posté le 30-10-2008 à 12:30:48 ![]() ![]() |
juanita88 | Personne ne connait une astuce ?
|
gilou ModérateurModosaurus Rex | Tu fais ça par exemple en perl:
Attention, le forum rajoute un blanc après [^<]*\<\/cont\> et [^<]*\<\/year\> avant la parenthèse fermante, alors qu'il ne doit pas y en avoir.
Message édité par gilou le 30-10-2008 à 17:14:36 --------------- There's more than what can be linked! -- Le capitaine qui ne veut pas obéir à la carte finira par obéir aux récifs. -- No jab ? No job ! -- (╯°□°)╯︵ ┻━┻ |
masklinn í dag viðrar vel til loftárása | C'est quoi l'intérêt --------------- 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? |
gilou ModérateurModosaurus Rex | Je me le suis aussi demandé, vu que dans ce fichier xml, les balises en question etant de même rang, leur ordre ne devrait pas avoir d'importance, sauf s'il y a un schema associé utilisé pour faire une validation. Message cité 1 fois Message édité par gilou le 30-10-2008 à 17:11:35 --------------- There's more than what can be linked! -- Le capitaine qui ne veut pas obéir à la carte finira par obéir aux récifs. -- No jab ? No job ! -- (╯°□°)╯︵ ┻━┻ |
masklinn í dag viðrar vel til loftárása |
edit: et accessoirement, je ferais ce genre de manips avec une lib XML dans [langage de prog préféré], genre ElementTree en Python, perso. Message cité 1 fois Message édité par masklinn le 30-10-2008 à 17:15:49 --------------- 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? |
gilou ModérateurModosaurus Rex |
Pour du XML de profondeur 1, avec une ligne = un record, c'est souvent plus couteux en perfs.
Message cité 1 fois Message édité par gilou le 30-10-2008 à 17:40:12 --------------- There's more than what can be linked! -- Le capitaine qui ne veut pas obéir à la carte finira par obéir aux récifs. -- No jab ? No job ! -- (╯°□°)╯︵ ┻━┻ |
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? |
juanita88 | Ok mais excusez moi, je suis une grande débutante en programmation (d'ou le xml), c'est quoi PERL ?
|
gilou ModérateurModosaurus Rex |
C'est quoi google?
--------------- There's more than what can be linked! -- Le capitaine qui ne veut pas obéir à la carte finira par obéir aux récifs. -- No jab ? No job ! -- (╯°□°)╯︵ ┻━┻ |
![]() Publicité | Posté le 30-10-2008 à 18:31:01 ![]() ![]() |
juanita88 | Voilà je me suis renseigné sur PERL, un peu compliqué tout ça.. je n'ai ni en ligne, ni en local reussie à faire fonctionner ce script...
|
masklinn í dag viðrar vel til loftárása | ben oui, perl --------------- 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? |
juanita88 | C'est y est !! C'est rigolo mais pourquoi s'embêter avec PERl alors qu'il suffit d'ouvrir mon xml sous excel et hop, un petit glisser de mes colonnes !!!
|
Taz bisounours-codeur | amis programmateurs bonjour. |
Sujets relatifs | |
---|---|
caracteres incompréhensibles | Rechercher la suite d'un début de chaine de caractères |
Déplacement d'objets en ajax | [C++][Vector & String][Memoire] Excep sur ~ d'un vecteur de string> 15 |
[o'caml] fonctions de formatage de chaines | [FORTRAN] Concaténation de chaines... :( |
Pourquoi quand je génère mon fichier xml j'ai ces caractères � ? | flash: synchroniser drag d'un objet et défilement du scénario |
[Résolu]Petite question trés simple pour comparaison entre deux chaine | regex validant chaine de caractères pouvant être nulle |
Plus de sujets relatifs à : Déplacement de chaines caractères |