上海交通大学硕士学位论文上海旅游信息数据交换规范姓名:刘昊申请学位级别:硕士专业:计算机技术指导教师:黄林鹏;谢瑾奎20080501V2008201070009XMLXMLVIDATAEXCHANGESPECIFICATIONOFSHANGHAITOURISMABSTRACTRecentyears,withtherapiddevelopmentofShanghaitourismindustryand2008BeijingOlympicGamesand2010ShanghaiExpobeingheldinChina,especiallyduringthe2010ShanghaiExpo,Shanghaiwillhave70millionvisitors,therewillbehugeamountsofneedsindataexchangebetweenvarieskindsofenterprises.Aboveall,makingadataexchangespecificationofShanghaitourismisgoodtotheconnectionswithenterprisesandtouristsandgovernment.“DataExchangeSpecificationofShanghaiTourism”isdesignedforhotels,travelagencies,travelwebsites,including9partsofbusinessaspectssuchasroomreservation,travelplanning,meetings,restraintintheseenterprises,whicharemainbusinessforthem.ThepapertalksabouttheShanghaitourisminformatizationcondition,Chinatourisme-buisnessandShanghaigatewaywebsiteandhasadeepknowledgeoftravelagency,hotelsandtravelwebsites.AlsoitcomparedseveraldataexchangetechnologiesandfinallydecidedusingXMLtowritethespecification.Itdescribedthedataelements,connectionways,securitydemandsandsoon.Whenthespecificationfinished,itwasusedinhotelroomforecastsystemfor2010ShanghaiExpoinYangzteRiverDeltaarea.“DataExchangeSpecificationofShanghaiTourism”willapplyforShanghailocalstandard,whichwillupgradethetourismenvironmentinShanghaiandgivemoreinformationtoenterpriseandgovernment,makingtheadministrationmoreefficient.KEYWORDS:tourismenterprises,dataexchange,XMLIII200861IV200861200861111.120107000[1]2010,,[2][3]2[4]1.2OTAOpenTravelAlliance1.31.4123XML34XML567422.1200612310090.83323[5]63.293.852.2200722.7200647.5%200756.3%200654.2%213.7%200617.8%420072-1[6]2-1200761.2.E75%20071.200620072.200710%E20083.2007///“”2.32007200725.8200452002007——“8”3“”“”“”1743846192562742“”2.42.4.19[7]2.4.21212102.4.3132“”“”“”“”2.4.412112.5123XMLXMLeXtensibleMarkupLanguageXMLXML3.1XML1996W3CSGMLStandardGeneralizedMarkupLanguageHTML[8]XMLSGMLXML“WEBASCII”XML19982XML1.0W3CXMLNETSUNJ2EESQLServer2000Oracle9iXMLXMLXML3.2XMLXMLXMLXML1XML132XMLDTDDocumentTypeDefinitionXMLSchemaXMLXMLXML3XMLXML4XMLXMLXMLXLink5XMLXMLXMLXMLXMLXML6XMLHTMLXMLXML[9]3.3XMLXMLMarkupXML“”tagXMLXMLXML14HTMLXMLXML12[10]3.3.1XML“”Well-Formed“”Valid[11]“”XMLXML1.0“”XMLXML1XML3-1[12]3-1XMLXMLXML1.0XMLXML/XMLXML2XMLEntityXMLXMLXML15XML“”XMLXMLXML“”“”XML“”XMLXML1.0“”XMLDTDDocumentTypeDefinitionXMLSchemaDTDXMLSchemaXML[13]XMLDTDXMLSchema“”DTDSGMLXMLSchemaXMLXMLXMLSchemaDTDXMLXMLXML3.3.2XML1.0“”StyleSheetXMLXMLXMLXMLXMLHTMLXMLXMLXMLW3CCSSCascadingStyle16SheetXSLeXtensibleStylesheetLanguageXSLXMLXMLXMLCSSXSLXMLCSSXMLXSL90%CSSCSSXSLXSLXMLXMLXMLXSLXMLXMLXMLFOFormattedObjectXSLXMLXMLXSLFOXMLXMLXMLXMLXMLXMLXMLXMLDTD3.4XMLXMLXMLXSLTeXtensibleStylesheetLanguageTransformationXLinkXMLLinkingLanguageXMLXPointerXMLPointerLanguageXMLXPathXMLPathLanguageXMLXSLT17XSLTXMLXSLTXSLXMLXSLXSLTXMLXMLXMLHTMLXHTMLeXtensibleHyperTextMarkupLanguageVRMLVirtualRealityModelingLanguageRTFRichTextFormatSVGScalableVectorGraphicsXMLXSLTXMLXMLDOMDocumentObjectModelXMLXSLXML[14]XLinkXLinkXLinkXMLURLUniformResourceLocatorXMLXLinkXLinkXLinkXLinkXMLXLinkXLink[15]XPointerXPointerXLinkXMLXPointerXMLfragment18XPointerURL[16]XPointerXPathXMLXPointerLocationStepLocationPath“/”contextXPointerXLinkXMLXPointerXLinkXMLXPointerXLinkXPathXPathXMLXPathXMLXMLXMLXPathXMLXPathXPathXMLXPath“/”XPathXSLTXPointerXSLTXPointerXMLXSLTXPointer3.5XMLXMLXML194“”4.14.2ASCII0100001“a”//20//XMLXMLXMLXMLXMLXMLXMLXMLXMLXMLXMLXMLB2BXMLXMLXML214.34.3.112ODBCJDBC3XMLXMLXML45ERPERP4.3.21222“N/A”“Unknown34/4.3.3XMLXML4AdapterAPIDES234.4XMLXMLXMLXMLXML[17]SAXDOMJDOMXMLXMLXMI.XMLXMLSQLXMLXML24SQLHTTPXMLXMIXMLTableModData-specificObjectModel1XMLXMLTable2XMLPCDATASQL3XMLXMLDTDDTDDTD[18]1234525DTD123/4.5XMLOracleIBMDB2MicrosoftSQLServerSybaseXML[19]XML4.5.1XMLXMLXMLSchemaSchemaXMLXPathXQuerySELECT*FROMtableXSLTXML[20]1XMLXML,XML“”PcdataPcdataXMLXMLXMLXMLXML2QueryLanguageXMLXSLTXML261XMLXMLSELECTXML2SQLSQLSELECTXMLSELECTXMLSQL3XMLOUTERUNIONXML3XMLSQLXMLXMLXMLXQueryXPathXPath3XMLSchemaSchemaXMLSchemaXMLSchemaXMLSchemaSchemaXMLSchemaSchemaSchemaXMLSchemaSchemaHardcodePath1XMLSchemaSchemaCDATAXMLSchemaCLOBVARCHAR255NULL272SchemaXMLSchemaPCDATA4.5.2XMLXML1XML2XMLBLOBXMLBLOB[21]3XMLXMLXMLXMLAPIs4DOMDOMPDOMXMLDOMXMLDOMPDOMDOMDOMXMLDOMDOMXMLUPDATE5XMLXMLXML4.628XML/XMLXML2955.1“”“”5.25-1305-1332112345645631XMLSchema5.390932905.4335-25-110000005000000100000020000006000000800000100000012000001600000172307000010700002070000307000044000003650000040+111111*1111134XMLSchemaXML5-25-1XMLSchema?xmlversion=1.0encoding=UTF-8?!--editedwithXMLSpyv4.4U()--xs:schemaxmlns=:mstns=:xs==qualifiedxs:importnamespace=