Re: [Xsltforms-support] Support de "src" pour charger une instance externe?
Brought to you by:
alain-couthures
From: Franclin F. <f.f...@4c...> - 2010-02-10 11:03:23
|
On 10/02/10 10:26, Grégoire Colbert wrote: > Bonjour, > > Je voudrais savoir si ceci est faisable avec XSLTForms : > > <xf:model> > <xf:instance src="myExternalInstance.xml"/> > </xf:model> > > Car ça n'a pas l'air de fonctionner chez moi... > > Cordialement, > Grégoire > > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > Gregoire, Oui je peux confirmer cette assertion car j'ai eu a utilise un tel mecanisme tout recemment. Si cela ne fonctionne pas chez toi, je te conseillerai que le fichier externe (myExternalInstance.xml) se trouve au bon endroit. C'est a dire dans le meme repertoire que le fichier XSL de XSLTForms. Tu peux aussi utiliser l'option debug pour savoir si le fichier a ete charge ou pas. Par contre, je ne suis pas sur que tu puisses utiliser Google Maps avec XSLTForms j'ai tente a plusieurs sans succes. J'ai meme poste des messages sur le forum mais sans reponse! Par souci d'equite ou pour beneficier a toute la communaute, je vais poster ma reponse en Anglais :) Cordialement, Franclin. ********************************************* ENGLISH VERSION ********************************************* Gregoire, I can confirm that it is perfectly possible to do what you are after with XSLTForms. I did a similar stuff recently. If you are unable to make it work, I would strongly suggest that you check the path of your file. You can also make use of the Debug option provided by XSLTForms to find out if the file was loaded at runtime. However, I still do not believe it is possible to embed XSLTForms with Google Maps maybe because of the excessive JavaScript involved. I have tried different techniques but to no avail. I even posted a lot of messages on this forum but never got a reply. Maybe nobody has a clue. Regards, Franclin |