Start by pasting in all the XQSync properties you're setting. Anonymize anything confidential: the database password for example.
OUTPUT_FILTER_FORMATS only supports document formats: binary(), text(), xml. This is more or less copied from the XCC http://docs.marklogic.com/javadoc/xcc/com/marklogic/xcc/DocumentFormat.html API. It sounds like your metadata documents might also be XML: if so OUTPUT_FILTER_FORMATS isn't the right tool. If you keep your metadata in properties this is as simple as setting COPY_PROPERTIES=false. In other situations you might use an INPUT_QUERY that matches your main documents but ignores the metadata. That's pretty easy to do if they differ in structure. For example if the main docs have a common "root" element, then cts:uris with a simple query should be enough: cts:uris((), (), cts:element-query(xs:QName('root'), cts:and-query(()))) -- Mike > On 20 Nov 2014, at 09:32 , Schwartz, Christine <[email protected]> > wrote: > > Hi, > > I'm trying to use XQSync to copy XML documents to a zip file without copying > the accompanying metadata files. > > I've been trying to use OUTPUT_FILTER_FORMATS, but so far I've had no luck > getting that property to work. > > Thanks for any help! > > Best, > > Chris > > Christine Schwartz > Metadata Librarian and XML Database Administrator > Princeton Theological Seminary Library > 25 Library Place > Princeton, NJ 08540 > [email protected] > > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general > _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
