ΪʲôҪʹ XML Schema

XML Schema DTD ǿ

XML Schema ֧

XML Schema Ҫ֮һǶ͵֧֡

ͨ͵֧֣

  • ɸ׵ĵ
  • ɸ׵֤ݵȷ
  • ɸ׵ݿһ
  • ɸ׵ضԼdata facets
  • ɸ׵ضģͣݸʽ
  • ɸ׵ڲͬͼת

עԼ facets XML Schema ԭеһĿΪ桱Լ͵ֵ

XML Schema ʹ XML ﷨

һ XML Schema Ҫǣ XML д

XML д XML Schema кܶô

  • ѧϰµ
  • ʹ XML ༭༭ Schema ļ
  • ʹ XML Schema ļ
  • ͨ XML DOM Schema
  • ͨ XSLT ת Schema

XML Schema ɱͨ

ݴӷͷ͵ܷʱҪ˫Ӧйݵͬġֵ

ͨ XML Schemaͷһֽܷܹ׵ķʽݡ

һݣ "03-11-2004"ijЩұΪ113գһЩΪ311ա

һ͵ XML Ԫأ磺<date type="date">2004-03-11</date>ȷһµ⣬Ϊ XML "date" Ҫĸʽ "YYYY-MM-DD"

XML Schema չ

XML Schema ǿչģΪ XML д

ͨչ Schema 壬ԣ

  • Schema ظʹ Schema
  • ɱ׼Լ
  • ͬĵöص Schema

ʽDz

ǰѷ XML ﷨ĵΪʽõ XML ĵ磺

  • XML ͷ
  • ӵΨһĸԪ
  • ʼǩǩƥ
  • ԪضԴСд
  • еԪضر
  • еԪضȷǶ
  • ַʹʵ

ʹĵʽãȻܱ֤Dz󣬲Щܻصĺ

뿼 5 򼤹ӡ 5 ̨ͨ XML Schema󲿷Ĵᱻ֤񵽡