Indesign Interrogation d'une base de données

Bonjour,
Je ne sais pas s'il y a beaucoup de monde qui parle français ici... mais je tente ma chance.
Je dois ajouter, pour un catalogue existant, le prix de chaque produit.
Pour le moment, j'ai ajouté le prix (avec une valeur bidon) après chaque référence, et j'ai balisé <reference> et <prix>. Jusqu'ici pas de soucis.
Ensuite j'importe ma base XML, mais là Indesign ne fait que me placer les références et prix dans l'ordre du XML. Du coup mes références ne correspondent plus au produit d'en face.
Ce que je souhaite, c'est continuer ma mise en page, bouger mes blocs et qu'Indesign interroge la base de données lorsque je le souhaite pour mettre les prix à jour, en correspondance à la référence.
Je ne pense pas vraiment être sur la bonne piste.
Je sais que l'on peut faire pas mal de chose en javascript, et là je bloque car je suis vraiment novice et mes recherches ne mènent nul part.
Si quelqu'un avait une solution.
Merci.

dln385 a écrit:
Perhaps we can communicate using "Google Translate". Can you give us a sample of your XML so that we can understand its structure?
Peut-être que nous pouvons communiquer en utilisant "Google Translate". Pouvez-vous nous donner un échantillon de votre XML afin que nous puissions comprendre sa structure?
OK I can test my english.
Here is screen capture of the document I created for the test and the associated XML.
It is really simple but the problem I have is : when I import my XML, the references change (00003 become 000002, 000005 become 000003). I'm sure you will tell me it is normal. So what could be a good manipulation?
Thanks.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <Article>
                    <reference>000000</reference>
                    <price>pr0</price>
                    <currency>€</currency>
          </Article>
          <Article>
                    <reference>000001</reference>
                    <price>pr1</price>
                    <currency>£</currency>
          </Article>
          <Article>
                    <reference>000002</reference>
                    <price>pr2</price>
                    <currency>euros</currency>
          </Article>
          <Article>
                    <reference>000003</reference>
                    <price>pr3</price>
                    <currency>livres</currency>
          </Article>
          <Article>
                    <reference>000004</reference>
                    <price>pr4</price>
                    <currency>€</currency>
          </Article>
          <Article>
                    <reference>000005</reference>
                    <price>pr5</price>
                    <currency>euro HT</currency>
          </Article>
</Root>

