cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathaniel Alfred" <>
Subject RE: Help needed with Content Aggregation ???
Date Tue, 11 May 2004 07:10:41 GMT
Use a small stylesheet at the end of your current pipeline to transform
the result set rows into cinclude:include tags, and then add the
CIncludeTransformer as next pipeline step:
Transform <row><uri/></row> ==> <include xmlns:
<> src="{uri}"/>
<map:match pattern="adh/user/search">
    <map:generate src="adh/resources/search.xml"/>
    <map:transform src="adh/styles/buildsearch.xsl">
        <map:parameter name="use-request-parameters" value="true"/>
    <map:transform type="sql">
          <map:parameter name="use-connection" value="portal"/>
    <map:transform src="row2include.xsl"/>
    <map:transform type="cinclude"/>
    <map:serialize type="xml"/>

HTH, Alfred.

What I am trying to do is build a large XML document on the fly from the
contents of all the search results as requested by the client(for ex:
abstractlist.xml , arraylist.xml, linkedlist.xml, vector.xml  in  my

But I am not getting ideas how will I aggregate this XML documents into
one large XML document. Mainly how should I define a pipeline to do this

Sam  <>

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

View raw message