Hello, my idea is: create "n" pipelines that acces to the url's and get html
documents into xhtml. After that create an pipeline that include all this sources:

For all urls:
<map:match pattern="url1">
        <map:generate src="http://www.myurl.com/PredINM"; type="html"/>
         <map:serialize type="xml"/>
</map:match>


   <map:match pattern="allUrls">
      <map:aggregate element="root">
        <map:part src="url1"/>
        <map:part src="url2"/>
        .............................
        <map:part src="urln"/>
     </map:aggregate>
     <map:transform src="transfomer.xsl">
     <map:parameter name="use-request-parameters" value="true"/>
     <map:parameter name="use-browser-capabilities-db" value="true"/>
      </map:transform>
      <map:serialize type="html"/>
   </map:match>
I don't know if this sitemap xml is correct but I think that the idea is valid.


Bertrand Delacretaz wrote:

> Is it possible for a "standard" Transformer (XSLT? CInclude?) to retrieve
> multiple HTML documents based on a dynamically-built list of URLs?
>
> I'm thinking of the following scenario, but I'm not sure how to implement 2.
>
> 1. Generator + Transformer build an XML document containing a list of http
> URLs (computed dynamically) that point to HTML documents.
>
> 2. Transformer retrieves all (HTML) documents and builds a composite (XHTML)
> document for further processing
>
> This can certainly be done using XSP, but I'm wondering if there is an easier
> solution (would the CInclude Transformer accept HTML documents, for example?).
>
> --
>  -- Bertrand Delacrétaz, www.codeconsult.ch
>  -- web technologies consultant - OO, Java, XML, C++
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to