I am a newbie to aggregation and am having problems.  When I try to
aggregate two (or three) files together via the sitemap aggregate tag, I get
the following error. Can somebody point me in the right direction so that I
can use aggregation.  I cannot seem to find much documentation on using
aggregation in the sitemap.  Also, does anyone know why a second top level
element is being generated?

Thank you ...

-- Michael Pokorny
Nielsen Media Research



++++++++++++++++++++++++++++++++++++++++++
ERROR from IE 5 browser
++++++++++++++++++++++++++++++++++++++++++

The XML page cannot be displayed 
Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later. 


----------------------------------------------------------------------------
----

Only one top level element is allowed in an XML document. Line 2, Position
145 
 

<HTML-mike xmlns:ns3="http://foo.bar.com/peggy";
xmlns:ns2="http://foo.bar.com/steve";
xmlns:ns1="http://foo.bar.com/michael";><body/></HTML-mike><html
xmlns:error="http://apache.org/cocoon/2.0/error";>
----------------------------------------------------------------------------
---------------------------^
++++++++++++++++++++++++++++++++++++++++++
End of error:  ERROR from IE 5 browser
++++++++++++++++++++++++++++++++++++++++++


(Here is my aggregation snippet from my sitemap)

   <map:match pattern="hello-aggregation-michael.html">
     <map:aggregate element="page" ns="http://foo.bar.com/myspace";>
       <map:part src="docs/samples/hello-michael.xml" element="michael"
ns="http://foo.bar.com/michael"/>
       <map:part src="docs/samples/hello-steve.xml"   element="steve"
ns="http://foo.bar.com/steve"/>
     </map:aggregate>
     <map:transform
src="stylesheets/page/simple_aggregated_michael-page2html.xsl"/>
     <map:serialize type="xml"/>
   </map:match>



---------------------------------------------------------------------
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