版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
XML技術實務中央研究院OutlineXMLXMLSchemaDOMandSAXXPathXSLTXQueryWebService/SOAWS-BPELConclusionXMLDocument<?xmlversion=“1.0”encoding=“UTF-8”?><簡歷><姓名>郭譽申</姓名><姓名語言=“英文”>Y.S.Kuo</姓名><教育程度>博士</教育程度><服務單位>中央研究院</服務單位></簡歷>XMLCharacteristicsCodingStandardFlexibleDataStructuresDocumentsandDataContentandPresentationSeparationDeclarativeSchemasXMLVocabulariesXHTML,RosettaNet,UBL,Biztalk,…DataInterchange/SystemIntegration
XMLSchema<xs:elementname="簡歷"><xs:complexType><xs:sequence><xs:elementname="姓名"maxOccurs="unbounded"><xs:complexType><xs:attributename=“語言“type=“string”/></xs:complexType></xs:element><xs:elementname="教育程度“type=“string”/><xs:elementname=“服務單位“minOccurs="0"/></xs:sequence></xs:complexType></xs:element>Element/AttributeDeclarationsElementDeclaration<xsd:elementname="city"type="string“/><city>Taipei</city>AttributeDeclaration<xsd:attributename=“country”type=“NMTOKEN”use=“required”/>Global/LocalDataTypesSimpleTypeAtomic/List/UnionComplexTypePrimitiveTypeDerivedTypeList,Union,Restriction,ExtensionBuilt-In(44)/User-DerivedTypeComplexTypesDerivationbyExtensionAddelementandattributedeclarationsDerivationbyRestrictionPutconstraintsonelementandattributedeclarations<complexTypename="Address"><sequence><elementname=“label"type="string"/><elementname="street"type="string"/><elementname="city"type="string"/></sequence><attributename=“country”type=“NMTOKEN”use=“required”/></complexType>
<complexTypename="Items"><elementname=“item“type=“Item”minOccurs=“0“maxOccurs="unbounded"></element></complexType><complexTypename="ConfirmedItems"><restrictionbase="Items"><elementname="item"type=“Item”minOccurs="1"maxOccurs="unbounded"></element></complexType>ComplexTypesSimpleContentOnlyTextandAttributes,NoElementComplexContentMixedContent<complexTypemixed=“true”> <complexContent>EmptyContentDefiningmyInteger,Range10000-99999
<xsd:simpleTypename="myInteger"><xsd:restrictionbase="xsd:integer"> <xsd:minInclusivevalue="10000"/> <xsd:maxInclusivevalue="99999"/></xsd:restriction></xsd:simpleType>
UsingtheEnumerationFacet<xsd:simpleTypename="USState"><xsd:restrictionbase="xsd:string"> <xsd:enumerationvalue="AK"/> <xsd:enumerationvalue="AL"/> <xsd:enumerationvalue="AR"/> <!--andsoon...--></xsd:restriction></xsd:simpleType>
DerivationbyList<xsd:simpleType name="listOfMyIntType"> <xsd:listitemType="myInteger"/></xsd:simpleType>
ConclusionXSDismuchricherinsemanticsthanDTD.XSDappearslikethedeclarationpartofaprogramminglanguage.XSDisnothardtolearn.XSDisrecommendedbyW3C.XSDwillbethestandard.XMLSchemaversusDTDTypeSystemsBuilt-InTypesTypeDerivationContentModelMixedContentElementOccurrencesWildcardsSemanticConstraintsXSDismuchricherinsemanticsthanDTD.DocumentObjectModel(DOM)
XPathLanguageforAddressingPartsofanXMLDocumentDeclarativeExpressionsUsesinXSLT,XPointer,XQuery,…XPath1.0,W3CREC.,Nov.1999XPath2.0LocationPathschild::doc/child::chapter[position()=5]/child::section[position()=2]Node-SetsRelative/AbsoluteLocationPathLocationStepsAxisNodeTestPredicatePathExpressionsDataTypesNode-Set(LocationPath)BooleanNumberStringVariableReference,e.g.$xFunctionCall,e.g.id(“foo”)XSLTDocumentTransformationamongXMLVocabulariesXSLTisXML-basedXSLTisruleandtemplatebasedXSLTisadeclaritvelanguagematchingisprimaryoperationsalsosupportimperative-likeprimitives,eg.flowcontrol,sorting,variablesHowDoesXSLTWork?HowDoesXSLTWork?Duringthetransformation:XSLTprocessorreadsbothXMLandXSLTdocumentsTrytomatchelementsinXMLaccordingtorulesspecifiedinXSLTIfsomeelementsarematched,processorgeneratesresultelementsaccordingtotemplatesinXSLTAfterthetransformation,youcouldobtain:aresultXMLdocumentXSLTProcessingSequenceHello,World!(material)<?xmlversion="1.0"?><xslTutorial><title>Hello,World!</title><author>Kuan-TaChen</author><date>2001/05/16</date></xslTutorial><xsl:stylesheetversion="1.0“
xmlns:xsl=""><xsl:templatematch="/"><H1><xsl:value-ofselect="//title"/></H1><H2><xsl:value-ofselect="//author"/></H2><H3><xsl:value-ofselect="//date"/></H3></xsl:template></xsl:stylesheet>SourceXMLXSLStylesheetHello,World![result]<?xmlversion="1.0"encoding="UTF-16"?><H1>Hello,World!</H1><H2>Kuan-TaChen</H2><H3>2001/05/16</H3>ResultXMLResultXMLpreviewedinbrowserWebService/SOASupportinteroperablemachine-to-machineinteractionoveranetwork.RPC-Oriented(RemoteProcedureCall)Message-OrientedRESTWebServiceTriadWS-BPEL(BusinessProcessExecutionLanguage)Process/WorkflowEngineforSOAApplicationIntegrationWebServiceDataRepresentationDataTypesinXMLSchemasProcessDefinitionsinXMLXML-BasedWorkflowManagementBPELversusXPDLOASIS,IBM,Oracle,MicrosoftNarrowScopeWebServiceforAppl.IntegrationXMLSchemasasDataTypesWfMC,ManyWfMSVendorsWideScopeAPIinMultipleLanguagesTraditionalDataTypes+XMLBPELvers
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年水果、坚果加工品项目建议书
- 2024年GPS电子探空仪合作协议书
- 2024年电脑刺绣机项目发展计划
- 2024年环卫清洁装备项目合作计划书
- Unit1语法-一般过去时 人教版英语八年级上册
- 课时64 比较与鉴赏-知同辨异见微知著
- 熟能生巧大学四级英语作文英语作文
- 北师大版小学数学一年级上册期末考卷含参考答案
- 2024年补偿钱的离婚协议书
- 公司股权质押借款协议书2024年
- (高清版)TDT 1031.6-2011 土地复垦方案编制规程 第6部分:建设项目
- 中国医用钛夹行业市场现状分析及竞争格局与投资发展研究报告2024-2029版
- 紫外线灯管使用与强度检测课件
- 网易公司战略分析报告
- 加油站双体系事故隐患排查治理体系文件
- 2024年事业单位工勤技能考试题库(含答案)
- 儿童甲状腺功能异常与生长发育的关系研究
- 第10章 地理网络分析
- 关于人员调整的报告
- 肾造瘘术后健康宣教课件
- 新生儿出生缺陷课件
评论
0/150
提交评论