<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Multiple Files to one XML in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/multiple-files-to-one-xml/m-p/317463#M4464</link>
    <description>&lt;P&gt;I have the same problem to manage export rules and i don't know what is the right way&lt;/P&gt;</description>
    <pubDate>Fri, 19 Oct 2012 15:57:37 GMT</pubDate>
    <dc:creator>yayo_</dc:creator>
    <dc:date>2012-10-19T15:57:37Z</dc:date>
    <item>
      <title>Multiple Files to one XML</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/multiple-files-to-one-xml/m-p/317462#M4463</link>
      <description>&lt;P&gt;Excuse the dumb question, I'm new to Nuxeo:&lt;/P&gt;
&lt;P&gt;I would like to generate a file formatted like the one in the Zip Tree XML Export action, but instead of having multiple "document.xml" in various directories, I'm trying to generate a single XML with several &lt;DOCUMENT&gt; inside.&lt;/DOCUMENT&gt;&lt;/P&gt;
&lt;P&gt;I've tried writing some classes similar to ImportExportActionBean and NuxeoArchiveWriter but I've found that the I cannot write inside a Zip on a file that already exists (Error during XML export duplicate entry: document.xml), and also that org.dom4j.io.XMLWriter does not append content on an XML but overwrites it.&lt;/P&gt;
&lt;P&gt;What should I do? Create a custom ExportedDocument class that describes a List of DocumentModel instead of a single document? Or find a way to write single XML elements from the ExportedDocuments and append them to the XML files?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2012 11:10:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/multiple-files-to-one-xml/m-p/317462#M4463</guid>
      <dc:creator>roccapl_</dc:creator>
      <dc:date>2012-10-19T11:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Files to one XML</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/multiple-files-to-one-xml/m-p/317463#M4464</link>
      <description>&lt;P&gt;I have the same problem to manage export rules and i don't know what is the right way&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2012 15:57:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/multiple-files-to-one-xml/m-p/317463#M4464</guid>
      <dc:creator>yayo_</dc:creator>
      <dc:date>2012-10-19T15:57:37Z</dc:date>
    </item>
  </channel>
</rss>

