Re: [Xsltforms-support] Where to place <?xsltforms-options?>
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2011-04-18 11:22:29
|
Hi Philip, Usually the options PI can be written just after the stylesheet PI (if you want all your forms to have the same language, you should better consider copying the corresponding config_###.xsl file into config.xsl). By default, "navigator" value will allow the browser to ask for its default language config file. For English, there are two possibilities: "en" and "en_us". Can you have a look at the HTTP requests, with a browser debugger, to check the name of the config file it wants to obtain? Thanks! -Alain Le 18/04/2011 07:50, Philip Fennell a écrit : > I have been trying to change the default language, used by XSLTForms > Beta 3 in Firefox 3.6.10, to 'en' so that the date picker will > display dd/mm/yyyy but I cannot get it to change using the > xsltforms-options PI: > <?xsltforms-options debug="no" lang="en"?> > I have tried placing the PI before and after the xml-stylesheet PI and > also inside the xhtml:head and xf:model elements but without any luck. > Where should the PI go? > Regards > Philip Fennell > Consultant > MarkLogic Corporation > > One Kingdom Street > Paddington Central > London W2 6BD > United Kingdom > Mobile: +44 (0) 7824 830 866 > Tel: +44 (0) 203 402 3619 > > ema...@ma... > <mailto:Fir...@ma...> > webwww.marklogic.com <http://www.marklogic.com/> > |