BlueFish Studio

The Blue Fish Studio ,Love in C#

导航

老师的家庭作业 Rss reader

听了北京同学的讲述,我也想做一个Rss reader ,呵呵,可惜我是个初学者,而且从来没用过application block 不知道该怎么做,马上就要考试了,还要复习,怎么能在一个礼拜内作出来呢? 我也想去Microsoft .这是我的理想,希望能够成真,先贴一个

-
- <xs:schema targetNamespace="http://" xmlns:xs="http://www.w3.org/2001/xmlschema" elementFormDefault="qualified" xmlns:f="http://">
- <xs:element name="config">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="config" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
  
<xs:element name="title" type="xs:string" /> 
  
<xs:element name="link" type="xs:anyURL" /> 
- <xs:element name="refresh-rate" type="xs:int" minOcccurs="0">
- <xs:annotation>
  
<xs:documentation>This describes how often the feed must be refreshed in milliseconds.</xs:documentation> 
  
</xs:annotation>
  
</xs:element>
  
<xs:element name="last-retireved" type="xs:dateTime" minOccurs="0" /> 
  
<xs:element name="etag" type="xs:string" minOccurs="0" /> 
- <xs:element name="stories-recently-viewed" micOccurs="0">
- <xs:complexType>
- <xs:sequence>
  
<xs:element name="story" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> 
  
</xs:sequence>
  
</xs:complexType>
  
</xs:element>
  
</xs:sequence>
  
<xs:attribute name="category" type="xs:string" use="optional" /> 
  
</xs:complexType>
  
</xs:element>
- <xs:element name="categories" minOccurs="0">
- <xs:complexType>
- <xs:sequence>
  
<xs:element name="category" type="xs:string" maxOccurs="undounded" /> 
  
</xs:sequence>
  
</xs:complexType>
  
</xs:element>
  
</xs:sequence>
  
<xs:attribute name="refresh-rate" type="xs:int" use="optional" /> 
  
<xs:attribute name="proxy-server" type="xs:string" use="optional" /> 
  
<xs:attribute name="proxy-port" type="xs:positiveInteger" use="optional" /> 
  
</xs:complexType>
- <xs:key name="categories">
  
<xs:selector xpath="f:categories/f:category" /> 
  
<xs:field xpath="." /> 
  
</xs:key>
- <xs:keyref name="categories-keyref" refer="f:categories-key">
  
<xs:sekector xpath="f:config" /> 
  
<xs:field xpath="@category" /> 
  
</xs:keyref>
  
</xs:element>
  
</xs:schema>

posted on 2004-11-29 22:48  Chineselynne  阅读(232)  评论(0编辑  收藏  举报