Hi Laurent,
I can probably convert my coplets to be inside a
single match -- I was hoping to awoid rework and stick
with my old model. By the way, can you explain how
portal-object-model action works? Also you have
mentioned something about portal history in one of
your previous e-mails, what is it?
Thanks,
-Alex
--- Laurent Trillaud <[EMAIL PROTECTED]> wrote:
> Alex
> IMO it's easier is you put your coplet inside only
> one match, because you
> will not have to use the portal-object-model action.
> Therefore, your match will become
> <!-- <resource>.<style>.coplet -->
> <map:match pattern="*.*.coplet">
> <map:generate src="{1}.resource">
> <map:trasform src="{1}2{2}.xsl">
> <map:parameter name="news-id"
> value="{coplet:parameters/news-id}"/>
> <map:trasform src="{2}-links.xsl"/>
> <map:serialize type="xml"/>
> </map:match>
> Hope that will be useful.
> Laurent
=====
Alex Romayev
Software Architect
http://www.romayev.com
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]