《XML技术实务》PPT课件.ppt
《《XML技术实务》PPT课件.ppt》由会员分享,可在线阅读,更多相关《《XML技术实务》PPT课件.ppt(45页珍藏版)》请在三一办公上搜索。
1、XML技術實務,郭譽申中央研究院資訊科學研究所,Outline,XMLXML SchemaDOM and SAXXPathXSLTXQueryWeb Service/SOAWS-BPELConclusion,XML Document,郭譽申Y.S.Kuo博士中央研究院,XML Basic Concepts,基本元素元件(Element)-一對標記所夾的整個內容屬性(Attribute)文字(Text)語法(Syntax)層級嵌套(Nested)結構,XML Characteristics,Coding StandardFlexible Data StructuresDocuments and
2、DataContent and Presentation SeparationDeclarative SchemasXML VocabulariesXHTML,RosettaNet,UBL,Biztalk,Data Interchange/System Integration,XML Schema,Element/Attribute Declarations,Element DeclarationTaipeiAttribute DeclarationGlobal/Local,Data Types,Value SpaceLexical SpaceLiterals,e.g.100,1.0E2Fac
3、etsAspects that characterize a value spaceFundamental Facets,e.g.equal,order,Constraining Facets,e.g.length,pattern,Data Types,Simple TypeAtomic/List/UnionComplex TypePrimitive TypeDerived TypeList,Union,Restriction,ExtensionBuilt-In(44)/User-Derived Type,Complex Types,Derivation by ExtensionAdd ele
4、ment and attribute declarationsDerivation by RestrictionPut constraints on element and attribute declarations,Complex Types,Simple ContentOnly Text and Attributes,No ElementComplex ContentMixed ContentEmpty Content,Simple Types,Derivation by RestrictionConstraining Facetslength,minLength,maxLengthmi
5、n(max)Inclusive,min(max)Exclusive totalDigits,fractionDigitspatternenumerationwhiteSpace,Defining myInteger,Range 10000-99999,Using the Enumeration Facet,Derivation by List,Derivation by Union,Conclusion,XSD is much richer in semantics than DTD.XSD appears like the declaration part of a programming
6、language.XSD is not hard to learn.XSD is recommended by W3C.XSD will be the standard.,XML Schema versus DTD,Type SystemsBuilt-In TypesType DerivationContent ModelMixed ContentElement OccurrencesWildcardsSemantic ConstraintsXSD is much richer in semantics than DTD.,Document Object Model(DOM),Simple A
7、PI for XML(SAX),XML Document ParsingDocument input as streamEventsstartElement,endElement,Event Handling,XPath,Language for Addressing Parts of an XML DocumentDeclarative ExpressionsUses in XSLT,XPointer,XQuery,XPath 1.0,W3C REC.,Nov.1999XPath 2.0,Location Paths,child:doc/child:chapterposition()=5/c
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- XML技术实务 XML 技术 实务 PPT 课件
链接地址:https://www.31ppt.com/p-5454547.html