XSD Template in generating Buddy XML for Case360

The capture broker feature of Case360 allows uploading of files into the Document Management System by pairing the file(s) to an XML file. This purpose is made easier by utilizing WebLogic’s use of XSD to automatically generate XML files that are well-formed.

Below is a sample XSD that defines the pattern for a buddy XML.

<?xml version="1.0" encoding="ISO-8859-1" ?>


	<!-- Note: The IRI of the xmlns above need not be a real URL! -->
		<xs:documentation xml:lang="en-ph">
		Schema for ingestion of XML and document for DMS.

	<xs:element name="MediaUpload">
				<!--  maxOccurs="1" -->
				<!-- "check" corresponds to the data tag in the XML instance -->
				<xs:element name="mediaItem" minOccurs="1" type="c360:RedmapElement" />

	<!-- This name attribute will correspond to the Java type in the JPF. -->
	<xs:complexType name="RedmapElement" >
			<!-- document date -->
			<xs:element name="documentDate" minOccurs="1" maxOccurs="1" type="xs:string" />

			<!-- document type -->
			<xs:element name="documentType" minOccurs="1" maxOccurs="1" type="xs:string" />

			<!-- path -->
			<xs:element name="filePath" minOccurs="1" maxOccurs="1" type="xs:string" />

			<!-- reference no -->
			<xs:element name="referenceNo" minOccurs="1" maxOccurs="1" type="xs:string" />

			<xs:element name="empID" minOccurs="1" maxOccurs="1" type="xs:string" />

			<xs:element name="remarks1" minOccurs="1" maxOccurs="1" type="xs:string" />

			<xs:element name="remarks2" minOccurs="1" maxOccurs="1" type="xs:string" />


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s