<?xml version="1.0" encoding="UTF-8"?>
<content_model name="REFWORKS">
    <display_in_fieldset>
        <datastream id="QDC">
            <method>
                <file>plugins/ShowStreamsInFieldSets.inc</file>
                <class_name>ShowStreamsInFieldSets</class_name>
                <method_name>showQdc</method_name>
            </method>
            </datastream>
            <datastream id="refworks">
                <method>
                    <file>plugins/ShowStreamsInFieldSets.inc</file>
                    <class_name>ShowStreamsInFieldSets</class_name>
                    <method_name>showRefworks</method_name>
                </method>
            </datastream>
        <datastream id="romeo">
            <method>
                <file>plugins/ShowStreamsInFieldSets.inc</file>
                <class_name>ShowStreamsInFieldSets</class_name>
                <method_name>showRomeo</method_name>
            </method>
        </datastream>
        <datastream id="OBJ">
            
        </datastream>
        <datastream id="DOC">
            
        </datastream>
    </display_in_fieldset>
     <mimetypes>
        <type>text/xml</type>
         <type>text/plain</type>
         <type>application/xml</type>
    </mimetypes>
    <ingest_rules>
        <rule>
            <applies_to>
               text/xml
            </applies_to>
            <applies_to>
                text/plain
            </applies_to>
            <applies_to>
               application/xml
            </applies_to>
            <methods>

            </methods>

        </rule>

    </ingest_rules>
    <ingest_form dsid="QDC" page="2">
        <form_builder_method>
            <file>plugins/Refworks.inc</file>
            <class_name>Refworks</class_name>
            <method_name>buildForm</method_name>
            <form_handler>handleForm</form_handler>
            <!--need validation method as well-->
            </form_builder_method>
            <form_elements>
            <element>
                <label>Ingest</label>
                <name>hiddenvalue</name>
                <value>hidden</value>
                <type>hidden</type>
                <prefix>We now have all the information we need to ingest.</prefix>
                <description>The name given to the resource</description>
                <required>false</required>
            </element>
        </form_elements>
    </ingest_form>

</content_model>