Subject: Re: [xsl] Dynamic processing of xml file using xsl and javascript (200411/msg00765) From: António Mota <amsmota@xxxxxxxxx> Date: Wed, 19 Oct 2005 14:57:24 +0100 |
I run a lot of XSLT's on IE and FF without any problem or diference between then, i think bascically because i use the Sarissa library, that supports cross-browser javascript including XML/XSLT. By just looking at the pages in your browsers (i don't have time for more) i suspect maybe the problem is in the output method, XML or HTTP, but it's just a guess. On 10/19/05, Alan Varga <aevarga@xxxxxx> wrote: > I am trying to transform a calendar of events for several bands at my son's > middle school. The data is XML, and a form with two radio buttons and a > listbox determines writes two cookies which determine which band's or > month's events I want to see. The cookie values are combined in a script to > form the XSL filename to use when transforming the XML file. > > In Explorer the result has the formatting I intended, a table with rows , > some color-coded for specific events. In Firefox, the result is text only, > all run together, without any formatting applied, and using all of the XML > records instead of my filter, e.g. in Band-Symphonic.xsl > > <xsl:apply-templates select="Event[Band='Symphonic']" /> > > > The relevant files are: > > http://user.mc.net/~aevarga/mmsbb/calendar/calendar.htm for results > http://user.mc.net/~aevarga/mmsbb/calendar, view band.js > > > I am writing for the following environments: > Internet Explorer 6 SP1 > Vendor: Microsoft > Vendor URL: http://www.microsoft.com > > Mozilla Firefox 1.06 > XSLT Processor Version > Vendor: Transformiix > Vendor URL: http://www.mozilla.org/projects/xslt/ > > > I am using a modified version of a script written by Anton Triest which > checks the browser to decide how to perform the transformation. His > original script is hardcoded into the <head> of an HTML document and accepts > parameters from the onClick event: > > <body onload="Initialize(); SetParam('color','yellow');"> > > > Alan Divorty modified it to run with pre-set parameters, which I've > attempted to do, but apparently not as successfully. Unfortunately, he did > not post his code, so I am trying to follow up with him separately to > cross-check. > > Subject: Re: [xsl] Dynamic processing of xml file using xsl and javascript > (200411/msg00765) > From: ALAN DIVORTY <alan.divorty@xxxxxxxxxxxxxx> > Date: Wed, 17 Nov 2004 13:20:31 +0000 (GMT) > > > Can someone with both browsers check out my page and offer a suggestion > about how to adjust my transformation script? Your help is greatly > appreciated. I've been thinking about this project since May and finally > found the threads on this site last week. (Thanks to Jeni Tennison for > pointing me to mulberry.com and the XSL List.) > > Alan Varga
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Dynamic processing of xml, Emmanouil Batsis | Thread | Re: [xsl] Dynamic processing of xml, aevarga |
Re: [xsl] merging duplicate consecu, Martin Gadbois | Date | [xsl] Pass the value for xmlns:sche, Khorasani, Houman |
Month |