>>>>> "Bernhard" == bernhard huber <[EMAIL PROTECTED]> writes:
Bernhard> hi, what about using this kind of snippet?
Bernhard> <map:select type="header"> <map:parameter
Bernhard> name="header-name" value="accept"/> <map:when
Bernhard> test="application/xhtml+xml"> ... </map:when>
Bernhard> <map:otherwise> ... </map:otherwise> </map:select>
I don't think so.
Bernhard> you may want to read the wiki, too, see
Bernhard> http://wiki.apache.org/cocoon/HeaderSelector
I read it. And it says you can only match on the value of the header,
whereas I want to check if the header contains the string or not.
I think I'll write a RegexpHeaderSelector.
--
Colin Paul Adams
Preston Lancashire