Actually, what seems to be happening is this... When I visit test.xml.print, I get the 'default' or first xsl-stylesheet listed in the .xml file... no way around it.
When I edit the .xml file and remove the first 'default' xsl-stylesheet, I get the 'alternate' instead. Now, when I add the 'default' one back in, it will switch between the two depending on file extension. Anyway to avoid that? p. > -----Original Message----- > From: Phillip Smith [mailto:[EMAIL PROTECTED]] > Sent: December 19, 2002 1:46 PM > To: 'Phillip Smith'; 'Matt Sergeant' > Cc: 'axkit-users ML' > Subject: RE: choosing an alternate stylesheet? > > > > Nevermind, I got it! > > Not sure why, must have been cached. > > p. > > > -----Original Message----- > > From: Phillip Smith [mailto:[EMAIL PROTECTED]] > > Sent: December 19, 2002 1:25 PM > > To: 'Matt Sergeant' > > Cc: 'axkit-users ML' > > Subject: RE: choosing an alternate stylesheet? > > > > > > > > > > > -----Original Message----- > > > From: Matt Sergeant [mailto:[EMAIL PROTECTED]] > > > > At the moment, I'd like to get the FileSuffix method > > working, but I > > > > keep getting the 'default' sytlesheet. I'm wondering if > > I'm missing > > > > something > > > > obvious? > > > > > > [snip] > > > > > > > But, when I try to acess test.xml.print, I get the > 'default' xsl. > > > > > > > > Any thoughts? > > > > > > Yes, you need to re-read the docs for the module again. > It has to be > > > installed as a Trans Handler, otherwise Apache assumes the file > > > doesn't exist. > > > > > > Matt. > > > > Hi Matt, > > > > Thank you for the response... I'm reading the man page for > > FileSuffix and this is all it says: > > > > This module lets you pick a stylesheet based on the > > filename suffix. To use it, simply add this module to the > > list of PerlTypeHandlers: > > > > PerlTypeHandler > Apache::AxKit::StyleChooser::FileSuffix > > SetHandler perl-script > > PerlHandler AxKit > > > > If I put this in my httpd.conf file, I still don't get the > > transform. I get the default stylesheet instead. > > > > Any thoughts? > > > > p. > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
