These two can not be used together: <map:read src="{1}.xml" mime-type="text/xml"/> <map:serialize type="xml"/>
Read also log file - it should have a message. Vadim > From: Brian Topping [mailto:[EMAIL PROTECTED]] > > Good day all, > > I have this sitemap that I have been trying to get working as > cocoon/mount/dirname/sitemap.xmap. I get a sitemap compilation error > when I try to use it. I cannot figure out what I am not doing properly > with it. ACK!! > > Does anyone have any ideas about this? > > Thanks for your consideration, > > Brian > > *-*-**-*-**-*-**-*-**-*-**-*-**-*-**-*-**-*-**-*-**-*-**-*-**-*-**-*-**- > *-**-*-**-*- > > <?xml version="1.0"?> > <!-- edited with XML Spy v4.2 U (http://www.xmlspy.com) by Brian Topping > (Digidemic, Inc.) --> > <!-- This sitemap shows what is possible and what is not allowed. --> > <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> > <map:components> > <map:generators default="html"/> > <map:transformers default="xslt"/> > <map:readers default="resource"/> > <map:serializers default="html"/> > <map:matchers default="wildcard"/> > <map:selectors default="parameter"> > <map:selector name="parameter" > logger="sitemap.selector.parameter" > src="org.apache.cocoon.selection.ParameterSelector"> > <!-- component configuration may have > any tags --> > <unknown-tag/> > </map:selector> > </map:selectors> > </map:components> > <map:pipelines> > <map:pipeline> > <map:match pattern="**.gif"> > <map:read src="{1}.gif" > mime-type="image/gif"/> > </map:match> > <map:match pattern="**.xml"> > <map:read src="{1}.xml" > mime-type="text/xml"/> > <map:serialize type="xml"/> > </map:match> > <map:match pattern="**.jpg"> > <map:read src="{1}.jpg" > mime-type="image/jpg"/> > </map:match> > <map:match pattern="**.htm"> > <map:read src="{1}.htm" > mime-type="text/html"/> > </map:match> > </map:pipeline> > </map:pipelines> > </map:sitemap> > <!-- end of file --> --------------------------------------------------------------------- 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]>