Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2007-07-19 10:12:06
Size: 1613
Editor: 152
Comment:
Revision 6 as of 2011-08-03 11:00:55
Size: 1675
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
http://www.w3.org/XML/Schema WikiPedia:XML_Schema  * http://www.w3.org/XML/Schema
 *
WikiPedia:XML_Schema
 * http://www.w3schools.com/schema/default.asp
Line 12: Line 14:
 * [http://epro.tistory.com/49 XML scheme] (2% able blog)
 * [http://webd.somegate.com/topic.php?topic_uid=545 표준데이터 형식을 DTD에서 XSD로]
 * [http://web2.gwangju.ac.kr/~leekyum/metadata_p/xml_schema_p.htm XML Schema - 김이겸교수 홈페이지]
 * [[http://epro.tistory.com/49|XML scheme]] (2% able blog)
 * [[http://webd.somegate.com/topic.php?topic_uid=545|표준데이터 형식을 DTD에서 XSD로]]
 * [[http://web2.gwangju.ac.kr/~leekyum/metadata_p/xml_schema_p.htm|XML Schema - 김이겸교수 홈페이지]]

XmlSchemaDefinitionLanguage

[W3C]에서 표준화하는 [XML] 스키마 정의언어. (XmlSchema라고도 불리운다.) [DTD]를 현대화하려는 노력에서 가시화된것으로 [DTD]에 비해 엄격한 유효성 검사와 데이터 타입정의들을 가능하게 만들었다.

[XSD]가 [DTD]보다 향상된 것 중 가장 중요한 내용은 '정의언어'라는 면이다.

Document type과 data type을 동시에 정의한다. 데이터타입은 숫자, 문자열등을 RegularExpression을 이용하여 dates, times등의 수준까지 매치한다.

관련정보

Example

complexType extension example

<xs:element name="employee" type="fullpersoninfo"/>

<xs:complexType name="personinfo">
  <xs:sequence>
    <xs:element name="firstname" type="xs:string"/>
    <xs:element name="lastname" type="xs:string"/>
  </xs:sequence>
</xs:complexType>

<xs:complexType name="fullpersoninfo">
  <xs:complexContent>
    <xs:extension base="personinfo">
      <xs:sequence>
        <xs:element name="address" type="xs:string"/>
        <xs:element name="city" type="xs:string"/>
        <xs:element name="country" type="xs:string"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>


CategoryLanguage

XSD (last edited 2012-06-12 15:25:38 by 61)

web biohackers.net