Similar Messages

  • Creation d'une base de données

    Bonjour,
    Dans le cadre de mon projet qui est un banc de test, je souhaiterais  créer une base de données danslaquelle je peux stoker les différents références des produits que je vais tester  et leurs associer les tests correspondants.  Cela peut paraitre simple à certain mais je ne sais pas comment m'y prendre puisque je suis débutante. merci de me mettre sur le bon chemin.
    merci d'avance 

    merci pour votre réponse
    en fait j'ai fait recourt à Database Connectivity Toolkit, j'ai fait une petite recherche et mon premier essai était ci-joint. il consiste en la creation d'an tableau dans access qui va contenir tous les données et qu'il doit fonctionner normalement. mais c'était pas le cas chaque fois, lors de la simulation, une erreur se produit
    Attachments:
    applicationForm.vi ‏14 KB

  • Écriture dans une base de données Access

    Bonjour,
    J'utilise labview 8.5 avec le Toolkit NI LabVIEW Database Connectivity, et comme base de données Access 2007.
    Ma base de données est déjà créer, et je doit lui envoyer différentes données. J'ai créer un simple vi pour écrire une chaîne dans cette base de données mais j'ai une erreur : 
    L'erreur -2147467259 s'est produite à : Cmd Execute.vi->DB Tools Insert Data.vi->database.vi
    Raisons possibles :
    Exception occured in Microsoft JET Database Engine: Le nombre de valeurs de la requête doit coïncider avec le nombre de champs destination. dans Rec Create - Command.vi->Cmd Execute.vi->DB Tools Insert Data.vi->database.vi
    En utilisant les exemple de labview j'arrive à lire la base de données, mais je voudrais écrire.
    Merci
    Mickaël
    Pièces jointes :
    database.vi ‏16 KB

    Bonjour,
    Tout d'abord merci d'avoir posté sur le forum National Instruments. Poour votre problématique, je vous conseille de regarder l'aide détaillée LabVIEW de la fonction DB Tools Insert Data qui vous donnera toutes les informations nécessaires pour cette fonction.
    Dans votre cas, la data que vous voulez insérer n'est pas du type cluster. Or dans ce cas, le VI insert les données dans la colonne que vous spécifiez, entrée que vous n'avez pas spécifiée. Votre erreur doit donc venir de ce point.
    N'hésitez pas à regarder les exemples à la fin de l'aide détaillée qui vous aideront dans la mise en place de votre VI,en particulier l'exemple Sixtypes Insert VI.
    Cordialement
    Mathieu B
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Forum Aéronautique, Spatial et Défense. Avec la participation exceptionnelle de Bernard DUPRIEU, Res...

  • Comment migrer une base de Données 9i R2  en 11g R2

    Bonjour,
    je  suis assistant  DBA  dans une direction du gouvernement de mon pays, et  j'aimerais avoir de la documentation pour  pouvoir migrer ma base de données de production(version 9iR2)  en 11gR2.
    Ma  hiérarchie me demande de leur fournir une documentation du  mode opératoire que j’exécuterai  afin d'y parvenir correctement à la migration de ma Base de Données.
    je  vous prie de bien vouloir m'orienter sur la documentation appropriée  pour  que  je puisse effectuer cette Migration.
    Merci,

    Moved to the Upgrade forum
    From translate.google.com
    hello,
    I DBA assistant in a branch of my government, and I would have documentation to be able to migrate my production database (version 9iR2) in 11gR2.
    My superiors asked me to provide documentation of the procedure that will execute in order to achieve the migration of my Database correctly.
    please kindly direct me to the appropriate documentation so that I can perform this migration.
    thank you, 
    Direct upgrades from 9iR2 to 11gR2 require that you be at least at version 9.2.0.8 - http://docs.oracle.com/cd/E11882_01/server.112/e23633/preup.htm#UPGRD12358
    If you are at a lower level than 9.2.0.8, and want to perform a direct upgrade (using DBUA or manual scripts), then you will first have to apply the 9.2.0.8 patch from MOS (See the README of this patch for instructions).
    Then follow the directions in the Upgrade Guide - Contents
    Another option, as Serguisz stated, is to perform an export/import, but that is typically slower than a direct upgrade. The solution will depend on your requirements, how long an outage you can tolerate and the size of the database.

  • Stocker des informations dans une base de données mysql via CVI

    comment puis je stocker des données dans ma base de données ??j'ai essayer les exemples que j'ai trouvé dans cvi mais ya tjr 1 probleme...
    merci

    Pour aller plus loin, il serait très utile de nous donner plus d'infos sur les probmlèmes que vous rencontrez ... Message d'erreur etc...
    Car Malheureusement, nous ne sommes pas devins
    Bonne journée,

  • Erreur connection base de données

    Bonjour,
    J'ai une erreur numéro 505 lorsque je ferme mon application, Cette erreur apparit lorsque je ferme la connection à la base de données ACCES. A qui correspond cette erreur 505?
    Merci de votre réponse.

    Bonjour,
    Pour commencer avec quoi vous interfacez-vous ?
    Utilisez-vous le toolkit SQL ?
    Et enfin pouvez-vous me communiquer plus de détails sur votre configuration et joindre un exemple simple ?
    Salutations,
    Marc Larue
    NIF

  • Connection JDBC d'un PC Windows NT a une base Oracle sur IBM AIX

    j'utilise un driver JDBC pour me connecter a une base Oracle sur
    un serveur Unix IBM AIX a partir d'une station sous Windows NT4
    (SP6)
    Par contre, lorsque je lance la connection il m'affiche une
    SQLException : Exception d'E/S : the network adapter could not
    establish the connection
    Donc de quoi ais-je besoin entre ma station NT et le serveur Unix
    pour me connecter ???
    Sinon j'ai entri ca comme parametre de connection :
    JDBC Driver : oracle.jdbc.driver.OracleDriver
    URL : jdbc:oracle:thin:@<Adresse IP du serveur Unix>:1721:orax
    (orax : nom de la base de donnies)
    <sid> -> ne sachant pas ce que cela represente j'ai pensi entrer
    le nom de la BD a la place, mais a mon avis cela est faux !!!
    Donc avez une astuce ?

    Hi, yes we should go straight to lynching the driver.
    ;)No we shouldn't. We should lynch Edward King.
    No matter what Java is tried, even homicidal Java
    code can't cause native segfaults that kill the JVM.Well you see....
    The only cause of this is broken native code.Technically correct and I agree but (and you knew this was coming)....
    First of all http://java.sun.com/products/jdbc/faq.html#14 This may or may not be part of the problem here. I can't say for sure. But the bridge driver is not multi-threaded. Sun is pretty straightforward in saying so. Since it is (contains) native code if you treat it otherwise you need to expect bad things to happen.
    More importantly though...
    EdwardKing is using MS Access. Access is a single user desktop database product not a database service (let alone an enterprise database service).
    So multiple connections hitting a Access database may well cause unpleasant things. One can blame the driver yes and ultimatley the source point for the actual error is there I agree but EdwardKing is in reality to blame for trying to use a product (Access) for which it was not intended.
    And this leads me back to my original point which is that even IF another driver supports connection pooling to Access in reality it isn't much of a connection pool at all. Because (a) there is no actual network connection and (b) all the queries will be lining up one at a time to lock the underlying file to do things anyway.
    JoeMax
    PS Another Joe will be along later to possibly comment on the suitablity of the use of the JDBC-ODBC bridge driver. However once again I would just like to point out that my underlying concern is that Edward King is trying to use Access as if it were SQL-Server or the like and it is no such thing.

  • Comment faire pour obtenir une acquisition de données toutes les 5 secondes ??

    Bonjour
    Je suis en train de réaliser un VI me permettant de faire une acquisition de données de thermocouples reliés à mon COMPACT DAQ.
    Je voudrais qu'il me fasse une acquisition des 8 thermocouples toutes les 5 secondes.
    Je peux transferer mon VI pour voir un peu mieux ce que j'ai fait.
    Cordialement

    Lulu82,
    Pour pouvoir utiliser ton executable sur une machine sans LabVIEW d'installé, tu vas avoir besoin d'un petit logiciel pour pouvoir faire tourner le .exe. Il s'agit du Run Time Engine de LabVIEW.
    Soit tu installes en parallèle ce module en passant par notre site (en installant le Run Time correspondant à ta version de LabVIEW). 
    Soit, le plus simple, tu génères un installeur, comme tu peux le retrouver dans l'aide LabVIEW :
    Principes de base >> Construction et distribution de l'application >> Création de spécifications de constructions >> Construire un instaleur
    Dans cet installeur, tu ajouteras le Run-Time Engine ainsi que les drivers nécessaires à ton application (je suppose le driver NI-DAQmx), et ils se déploieront au moment de l'installation sur ton PC ne possédant pas LabVIEW :
    onglet "Avancé", dans la fenêtre qui s'ouvre, s'assurer que  "Moteur d'exécution Labview" soit bien coché.
    En éspérant que cela pourra t'aider !
    Antonin G. Associated LabVIEW Developper
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Communauté francophone des développeurs LabVIEW et des enseignants en STI2D
    Si vous souhaitez partage...

  • When I try to open IN AI or Ps files appear a window:" impossible to open ...namefile.indd because it was saved in a plus recent version of adobe indesign (CS7.2)". But I don't have do that?

    When I try to open IN AI or Ps files appear a window:" impossible to open ...namefile.indd because it was saved in a plus recent version of adobe indesign (CS7.2)". But I don't have do that? please help me, thank you. giampiero

    Hi,
    You cannot open the file created/opened in the latest version of InDesign into older version of InDesign directly.
    You will have to export the file, File >Export , into IDML from the newer version to make it compatible with older version.
    {moved to InDesign forum}
    Thanks,
    Manish Sharma

  • Migration d une base access ver oracle

    TRES TRES URGENT
    bjr je suis etudiant senegalais en LICENCE PROFESSIONNEL EN INFORMATIQUE DE GESTION ou je PREPARE UN MEMOIRRE. DONC J AIMERAI BIEN AVOIR DES REPONSES SUR LA CONFIGURATION ORACLE MIGRATION WORKBENCH POUR L INCLURE DANS MON MEMOIRE AFIN D EXPLIQUER SES PERFOMANCES ET COMMENT ON MIGRE UNE BASE DE DONNEE ACCESS VERS ORACLE , LES DIFFERENTS ETAPES SI POSSIBEL RECEVOIR LA REPONSE SOUS FORME DE DOCUMENT EN FRANCAIS SINON CE N EST PAS GRAVE VOUS POUVEZ ME REPONDRE COMME VOUS VOULEZ.
    MERCI

    Used babelfish for the translation.. (I know this is french and this is what comes out of this post) ;-D
    VERY VERY URGENT bjr I am etudiant senegalais in LICENCE PROFESSIONAL IN BUSINESS DATA PROCESSING or I PREPARE a MEMOIRRE. THUS I WILL LIKE TO HAVE REPONSES ON The CONFIGURATION ORACLE MIGRATION WORKBENCH TO INCLUDE IN MY MEMOIRE(SOme kinda note or something I think ) SO AS TO EXPLAIN ITS PERFOMANCES AND HOW ONE MIGRATES A BASE OF DONNEE ACCESS TOWARDS ORACLE, DIFFERENT The STAGES IF POSSIBEL TO RECEIVE The RESPONSE IN THE FORM OF FRENCH DOCUMENT IF NOT ENGRAVES YOU CAN ANSWER ME AS YOU WANT. THANK YOU
    I think the guy is asking about the use of Migration workbench for Oracle. possibly in french language .. or may be in whatever language (english) we can give.
    possbly the stages of migrating ..
    Now a little bit of google gave me
    http://www.oracle.com/technology//tech/migration/workbench/index.html
    Can someone (who knows french) please verify If this is what this soul wants. or it is something else.
    ( I am doing this as it was fun reading french after a long time)
    Sunil
    TRES TRES URGENT
    bjr je suis etudiant senegalais en LICENCE
    PROFESSIONNEL EN INFORMATIQUE DE GESTION ou je
    PREPARE UN MEMOIRRE. DONC J AIMERAI BIEN AVOIR DES
    REPONSES SUR LA CONFIGURATION ORACLE MIGRATION
    WORKBENCH POUR L INCLURE DANS MON MEMOIRE AFIN D
    EXPLIQUER SES PERFOMANCES ET COMMENT ON MIGRE UNE
    BASE DE DONNEE ACCESS VERS ORACLE , LES DIFFERENTS
    ETAPES SI POSSIBEL RECEVOIR LA REPONSE SOUS FORME DE
    DOCUMENT EN FRANCAIS SINON CE N EST PAS GRAVE VOUS
    POUVEZ ME REPONDRE COMME VOUS VOULEZ.
    MERCI

  • How do I purchase a serial key for InDesign CS 5.5? (I don't want CS6)

    Can anyone from Adobe tell me where I can buy a serial key for my InDesign CS 5.5? I already have the program and earlier purchased the other CS 5.5 programs, I don't want the CS 6 version. Seems impossible to locate on the Adobe homepage - help appreciated!

    Adobe's online store only sells licenses for the current versions of their products.
    You may be able to find a retail (boxed) version from a third-party reseller, but given how long CS6 has been around I doubt it.

  • After a reinstall of CS4 InDesign, it is as if I don't have full use of the program?

    I have been through support chat with regards to deactivating the program on my old machine, (which I did not do, hence the chat with support ot resolve that, which I think has been accomplished) I uninstalled the program from my new machine, reinstalled it, entered the serial number, etc. and I am having the same issues.
    Namely, some of the features don't work anymore. It is as if the mouse clicks aren't even recognized, and yet other options seem to work fine? About half of the fonts are no longer available, and I was unable to download any without getting a security/authorization error message.
    Would appreciate any feedback, and will be glad to try to give more details!
    thanks,
    ponymansgirl

    As Jeff says, what OS? If it is Windows 7, Google InDesign doesn't respond to mouse clicks.
    http://helpx.adobe.com/indesign/kb/indesign-tools-panels-dont-respond.html

  • InDesign 6 opens but tools/panels don't load.  Please help.

    I have just upgraded to a new MacPro.  Had Creative Suite 6 all working fine on my old system, but on the new system InDesign will not open properly. I get multiple messages on opening about tools it cannot load because it requires different panels -- spelling, transform, and swatches. The message says please install "such and such" plug in and restart. These plug ins appear in the folder already.  I have replaced preferences, uninstalled and re-installed twice, and still having the issue.  I have to go back to using my old computer in order to get any work done since this one won't open 5.5 at all.  Please help.

    I resolved the problem and InDesign is working again, as well as the rest of the Creative Suite.  However I did not do the third install.  Because I was also having some issues with a few folders that did not have the right permissions, I decided to go with the other user account where InDesign worked and there were no permissions issues on the drive. I did not use the migration tool this time -- I just moved the files I needed from one user to the other or reset system preferences. It is so easy to switch between users now that I'm not too worried about any little things that I may have missed -- I will just keep the old user for a little while until I'm convinced everything I need is there. The old migrated user account had a lot of "junk" in it, so this should work out better anyway, and I learned a lot about using Mavericks in the process.  Now back to work!
    Thank you for your kind responses.  I'm glad to know that this community is here.

  • Erreur 0019 suite modification base de données externe

    L'explication sommaire peut laisser dans l'impasse.
    J'ai rédigé une note sur la façon de résoudre.
    Je la tiens à disposition de la communauté, si on me donne une adresse pour transmettre un pdf.
    Ce dernier pourrait compléter l'exposé de Manuel RIVERA du 27 Septembre 2011, sous réserve de vérification et correction éventuelle par un membre autorisé à publier.
    https://social.msdn.microsoft.com/profile/manuel%20rivera/?ws=usercard-mini
    Salutations
    JeanROY

    Hi JeanROY,
    Could you post your thread in English? It will be helpful for us to understand what you want to say, and more community members will provide help for you.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • DOC SUR LA MIGRATION D'UNE BASE DE DONNEE ACCESS 2000 VERS ORACLE 9i

    TRES TRES URGENT
    JE PREPARE MON MEMOIRE ET C'EST LA PREMIERE FOIS QUE J UTILISE LE WORK BENCH MIGRATION D ORACLE
    J AIMERAI BIEN RECEVOIRE UNE DOCUMENTATION SUR LA CONFIGURATION D ORACLE MIGRATION WORKBENCH ET LES DIFFERENT ETAPES A RESPECTER POUR FAIRE LA MIGRATION DUNE BASE DE DONNEE ACCESS 2000 VERS ORACLE 9i SI POSSIBLE AVEC LES ECRANS DE QUI MONTRE LES DIFFERENTS ETAPES DE LA CONFIGURATION ET DE LA MIGRATION.
    MERCI
    SVP SVP

    Regardez http://download-west.oracle.com/docs/html/B10255_01/toc.htm. il montre les différences.
    merci
    Barry

Maybe you are looking for

  • How to start a Jar file in another directory?

    Hello! I have 2 questions, hope someone can help me... 1) I have a GUI which is placed in C:/java/tmp/GUI.java. When I run this program I want it to start runing a JAR file which is placed in d:/tmpdir/app.jar. How do I do this? 2) How can I get the

  • Disable gui buttons while excuting script

    hi, i have class that that calls script in one of methods     synchronized(this){          Process p = Runtime.getRuntime().exec("cmd /c start " + script.getCanonicalPath());          p.waitFor();     }I'm writting a swing gui above this class.. This

  • Merged RPD not working

    Hi Folks I had 4 different RPD's in four different machines. I merged all four of them using the Merge option in the admin tool, into one machine as the requirement had changed. But when I upload the merged rpd in the enterprise manager I am not gett

  • IPhoto automatically starts when macbook starts up

    Hello i recently updated iPhoto to 9.5.1 and ever since then, every time i turn on my mac book air ,i photo automatically launches. I've checked the settings and i don't find anything to disable it from automatically starting /opening upon laptop sta

  • Getting audit error message while installing oracle with different user

    Hi All, I was trying to install oracle 10.2.0.4 on Sun OS. my oracle binaries owner was like you can "ABC" i was trying to create another database from user like "DEF" using the same oracle binaries. MY DBF user is members os same dba group from wher