Re: XSLT/XPATH problem, possible bug
"Michael Hansen" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Message-ID | <[email protected]> |
> The seems to display fine for me here with Firefox 1.5.0.4 release > build on Windows XP. Do you have a URL where the XSLT transformation > does not display the result you want? Well, it displays all fine, but the "search" functionality, which basically just configures the xpath differently and the sorting (xsl:sort), doesn't work. If you try searching on e.g. 'Rock' the list should be filtered so it only shows concerts categorized as 'Rock' in genre. It works fine with Opera 9 Beta and IE6. > Some comments on the stylesheet: > > Why do you use > <xsl:stylesheet version="2.0" > if you want to run the stylesheet with client-side XSLT processors > like the one used by Firefox or IE or Opera 9? All these are XSLT 1.0 > processors and with the version="2.0" you put them into > forwards-compatible processing mode: > <http://www.w3.org/TR/xslt#forwards> > Is that really what you want? Why can't you use > <xsl:stylesheet version="1.0" > ? > > The stylesheet is served as text/xsl, consider using application/xml > or text/xml which are official XML MIME types. Thanks for pointing that out, in my desperation for testing different modes, I forgot to set that back. /Michael