Hi all,

We're getting this output using sourcewriter:
Note: the file exists...

 <?xml version="1.0" encoding="UTF-8" ?>
- <page xmlns:xsp="http://apache.org/xsp";>
  <source:write src="file:/C:/Program Files/Apache Group/Tomcat
4.1/webapps/cocoon/pubmed/repository/result1.xml" action="none"
result="failed" xmlns:source="http://apache.org/cocoon/source/1.0";>The src
attribute doesn't resolve to a writeable source and failed to
cancel</source:write>
  </page>


sitemap source:

      <map:match pattern="*.xsp">
       <map:generate type="serverpages" src="xsp/{1}.xsp"/>
       <map:transform type="write-source"/>
       <map:serialize type="xml"/>
      </map:match>

source:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsp:page language="java" xmlns:xsp="http://apache.org/xsp";>
<xsp:logic>
  String msg = "lala";
</xsp:logic>
<page>
   <source:write src="repository/result1.xml"
xmlns:source="http://apache.org/cocoon/source/1.0";>
     <source:fragment><page>
       <title>Hello World</title>
       <content>
         <p>This is my first paragraph.</p>
       </content>
     </page></source:fragment>
   </source:write>
 </page>
</xsp:page>



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

Reply via email to