You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christian Joelly <ch...@knapp.com> on 2002/12/05 16:38:37 UTC
map:when, patterns?
Hello!
can anybody please tell me what patterns are allowed to use with the
"test" attribute? Is there a way to test for the _availability_ of an
parameter, attribute or the like? Not of a special value. Sure, i can
test for "", but the logfile says:
DEBUG (2002-12-05) 16:22.29:834 [sitemap.selector.session-attribute]
(/knapp/reports/logo.xml) Thread-43/SessionAttributeSelector: Session
attribute 'user' not set -- failing.
I have tried to use sessionstate matchers, but i can't test for the
existence of an session attribute...
it would be nice to use map:when like xsl:choose...
thx, Chris
--
KNAPP Logistics Automation http://www.knapp.com
Ing. Christian Jölly Tel/FAX: (++43) 316 / 495 1926 / 495 394
Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz
-- Support your government, give Echelon/Carnivore something to parse --
AMTAS ATMD ATSC Abdullah Allah communist CIA DD2-N DISA DoD GRU Gregori
Irak Iran KGB Kurdish LSD NATO NSTD Natasha ORD RTEM Russia STRAP
Saddam Hussein TSP Yugoslavia attack bank bomb classfield cocain
compromise defense democracy destroy destruct detonator directorate
elections enforce extasy force foreign embassy government grass hashish
heroin illegal information international military systems missile
million dollars nuclear policital pot power presidental project
restricted data revolution rule the world sensitive smuggle spy steal
system takeover terrorist top-secret warmod warrior-T weapon weed
------------------------------------------------------------------------
Re: map:when, patterns?
Posted by Christian Joelly <ch...@knapp.com>.
Hello again!
sorry for that question :-( i use map:otherwise for this task...
Chris
On Thu, Dec 05, 2002 at 04:38:37PM +0100, Christian Joelly wrote:
>
> can anybody please tell me what patterns are allowed to use with the
> "test" attribute? Is there a way to test for the _availability_ of an
> parameter, attribute or the like? Not of a special value. Sure, i can
> test for "", but the logfile says:
--
KNAPP Logistics Automation http://www.knapp.com
Ing. Christian Jölly Tel/FAX: (++43) 316 / 495 1926 / 495 394
Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz
-- Support your government, give Echelon/Carnivore something to parse --
AMTAS ATMD ATSC Abdullah Allah communist CIA DD2-N DISA DoD GRU Gregori
Irak Iran KGB Kurdish LSD NATO NSTD Natasha ORD RTEM Russia STRAP
Saddam Hussein TSP Yugoslavia attack bank bomb classfield cocain
compromise defense democracy destroy destruct detonator directorate
elections enforce extasy force foreign embassy government grass hashish
heroin illegal information international military systems missile
million dollars nuclear policital pot power presidental project
restricted data revolution rule the world sensitive smuggle spy steal
system takeover terrorist top-secret warmod warrior-T weapon weed
------------------------------------------------------------------------