版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、西電科大經(jīng)管院畢業(yè)論文ThewldofXMLisvastgrowingwithahugevarietyofstardstechnologiesthatinteractincomplexways.ItcanbedifficultfbeginnerstonavigatethemostimptantaspectsofXMLfuserstokeeptrackofnewentrieschangesinthespace.ExtensibleMark
2、upLanguageXMLprovidesawaytomarkupcontentthataddsinfmationaboutitspurpose.WiththeinfmationstedusingXMLanapplicationknownasaparsercanreliablyextracttherelevantinfmationprocessitaccdinglyfmultiplesituations.XMLcanbeusedinaw
3、idevarietyofapplicationsbutthebottomlineisthis:Itsawaytorepresentdata.Insomecasesthatdataisintendedfadatabaseinothersitsmeanttobereadbyaperson.TechnologiesrelatedtobothoftheseusessuchasdatavalidationXSLTransfmationshaveb
4、eenevolvingalongwithXMLitself.XMLincludestheabilitytovalidateconfirmthestructure(tosomeextent)contentofadocument.Validatingadocumenthelpstopreventproblemswhenthedatainteractswithanapplicationthatexpectsaparticularstructu
5、rewhichisparticularlyusefulwhenXMLmustinteractwithnonXMLlegacysystems.TheinitialXML1.0RecommendationincludessupptfDocumentTypeDefinitions(DTDs)whichprovidesomevalidationcapabilities.W3CXMLSchemasextendthosecapabilitiespr
6、ovideameXMLlikesyntax.DataencapsulatedinXMLcanbeusedinanumberofways.OnecommonmeansofmanipulatingitisthroughtheuseofExtensibleStylesheetLanguageTransfmations(XSLT)whichenabledeveloperstodefineoperationsthatmustbeperfmedon
7、anXMLdocumenttoproduceaspecificresult.Thisabilitytotransfminfmationontheflymakesitpossibletouseasinglesourcefmultipleoutputswhetherthoseoutputsleadtodifferentdatabasestodifferentbrowsers.XSLFmattingObjects(XSLFO)isapower
8、fulflexibleXMLvocabularyffmattingdataoftenusedwithXSLTtoconvertXMLHTMLdocumentstoPDF(ptabledocumentfmat).ManydevelopersexpectthatXMLschemaswillsoonsupplantDTDsfspecifyingXMLdocumenttypes.DavidMertzisskepticalthatschemasw
9、illreplaceDTDsthoughhebelievesthatXMLschemasareaninvaluabletoolinadevelopersarsenal.ThisinstallmentoftheXMLMatterscolumnstepsuptothechallengeofcomparingschemasDTDsclarifyingjustwhatisgoingonintheXMLschemawld.Whiletherear
10、eanumberofinstanceswhereW3CXMLSchemasexcelthereremainnohelessanumberofareaswhereDTDsarebetter.Developersarecontinuallyleftwithtoughchoices(whichisnotunusualintheXMLwld).Letsbeginthejourneyofstingthroughsomeofthosechoices
11、.MuchofthepointofusingXMLasadatarepresentationfmatisthepossibilityofspecifyingstructuralrequirementsfdocuments:rulesfexactlywhattypesofcontentsubelementsmayoccurwithinelements(inwhatdercardinalityetc.).IntraditionalSGMLc
12、irclestherepresentationofdocumentruleshasbeenasDTDsindeedthefmalspecificationoftheW3CXML1.0RecommendationexplicitlyprovidesfDTDs.HowevertherearesomethingsthatDTDscannotaccomplishthatarefairlycommonconstraintsthemainlimit
13、ationofDTDsisthe西電科大經(jīng)管院畢業(yè)論文factSAXwascreatednotbyanofficialbodybutbythemembersoftheXMLDEVmailinglist.AnotherAPIthisoneobjectbasedcreatedbyalooselyfmedganizationisJDOM.JDOMissimilartoDOMbutismecloselytiedtotheJavalanguage
14、.DOMinessenceisacollectionofnodes.Withdifferenttypesofinfmationpotentiallycontainedinadocumentseveraldifferenttypesofnodesaredefined.IncreatingahierarchyfanXMLfileitisnaturaltoproducesomethingconceptuallylikethestructure
15、below.WhileitisanaccuratedepictionoftheincludeddataitisnotanaccuratedeionofthedataasrepresentedbytheDOM.Thisisbecauseitrepresentstheelementsbutnotthenodes.Infactelementsareonlyonetypeofnodetheydontevenrepresentwhatthepre
16、viousdiagramseemstoindicate.Anelementnodeisacontainerfinfmation.Thatinfmationmaybeotherelementnodestextnodesattributenodesothertypesofinfmation.ThemostcommontypesofnodesinXMLare:?Elements:Elementsarethebasicbuildingblock
17、sofXML.Typicallyelementshavechildrenthatareotherelementstextnodesacombinationofboth.Elementnodesarealsotheonlytypeofnodethatcanhaveattributes.?Attributes:Attributenodescontaininfmationaboutanelementnodebutarenotactuallyc
18、onsideredtobechildrenoftheelementasin:?12341?Text:Atextnodeisexactlythattext.Itcanconsistofmeinfmationjustwhitespace.?Document:Thedocumentnodeistheoverallparentfalloftheothernodesinthedocument.PartofXMLsstrengthisitsabil
19、itytobeunderstoodinmultiplecontexts.VariousXMLvocabularieshavesprunguptoenablepeopletoinstantlyundersteachother.ThreeofthemostcommonareExtensibleHyperTextMarkupLanguage(XHTML)ResourceDefinitionFramewk(RDF)ScalableVectGra
20、phics(SVG).XMLstartedstronghasgrownquiterapidly.Ithasprovenitselfaveryvaluabletechnologybutitcanbeanintiatingonewhenoneconsidersallthemovingpartsthatfallundertheterm“XML“.InthisseriesofarticlesIprovideasummaryofwhatIseea
21、sthemostimptantXMLtechnologiesdiscusshowtheyeachfitintothegreaterscopeofthingsintheXMLwld.AllthetechnologiesIpresentherearestardsAvarietyofstardsexistintheXMLuniverse.InadditiontothebaseXMLstardotherstardsdefineschemasst
22、ylesheetslinksWebservicessecurityotherimptantitems,althoughthatwdisitselfabitslippery.Stardscomeinallfmsmultiplestardsoftencompeteinthesamespace.Ifollowthepracticalapproachofdefiningastardasanyspecificationthatissignific
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 眾賞文庫僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 畢業(yè)論文外文翻譯-mysql和jsp的web應(yīng)用程序
- 畢業(yè)論文 外文翻譯 一種新的網(wǎng)絡(luò)應(yīng)用程序開發(fā)框架——mvc
- 基于asp的web應(yīng)用程序開發(fā)外文翻譯
- 外文翻譯---應(yīng)用程序基礎(chǔ)android developers
- 畢業(yè)論文--基于loadrunner的web應(yīng)用程序測試方法
- 外文翻譯-----一種新的網(wǎng)絡(luò)應(yīng)用程序開發(fā)框架——mvc
- 基于android系統(tǒng)天氣預(yù)報應(yīng)用程序畢業(yè)論文
- 應(yīng)用程序基礎(chǔ)——論文
- 外文翻譯--mysql和jsp的web應(yīng)用程序
- 外文翻譯---web 應(yīng)用程序的基本安全做法
- android手機外文翻譯---應(yīng)用程序基礎(chǔ)android developers
- cs應(yīng)用程序平臺多語種技術(shù)應(yīng)用研究——畢業(yè)論文
- 畢業(yè)論文——cs應(yīng)用程序平臺多語種技術(shù)應(yīng)用研究
- 傳統(tǒng)的施工程序畢業(yè)論文外文翻譯
- 計算機專業(yè)畢業(yè)外文翻譯--使用 eclipse 遠程調(diào)試 java 應(yīng)用程序
- 單片機的應(yīng)用與開發(fā)技巧畢業(yè)論文外文翻譯
- [雙語翻譯]安卓外文翻譯--android應(yīng)用程序的安全性
- 視頻剪輯外文翻譯—高效視頻編輯移動應(yīng)用程序
- 外文文獻翻譯---web 應(yīng)用程序的基本安全做法
- 計算機畢業(yè)設(shè)計外文翻譯--面向 java web 應(yīng)用程序的 openid
評論
0/150
提交評論