资源描述:
《Supporting Set-at-a-time Extensions for XML through DOM》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、SupportingSet-at-a-timeExtensionsforXMLthroughDOMHAI(HELENA)CHENSchoolofComputerScienceUniversityofWaterlooWaterloo,ONN2L3G1CS-2003-27September2003AbstractWiththerapidgrowthofthewebande-commerce,W3Cproducedanewstandard,XML,asauniversaldatarepresentationformattofacilitateinformationinterchangeandi
2、ntegrationfromheterogeneoussystems.InordertoprocessXML,documentsneedtobeparsedandthenuserscanaccess,manipulate,andretrievetheXMLdataeasily.DOMisoneofthemajorapplicationprogramminginterfaces,whichprovidestheabstract,logicaltreestructureofanXMLdocument.Thoughitisaverypromisinginitiativeindefiningth
3、estandardinterfaceforXMLdocumentstoaccessalldatarequiredbyapplications,significantbenefitcanresultifsomefunctionsareextended.Inthisthesis,wewanttosupportset-at-a-timeextensionsforXMLthroughDOM.Throughextendingsomepowerfulfunctionstogetsummaryinformationfromdifferentgroupsofrelateddocumentelements
4、,andfilter,extractandtransformthisinformationasasequenceofnodes,theextendedDOMcanreducethecommunicationsoverheadandresponsetimebetweentheclientandtheserverandthereforeprovideapplicationswithmoreconvenience.Ourworkistoexploretheideasforset-at-a-timeprocessing,defineandimplementsomesuitablemethods,
5、andcodesomequeryapplicationexamplesbyusingtheDOMandourextensionstomakecomparisonsthroughatestsystem.Finally,futureworkwillbegiven.iiPrefacetotheTechnicalReportThistechnicalreportreproducesadissertationpresentedtotheUniversityofWaterlooin2003infulfillmentofthethesisrequirementforthedegreeofMastero
6、fMathematicsinComputerScience.Duringthepreparationofasubsequentpaper,1theproposedextensionstotheDOMinterfaceweremodifiedslightlyasfollows:1.WerealizedthatamajorreasonforthepaucityofoperationsonaNodeListissothatitcanbe“live,thatis,changestotheunderlyingdocumentstructurearereflectedinallrelevantNod
7、eList…objects.”Thus,topreservethisliveness,insteadofaugmentingtheNodeListinterface,wesuggestthatanewNodeSequenceinterfacebeintroducedwiththefunctionalitydescribedinthethesisforNodeLists.Forcompleteness,wesuggestoneoper