cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola Ken Barozzi" <baro...@nicolaken.com>
Subject Re: Allowed Sitemap Constructs
Date Mon, 07 Jan 2002 16:33:02 GMT

----- Original Message -----
From: "Berin Loritsch" <bloritsch@apache.org>
To: <cocoon-dev@xml.apache.org>
Sent: Monday, January 07, 2002 3:36 PM
Subject: Re: Allowed Sitemap Constructs


> I see a Matcher kind of like a massive SELECT architecture.

Maybe repeating things already said but, now, is there a real semantic need
of matchers *and* selectors?
Couldn't

<map:match>

  <map:match type="XX">
  <map:generate>
  <map:transform>
  <map:serialize>
  </map:match>

  <map:match type="YY">
  <map:generate>
  <map:transform>
  <map:serialize>

  </map:match>
</map:match>

be used instead of
<map:match>

  <map:select type="XX">

     <map:when test="wap">
       <map:generate>
       <map:transform>
       <map:serialize>
    </map:when>

   <map:when type="YY">
     <map:generate>
     <map:transform>
     <map:serialize>
   </map:when>

  </map:select>

</map:match>

It seems that it's taken from the xsl:template and xsl:choose stuff.
But here there is no real semantic gain... or is there?

--
Nicola Ken Barozzi                 xml-cocoon@nicolaken.com

These are the days of miracle and wonder...
          ...so don't cry baby, don't cry...
                                                  Paul Simon

Mime
View raw message