OReilly office 2003 XML may 2004 ISBN 0596005385

1,188 70 0
  • Loading ...
1/1,188 trang
Tải xuống

Thông tin tài liệu

Ngày đăng: 26/03/2019, 16:07

• • • • • • TableofContents Index Reviews ReaderReviews Errata Academic Office2003XML ByEvanLenz,MaryMcRae,SimonSt Laurent Publisher :O'Reilly PubDate :June2004 ISBN :0-596-00538-5 Pages :576 Thisbookexplorestherelationshipbetween XMLandOffice2003,examininghowthe variousproductsintheOfficesuiteboth produceandconsumeXML Beginningwith anoverviewoftheXMLfeaturesincludedin thevariousOffice2003components,Office 2003XMLprovidesquickandclearguidance toanyonewhoneedstoimportorexport informationfromOfficedocumentsintoother systems • • • • • • TableofContents Index Reviews ReaderReviews Errata Academic Office2003XML ByEvanLenz,MaryMcRae,SimonSt Laurent Publisher :O'Reilly PubDate :June2004 ISBN :0-596-00538-5 Pages :576 Copyright Preface WhoShouldReadThisBook WhoShouldNotReadThisBook OrganizationofThisBook ConventionsUsedinThisBook HowtoContactUs SupportingBooks UsingCodeExamples Acknowledgments Chapter1 MicrosoftOfficeandXML Section1.1 WhyXML? Section1.2 DifferentFacesofXML Section1.3 DifferentXMLFacesofOffice Section1.4 OpeningOfficetotheWorld Chapter2 TheWordprocessingMLVocabulary Section2.1 IntroductiontoWordprocessingML Section2.2 TipsforLearningWordprocessingML Section2.3 WordprocessingML'sStyleofMarkup Section2.5 DocumentStructureandFormatting Section2.7 MoreonStyles Section2.4 ASimpleExampleRevisited Section2.6 AuxiliaryHintsinWordprocessingML Chapter3 UsingWordprocessingML Section3.1 EndlessPossibilities Section3.2 CreatingWordDocuments Section3.3 ExtractingInformationfromWordDocuments Section3.5 ConvertingBetweenWordprocessingMLandOtherFormats Section3.4 ModifyingWordDocuments Chapter4 CreatingXMLTemplatesinWord Section4.1 ClarifyingUseCases Section4.2 AWorkingExample Section4.3 Word'sProcessingModelforEditingXML Section4.5 HowtheonloadXSLTStylesheetIsSelected Section4.7 AttachingSchemastoaDocument Section4.9 SchemaValidation Section4.10 DocumentProtection Section4.12 ReviewingtheXML-SpecificDocumentOptions Section4.14 DeployingtheTemplate Section4.4 TheSchemaLibrary Section4.6 MergedXMLandWordprocessingML Section4.8 Schema-DrivenEditing Section4.11 XMLSaveOptions Section4.13 StepstoCreatingtheonloadStylesheet Section4.15 LimitationsofWord2003'sXMLSupport Chapter5 DevelopingSmartDocumentSolutions Section5.1 What'saSmartDocument? Section5.2 CreatingaSmartDocumentSolution Section5.3 CodingtheSmartDocument Section5.5 ManifestFiles Section5.4 CodinginVB.NET Section5.6 OtherFiles Section5.7 AttachingtheSmartDocumentExpansionPack Section5.9 AFewLastWordsonSmartDocuments Section5.8 DeployingYourSmartDocumentSolution Section5.10 SomeFinalThoughts Chapter6 WorkingwithXMLDatainExcelSpreadsheets Section6.1 SeparatingDataandLogic Section6.2 LoadingXMLintoanExcelSpreadsheet Section6.3 EditingXMLDocumentsinExcel Section6.4 LoadingandSavingXMLDocumentsfromVBA Chapter7 UsingSpreadsheetML Section7.1 SavingandOpeningXMLSpreadsheets Section7.2 ReadingXMLSpreadsheets Section7.3 ExtractingInformationfromXMLSpreadsheets Section7.5 EditingXMLMapswithSpreadsheetML Section7.4 CreatingXMLSpreadsheets Chapter8 ImportingandExportingXMLwithMicrosoftAccess Section8.1 AccessXMLExpectations Section8.2 ExportingXMLfromAccessUsingtheGUI Section8.3 ImportingXMLintoAccessUsingtheGUI Section8.4 AutomatingXMLImportandExport Chapter9 UsingWebServicesinExcel,Access,andWord Section9.1 WhatAreWebServices? Section9.2 TheMicrosoftOfficeWebServicesToolkit Section9.3 AccessingaSimpleWebServicefromExcel Section9.5 AccessingRESTWebServiceswithVBA Section9.7 UsingWebServicesinWord Section9.4 AccessingMoreComplexWebServices Section9.6 UsingWebServicesinAccess Chapter10 DevelopingInfoPathSolutions Section10.1 WhatIsInfoPath? Section10.2 InfoPathinContext Section10.3 ComponentsofanInfoPathSolution Section10.5 UsingInfoPathDesignMode Section10.4 AMoreCompleteExample AppendixA TheXMLYouNeedforOffice SectionA.1 WhatIsXML? SectionA.2 AnatomyofanXMLDocument AppendixB TheXSLTYouNeedforOffice SectionB.1 SortingOuttheAcronyms SectionB.2 ASimpleTemplateApproach SectionB.4 AMoreAdvancedExample SectionB.3 ARule-BasedStylesheet SectionB.5 Conclusion AppendixC TheXSDYouNeedforOffice SectionC.1 WhatIsXSD? SectionC.2 CreatingaSimpleSchema SectionC.3 SchemaParts SectionC.4 WorkingwithXMLSchema AppendixD UsingDTDsandRELAXNGSchemaswithOffice SectionD.1 WhatAreDTDs? SectionD.2 WhatIsRELAXNG? SectionD.3 HowDoIConvertDTDsandRELAXNGtoXSD? Colophon Index Copyright©2004O'ReillyMedia,Inc PrintedintheUnitedStatesofAmerica PublishedbyO'ReillyMedia,Inc.,1005GravensteinHighway North,Sebastopol,CA95472 O'Reillybooksmaybepurchasedforeducational,business,or salespromotionaluse Onlineeditionsarealsoavailablefor mosttitles(http://safari.oreilly.com) Formoreinformation, contactourcorporate/institutionalsalesdepartment:(800) 998-9938orcorporate@oreilly.com NutshellHandbook,theNutshellHandbooklogo,andthe O'ReillylogoareregisteredtrademarksofO'ReillyMedia,Inc Office2003XML,theimageofaMalaypalmcivet,andrelated tradedressaretrademarksofO'ReillyMedia,Inc Manyofthedesignationsusedbymanufacturersandsellersto distinguishtheirproductsareclaimedastrademarks Where thosedesignationsappearinthisbook,andO'ReillyMedia,Inc wasawareofatrademarkclaim,thedesignationshavebeen printedincapsorinitialcaps Whileeveryprecautionhasbeentakeninthepreparationofthis book,thepublisherandauthorsassumenoresponsibilityfor errorsoromissions,orfordamagesresultingfromtheuseof theinformationcontainedherein Preface Formanyusers,theappearanceofOffice2003hasmeanta slightlyupdatedversionofafamiliartool,anotherepisodein thecontinuousdevelopmentofapopularandwidely-usedpiece ofsoftware Forsomeusers,however,theappearanceofOffice 2003isaheraldoftumultuouschange ThisversionofOffice liberatestheinformationstoredinmillionsofdocuments createdusingMicrosoft'sOfficesoftwareoverthepast15years andmakesitreadilyavailabletoawidevarietyofsoftware At thesametime,Office2003hassubstantiallyimprovedits abilitiesforworkingwithdatathatcomesfromexternal sources,makingitmucheasiertouseOfficeforthe examinationandanalysisofinformationthatcamefromother sources XML,theExtensibleMarkupLanguage,liesattheheartofthis newopenness XMLhastakenmuchoftheworldbystormsince itspublicationin1998asaWorldWideWebConsortium(W3C) Recommendation XMLprovidesastandardtext-basedformat forstoringlabeledstructuredcontent Anenormousvarietyof toolsforprocessing,creating,andstoringXMLhasappeared overthelastfewyears,andXMLhasbecomealinguafranca thatletsdifferentkindsofcomputersanddifferentkindsof softwarecommunicatewitheachotherallwhilepreservinga substantiallevelofhumanaccessibility ThisbookexplorestheintersectionbetweenOffice2003and XMLindepth,examininghowthevariousproductsintheOffice suitecanbothproduceandconsumeXML Whilethisbook generallyfocusesonOffice2003itself,somesupporting technologieswillbeimportantpiecesoftheintegrationpuzzle ExtensibleStylesheetLanguageTransformations(XSLT)and W3CXMLSchema(whichMicrosoftabbreviatesXSD,forXML SchemaDescriptions)aretwocriticalpiecesforteaching variouspartsofOfficeaboutthestructuresofXMLdocuments, whileSOAP(anacronymthatnolongermeansanything)and HTTPwillbeimportantsupportingtechnologiesfor communicationsbetweenOfficeandotherprograms WhoShouldReadThisBook Thisbookiswrittenfordeveloperswhowanttobeableto combineOfficewithothersourcesofinformationand informationprocessing Forexample,youmaybeasystems integratortryingconnectOfficetootherworkflowprocessing, youmaybeapower-userwhowantstoanalyzeXMLdatasets inExcelorAccess,oryoumaybeanarchivistwhoneedsto extractcrucialinformationfromexistingOfficedocuments Therearemanymorepossibilitiesoutthere,ofcourse Thisbookiswrittenfordeveloperswhoalreadyhavean understandingofhowtousethevariousprogramsinthe MicrosoftOfficesuite SomebasicinstructioninXML,XSLT,and schema-relatedtechnologiesisprovidedintheappendixes,but forthemostpartthisbookassumesthatyoucomewithan understandingofXMLandrelatedtechnologies WXS [SeeXSD] [SYMBOL][A][B][C][D][E][F][G][H][I][J] [K][L][M][N][O][P][Q][R][S][T][U][V] [W][X][Z] xnamespaceprefix x2:Field x2:MapInfoelement x2:Schemaelement x2:XPathelement x2:XSDTypeelement 2nd Xalan,XSLTprocessor xCollectioneditingcomponent XDR(XMLDataReduced),namespacefor xFieldeditingcomponent XForms comparedtoInfoPath resourcesfor XFormsEssentials(Dubinko) XForms:XMLPoweredWebForms(Raman) xhtml:pelement .xlsfiles [SeeExcelspreadsheets] XML(ExtensibleMarkupLanguage) 2nd 3rd [Seealso SpreadsheetML;WordprocessingML]4th Accessstoringinformationfrom applyingtoWorddocument associatingwithOfficeapplication attributes 2nd bindingtoHTML 2nd 3rd characterencodings characterreferences commentsin convertingtoanotherXMLformatwithXSLT convertingtoHTMLwithXSLT creatingandeditingwithExcel creatingfromdatabases creatingSmartDocumentschemasfrom editingbyend-users editinginExcel editingwithcustomapplication editingwithforms [SeeInfoPath] editingwithgenericserver-sideframeworks editingwithrich-clientXMLeditors editingwithspreadsheetsusingVBA editingwithWord 2nd onloadXSLTstylesheet repeatingelements saveoptions schema-drivenediting elements 2nd embeddinginWorddocuments entityreferences escapingcharacters examplesof Excelsourcedatain openingusingXMLMaps openingXMLdocumentsdirectly requirements exportingfromAccess exportinglinkedtablesinAccessto exportingqueriesinAccessto exportingsingletablesinAccessto formsfor [SeeInfoPath] importingintoAccess 2nd 3rd linkingDTDsto 2nd metadatain mixedcontentin 2nd namesyntax namespaces openingwithExcel placeholdersfor,inWordprocessingML processinginstructionsin resourcesfor 2nd 3rd roleinOffice2003 2nd rootelement savingasWordprocessingML schemavalidationfor validityof versionof,specifyinginadocument viewingcustomelements well-formedness WordprocessingMLmergedinto XMLdeclarationfor XMLDataReduced [SeeXDR] XMLdeclaration 2nd XMLdocumentoptions XMLeditors [SeealsoInfoPath] browser-based customapplications declarativeconfigurationof genericserver-sideframeworks mappingapproachof mergingapproachof proceduralconfigurationof rich-clientXMLeditors usingWordas [SeeWord,usingasXML editor] xmlfiles [Seedocuments,XMLXMLXML spreadsheets] XMLfortheWorldWideWeb(Castro) XMLfortheWorldWideWeb:VisualQuickStartGuide(Castro) XMLinaNutshell(Harold;Means) 2nd XMLMaps addingtospreadsheet creating editing editingwithSpreadsheetML examplesof exporting 2nd exportingto,withVBA importingdocumentsusing 2nd 3rd importingto,withVBA validatingdataagainst "XMLNamespacesbyExample"(Bray) XMLOptionsdialog xmlPI XMLprocessors XMLschema 2nd [SeealsoXSD] attachingtoWorddocument attachingtoWordprocessingMLdocument createdbyAccesswhenexportingtables 2nd 3rd creatingwithXSD exampleof Exceland forExcelsourcedata InfoPath 2nd 3rd namespacefor namespacesone-to-onecorrespondancewith propertiesrelatedto sampleinstancefor schemalibraryof schema-drivenediting forSmartDocuments 2nd toolsfor unavailableschemas usecasesfor validatingdocumentbasedon validationwith allowinginvalidXMLtobesaved enablingwhileediting ignoringmixedcontentduring notdisplayingerrors Wordfunctionalityfor 2nd 3rd XMLSchema(vanderVlist) 2nd XMLSchemadefinitionlanguage [SeeXSD] XMLSchemaPart0:Primer XMLSchemaPart1:Structures XMLSchemaPart2:Datatypes XMLSourcetaskpane creatingXMLMapsin viewingXMLMapcomponents XMLspreadsheets creating exampleof 2nd extractingdatafrom opening saving XMLSpy XMLStructuretaskpane 2nd applyingXMLtagswith assigningplaceholdertext XMLsyntax,RELAXNG XMLtemplate InfoPath 2nd Word deploying exampleof XMLToolbox 2nd xml:spaceattribute 2nd xml:spaceelement XMLAfterInsertevent XMLBeforeDeleteevent xmllintcommand XMLNodeobject XMLNodescollection xmlnsnamespace XMLParentNodeproperty XMLSelectionChangeevent XMLValidationErrorevent xOptionaleditingcomponent XPath(XMLPathLanguage) 2nd XPathandXPointer(Simpson) 2nd XPathpredicates xReplaceeditingcomponent xs:allelement xs:annotationelement xs:anyelement xs:anyAttributeelement xs:anyURIdatatype xs:appinfoelement xs:attributeelement xs:attributeGroupelement xs:base64binarydatatype xs:booleandatatype xs:bytedatatype xs:choiceelement xs:complexTypeelement 2nd xs:datedatatype xs:dateTimedatatype xs:decimaldatatype xs:documentationelement xs:doubledatatype xs:durationdatatype xs:ENTITIESdatatype xs:ENTITYdatatype xs:floatdatatype xs:gDaydatatype xs:gMonthdatatype xs:gMonthDaydatatype xs:groupelement xs:gYeardatatype xs:hexBinarydatatype xs:IDdatatype xs:IDREFdatatype xs:IDREFSdatatype xs:intdatatype xs:integerdatatype xs:languagedatatype xs:longdatatype xs:Namedatatype xs:NCNamedatatype xs:negativeIntegerdatatype xs:NMTOKENdatatype xs:NMTOKENSdatatype xs:nonNegativeIntegerdatatype xs:nonPositiveIntegerdatatype xs:normalizedStringdatatype xs:NOTATIONdatatype xs:positiveIntegerdatatype xs:QNamedatatype xs:sequenceelement 2nd xs:shortdatatype xs:stringdatatype 2nd xs:timedatatype xs:tokendatatype xs:unsignedBytedatatype xs:unsignedIntdatatype xs:unsignedLongdatatype xs:unsignedShortdatatype xs:YearMonthdatatype .xsdfiles [Seeschemas] XSD(XMLSchemadefinitionlanguage) 2nd [Seealso XMLschema]3rd 4th annotations compositors 2nd creatingschemaswith datatypesfor datatypesin,mappedtoExceldatatypes defaultvalues documentstructuresin emptycontentin mixedcontent modelgroups namespaces resourcesfor 2nd typesin,namedandanonymous xsd:appinfoelement xsd:complexTypeelement 2nd xsd:elementelement 2nd xsd:schemaelement xsd:sequenceelement xsd:simpleTypeelement XSDInferencetoolkit .xsffiles [Seeformdefinitionfile,InfoPath] xsf:documentSchemaelement xsf:editingelement xsf:fileelement xsf:fileNewelement xsf:initialXmlDocumentelement xsf:menuAreaelement xsf:packageelement xsf:toolbarelement xsf:unboundControlselement xsf:viewelement xsf:xDocumentClasselement 2nd xsf:xmlToEditelement .xslfiles [Seestylesheets] XSL(ExtensibleStylesheetLanguage) 2nd 3rd XSLFormattingObjects(XSL-FO) XSLtransformations [SeealsoXSLTstylesheet] forSmartDocuments 2nd XSL-FO(XSLFormattingObjects) 2nd 3rd xsl:apply-templateselement 2nd 3rd xsl:attributeelement 2nd 3rd xsl:copy-ofelement xsl:elementelement xsl:for-eachelement 2nd xsl:outputelement 2nd 3rd 4th xsl:outputmethodelement xsl:paramelement xsl:processing-instructionelement 2nd xsl:stylesheetelement 2nd 3rd xsl:templateelement 2nd 3rd 4th 5th empty xsl:templatematchelement 2nd xsl:value-ofelement 2nd 3rd XSLT&XPath:OntheEdge(Tennison) XSLT(ExtensibleStylesheetLanguageTransformations) 2nd examplescripts convertingWordprocessingMLtoDocbook convertingWordprocessingMLtoHTML convertingWordprocessingMLtoOpenOffice.org convertingWordprocessingMLtoPDF creatingWorddocuments extractinginformationfromWorddocuments modifyingWorddocuments requirementsfor examplesof convertingXMLtoHTML convertingXMLtoXML extractingdatafromXMLspreadsheets FrontPagecreatingstylesheetsfor generatingSpreadsheetMLfrom namespacefor resourcesfor 2nd serializationrules templaterules XSLT(Tidwell) 2nd XSLTCookbook(Mangano) 2nd XSLTprocessors XSLTProgrammer';sReference(Kay) 2nd XSLTstylesheet [SeealsoonloadXSLT stylesheet;onsaveXSLTstylesheet]2nd applyingwhensaving convertingfromWordprocessingML exportingfromAccessto asidentitytransformation importingXMLintoAccesswith inschemalibrary InfoPath 2nd switchingpipelineof usedwith"Applytransform"option forWordprocessingML XSLTtransformations [SeeXSLTstylesheet] xsltproc,XSLTprocessor .xsnfiles [Seeformtemplatepackage, InfoPath] xTextListeditingcomponent [SYMBOL][A][B][C][D][E][F][G][H][I][J] [K][L][M][N][O][P][Q][R][S][T][U][V] [W][X][Z] zoompercentage ... Acknowledgments Chapter1 Microsoft Office and XML Section1.1 Why XML? Section1.2 DifferentFacesof XML Section1.3 Different XML Facesof Office Section1.4 Opening Office totheWorld Chapter2... Thisbookexplorestheintersectionbetween Office 2003 and XML indepth,examininghowthevariousproductsinthe Office suitecanbothproduceandconsume XML Whilethisbook generallyfocuseson Office 2003 itself,somesupporting... XSLTisattheheartofmuchofthe Office XML work,akeyingredientformovingfromthe XML youhavetothe XML Office needsandvice-versa Anotherspecification,W3C XML Schema,providesdescriptionsofdocumentstructures
- Xem thêm -

Xem thêm: OReilly office 2003 XML may 2004 ISBN 0596005385 , OReilly office 2003 XML may 2004 ISBN 0596005385 , Chapter 1. Microsoft Office and XML, 3 WordprocessingML's Style of Markup, Chapter 4. Creating XML Templates in Word, 3 Word's Processing Model for Editing XML, 1 What's a Smart Document?, Chapter 6. Working with XML Data in Excel Spreadsheets, Chapter 8. Importing and Exporting XML with Microsoft Access, Chapter 9. Using Web Services in Excel, Access, and Word, Appendix A. The XML You Need for Office, Appendix B. The XSLT You Need for Office, Appendix C. The XSD You Need for Office, Appendix D. Using DTDs and RELAX NG Schemas with Office

Mục lục

Xem thêm

Gợi ý tài liệu liên quan cho bạn