版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
XML技術(shù)實(shí)務(wù)中央研究院OutlineXMLXMLSchemaDOMandSAXXPathXSLTXQueryWebService/SOAWS-BPELConclusionXMLDocument<?xmlversion=“1.0”encoding=“UTF-8”?><簡(jiǎn)歷><姓名>郭譽(yù)申</姓名><姓名語(yǔ)言=“英文”>Y.S.Kuo</姓名><教育程度>博士</教育程度><服務(wù)單位>中央研究院</服務(wù)單位></簡(jiǎn)歷>XMLCharacteristicsCodingStandardFlexibleDataStructuresDocumentsandDataContentandPresentationSeparationDeclarativeSchemasXMLVocabulariesXHTML,RosettaNet,UBL,Biztalk,…DataInterchange/SystemIntegration
XMLSchema<xs:elementname="簡(jiǎn)歷"><xs:complexType><xs:sequence><xs:elementname="姓名"maxOccurs="unbounded"><xs:complexType><xs:attributename=“語(yǔ)言“type=“string”/></xs:complexType></xs:element><xs:elementname="教育程度“type=“string”/><xs:elementname=“服務(wù)單位“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=“l(fā)abel"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="http://title"/></H1><H2><xsl:value-ofselect="http://author"/></H2><H3><xsl:value-ofselect="http://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等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 物業(yè)定崗制度
- 煤礦應(yīng)急預(yù)案定期評(píng)估制度
- 消防隊(duì)日常附分制度
- 民宿消殺間制度
- 醫(yī)用耗材用量動(dòng)態(tài)監(jiān)測(cè)和超常規(guī)預(yù)警制度
- 2026年光建一體化科技公司客戶關(guān)系管理(CRM)管理制度
- 2026江蘇南京大學(xué)化學(xué)學(xué)院助理招聘?jìng)淇碱}庫(kù)含答案詳解(b卷)
- 2025年度冶金工業(yè)技能鑒定考試題庫(kù)及答案詳解
- 2025年數(shù)據(jù)分析師高級(jí)認(rèn)證模擬題集及答案
- (2025年)建筑工程公司項(xiàng)目部所有職位招聘筆試題和面試題及答案
- 裝修工程施工質(zhì)量檢查標(biāo)準(zhǔn)
- 供銷大集:中國(guó)供銷商貿(mào)流通集團(tuán)有限公司擬對(duì)威海集采集配商貿(mào)物流有限責(zé)任公司增資擴(kuò)股所涉及的威海集采集配商貿(mào)物流有限責(zé)任公司股東全部權(quán)益價(jià)值資產(chǎn)評(píng)估報(bào)告
- 干細(xì)胞臨床研究:知情同意的倫理審查要點(diǎn)
- 檢測(cè)實(shí)驗(yàn)室安全管理與操作規(guī)程
- 2025云南保山電力股份有限公司招聘(100人)筆試歷年參考題庫(kù)附帶答案詳解
- (新教材)2026年人教版八年級(jí)下冊(cè)數(shù)學(xué) 21.1 四邊形及多邊形 課件
- 教師職業(yè)行為規(guī)范手冊(cè)
- 急性胸痛患者的快速識(shí)別與護(hù)理配合
- 法律研究與實(shí)踐
- 單招第四大類考試試題及答案
- 《建設(shè)工程總承包計(jì)價(jià)規(guī)范》
評(píng)論
0/150
提交評(píng)論