From: Lennart M. <len...@eb...> - 2008-07-24 09:25:19
|
Hi Eric, > Curiously, when I click on the xml file with Firefox (under Windows), I > just get the XML displayed. When I bring it up in IE (same machine), the > style sheet is properly applied (looks nice!). Any guesses why that is? > Do I have a funny Firefox setting that prevents style sheets from being > applied? I get the same behaviour when I click the link in the email and it opens in Firefox (3 in my case). Firefox seems to treat the XML as a file download, and then shows you the file contents as if it were a text file. If you save the XML file locally however, and then open it in Firefox, it will apply the XSL and will provide the expected result. Go figure... Cheers, lnnrt. > > Thanks, > Eric > > >> -----Original Message----- >> From: psi...@li... > [mailto:psidev-ms-dev- >> bo...@li...] On Behalf Of Lennart Martens >> Sent: Wednesday, July 23, 2008 7:33 AM >> To: Mass spectrometry standard development >> Subject: Re: [Psidev-ms-dev] CV mapping rules XSL >> >> Dear PSI-MS Enthousiasts, >> >> >> Thanks to the pioneering effort by Marc Sturm, we now have an XSL >> stylesheet that transforms a mapping file in a relatively nicely >> readable web page. >> >> The original XSL made by Marc can be found at the URL included in his >> original message below, whereas my revised one is now committed to the >> PSI validator framework SVN repository. You can access this file here: >> > https://psidev.svn.sourceforge.net/svnroot/psidev/psi/tools/current/xsl/ > cv >> -mapping/CvMappingRules.xsl >> >> I have now added a reference to this stylesheet in the ms-mapping.xml >> file (which is also in the PSI SVN repository, in our mzML validator >> project), so this file is now automatically rendered into something > nice >> (provided you're online) when opened in a browser. >> >> If you want to give it a shot, you can access the file here: >> > https://psidev.svn.sourceforge.net/svnroot/psidev/psi/mzml/validator/ms- >> mapping.xml >> >> >> Enjoy, >> >> lnnrt. >> >> >> Marc Sturm wrote: >>> Hi Lennart, >>> >>> Let's try it like this: >>> http://www-bs2.informatik.uni-tuebingen.de/services/sturm/public/ms- >> mapping.xsl >>> >>> -Marc >>> >>> Lennart Martens wrote: >>>> Hmmm, I just get a text file entitled 'CT_CF_Drop_3.txt' containing > a >>>> single '0' character. >>>> Maybe zip the XSLT and send it again? It could be that one of the > amil >>>> clients or servers is trying to be clever by processing it somehow? >> > ------------------------------------------------------------------------ > - >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Psidev-ms-dev mailing list >> Psi...@li... >> https://lists.sourceforge.net/lists/listinfo/psidev-ms-dev > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Psidev-ms-dev mailing list > Psi...@li... > https://lists.sourceforge.net/lists/listinfo/psidev-ms-dev > |