Re: XInclude in sitemap.xmap

Francesco Chicchiriccò <[email protected]>
Newsgroups gmane.text.xml.cocoon.user
Message-ID <[email protected]>
On 12/11/2012 07:59, Mansour Al Akeel wrote:
> Here's what I am doing:
>
>      <map:match pattern="article/{id}">
> 		<map:generate src="{global:base.repo.path}/articles/{map:id}/index.xml" />
> 		<map:transform type="xinclude" />
> 		<map:serialize type="xhtml"  />
>
> and this is error:
> [...]

Hi,
did you take a look at sample sitemap.xmap [1] (around line 387) and
specifically xinclude.xml [2]?

BTW: which version are you running? From the reported stacktrace I
understand C3, but some of your earlier questions were referring to C2.2....

Regards.

[1]
https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/sitemap.xmap
[2]
https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/aggregation/xinclude.xml

-- 
Francesco Chicchiriccò

ASF Member, Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.