Skip Headers
Oracle® Secure Enterprise Search Administrator's Guide
11g Release 2 (11.2.1)

Part Number E17332-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

Control Feed XML Schema Definition

The following example shows the XSD for the control feed.

<?xml version="1.0" encoding="windows-1252"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
  
<xsd:complexType name="descriptionType" abstract="true"/>
  
<xsd:complexType name="channelDescType">    
 <xsd:complexContent>      
  <xsd:extension base="descriptionType">        
   <xsd:sequence>          
    <xsd:element name="sourceName" type="xsd:string" minOccurs="0">
     <xsd:annotation>
      <xsd:documentation> 
If the business object for this channel is missing, then the channel contains information from multiple sources. 
      </xsd:documentation>
     </xsd:annotation>        
    </xsd:element>        
    <xsd:element name="feedType" >
     <xsd:simpleType>            
      <xsd:restriction base="xsd:string">
       <xsd:enumeration value="control"/>            
      </xsd:restriction>            
      </xsd:simpleType>
     </xsd:element>          
     <xsd:element name="batchId" type="xsd:string" minOccurs="0"/>    
     <xsd:element name="itemCount" type="xsd:positiveInteger" minOccurs="0"/>
    </xsd:sequence>      
   </xsd:extension>    
  </xsd:complexContent>  
 </xsd:complexType>
  
<xsd:simpleType name="operationType">    
 <xsd:restriction base="xsd:string">     
  <xsd:enumeration value="control"/>    
 </xsd:restriction>  
</xsd:simpleType>

<xsd:complexType name="rssChannelType">    
 <xsd:sequence>      
  <xsd:element name="title" type="xsd:string"/>
  <xsd:element name="link" type="xsd:anyURI">

   <xsd:annotation>
    <xsd:documentation>same as display URL</xsd:documentation>
   </xsd:annotation>
  </xsd:element>
  <xsd:element name="description" type="xsd:string"/>
  <xsd:element name="lastBuildDate" type="xsd:dateTime">
   <xsd:annotation>
    <xsd:documentation>
    This is the publishing date for this channel
    </xsd:documentation>
   </xsd:annotation>
  </xsd:element>
  <xsd:any namespace="##other" minOccurs="0"/>
  <xsd:element name="channelDesc" type="channelDescType" />
  <xsd:element name="item" type="itemType" maxOccurs="unbounded"/>
 </xsd:sequence>  
</xsd:complexType>

<xsd:complexType name="itemType">
    
 <xsd:sequence>
      <xsd:element name="title" type="xsd:string" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
             This is the title for the item. 
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="link" type="xsd:anyURI"/>
      <xsd:element name="description" type="xsd:string" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            The description is ignored as far as Oracle processing is concerned 
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:any namespace="##other" minOccurs="0"/>
    </xsd:sequence>
    <xsd:attribute name="operation" type="oss:operationType" />  </xsd:complexType>
  
  <xsd:element name="rss">
    <xsd:annotation>
      <xsd:documentation>RSS control file</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:sequence> 
        <xsd:element name="channel" type="rssChannelType"/>
      </xsd:sequence>
      <xsd:attribute name="version" type="xsd:decimal" use="required" fixed="2.0/>
    </xsd:complexType>
  </xsd:element> 

</xsd:schema>