cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morrison, John" <>
Subject HeaderSelector...
Date Mon, 17 Jun 2002 14:57:16 GMT
Hi all :)

I'm trying to use the header selector, but I keep dropping through
to the default (jpeg).  Does anybody have a clue what I'm missing/
doing wrong?  The {1} and {2} files exist I just keep getting a jpeg
even though I have both the svg plugin and png support!

I'm (as usual ;) using the head of cvs and the latest beta of TC 4.

<map:match pattern="*/*">
 <map:generate src="data/{1}.xml"/>
 <map:transform src="charts/{2}.xsl"/>
 <map:select type="header">
  <map:when test="accepts('image/svg-xml')">
   <map:serialize type="svgxml"/>
    <map:when test="accepts('image/png')">
     <map:serialize type="svg2png"/>
     <map:serialize type="svg2jpeg"/>




It's so stupid of modern civilization to have given up believing in the
Devil when he is the only explanation of it.

Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message