cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georges Roux <>
Subject OOo
Date Tue, 10 Jun 2003 11:18:35 GMT

I try to transform xml files to format (.sxw) with cocoon

because sxw is a zip file format, I put this in my sitemap:
<map:serializer name="OOo" mime-type="application/vnd.sun.xml.writer" 

      <map:match pattern="testfile.sxw">
        <map:generate src="OOo.xml"/>
        <map:transform src="stylesheets/simple.xsl"/>
        <map:serialize type="OOo"/>

here is OOo.xml
<?xml version="1.0" encoding="UTF-8"?>

    Document   : OOo.xml
    Created on : 17 avril 2003, 00:35
    Author     : georges
        the sxw file format form is a zip format.

<zip:archive xmlns:zip="">
    <zip:entry name="content.xml" src="cocoon://OOo/content.xml"/>
    <zip:entry name="meta.xml" src="cocoon://OOo/meta.xml"/>
    <zip:entry name="settings.xml" src="cocoon://OOo/settings.xml"/>
    <zip:entry name="styles.xml" src="cocoon://OOo/styles.xml"/>

is that correct or anybody knows  other way to do it?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message