OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

25
OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services

Transcript of OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Page 1: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

OFC 303

Advanced Word XML: Customer-Defined Schemas

Brian JonesProgram Manager Authoring Services

Page 2: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Agenda

Demo: Customer Defined Schemas

Demo: Schema Library

Demo: XML Object Model in Word

Demo: End User Experience

Demo: Content Repurposing

Solution opportunities

Page 3: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

demodemo

Customer Defined Customer Defined Schema Support:Schema Support:MSPress SchemaMSPress Schema

Brian JonesBrian JonesProgram ManagerProgram ManagerAuthoring & Collaboration Svcs.Authoring & Collaboration Svcs.

Page 4: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Demo Title

Name

Title

Group

demodemo

Page 5: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

What Was Covered?

XML Tree View

Real-Time schema validation

Schemas are Cached

Customizable schema validation

Schema violation events

Prevent saving as invalid XML

Ignore Mixed Content

Page 6: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Schema Library

demodemo

Brian JonesBrian JonesProgram ManagerProgram ManagerAuthoring & Collaboration Svcs.Authoring & Collaboration Svcs.

Page 7: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

What Was Covered?

Word can open and edit ANY XML file

Default Transform

Open through transform

Associate files with NamespacesXSLT; XSD; SmartDoc .dlls; etc.

TransformDocument method

Content Repurposing through the IncludeText field

Page 8: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Object Model

demodemo

Brian JonesBrian JonesProgram ManagerProgram ManagerAuthoring & Collaboration Svcs.Authoring & Collaboration Svcs.

Page 9: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

What Was Covered?

Similar support to XML Dom

XPath can give you a Word Range Object

Range.xml will return XML of any Range

Specify: Data Only or WordML

InsertXML allows you to insert XML anywhere in the document

This can be Data only or WordML

XML Events (Insert, Delete, SelectionChange, validation)

Page 10: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

End User Experience

demodemo

Brian JonesBrian JonesProgram ManagerProgram ManagerAuthoring & Collaboration Svcs.Authoring & Collaboration Svcs.

Page 11: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

What Was Covered?

Placeholder Text

Range Permissions

Document Fragments

How do I expose this to my end users?

Page 12: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Solution Opportunities

Smart Document solutions

Customer-defined XSD schemas for specific businesses/verticals

XSLT transformations for different views of data

Centralized XML data sources

XML-enriched Smart Tags

The list goes on and on…

Page 13: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Additional Resources

Word XML CDKSmart Document SDKWord help (object model support)MSDN Library (Office Solutions Development / Microsoft Office / Microsoft Office 2003)

Technical Articles / Downloads / etc.Web Casts

http://www.microsoft.com/usa/webcasts (previous webcasts)“XML in Word 11”“Architecture and Security around Smart Documents”“Integrating InfoPath into Business Solutions”

Page 14: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Microsoft Office SystemDeveloper Contest

Enter to win great prizes!

www.officedevcontest.com

Grand Prize: 2003 MINI Cooper lease Enter in one of these five award categories:

XML at the DesktopVisual Studio and .NET FrameworkCross-application integrationTools Microsoft SharePoint Products and Technologies

Page 15: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Other sessions…Other sessions…

Page 16: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Questions…Questions…

Page 17: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Community Resources

Community Resourceshttp://www.microsoft.com/communities/default.mspx

Most Valuable Professional (MVP)http://www.mvp.support.microsoft.com/

NewsgroupsConverse online with Microsoft Newsgroups, including Worldwidehttp://www.microsoft.com/communities/newsgroups/default.mspx

User GroupsMeet and learn with your peershttp://www.microsoft.com/communities/usergroups/default.mspx

Page 18: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

© 2003 Microsoft Corporation. All rights reserved.© 2003 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.

Page 19: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Appendix…Appendix…

Page 20: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Fitting Into The Big Picture

Data AnalysisData Analysis Tabular, largely numerical data Tabular, largely numerical data

for calculations and analysis for calculations and analysis Data best presented in a gridData best presented in a grid

Content AuthoringContent Authoring Large areas of text or mixed Large areas of text or mixed

contentcontent Flexible layout and Flexible layout and

formatting with XML markupformatting with XML markup

Reporting and StoringReporting and Storing Numerical or textual fieldsNumerical or textual fields Relational tables in Relational tables in

databasesdatabases

Information GatheringInformation Gathering Highly structured, grouped Highly structured, grouped

informationinformation Form-like with few paragraphs Form-like with few paragraphs

of formatted textof formatted text

Data Driven Web SitesData Driven Web Sites Flexible presentation of Flexible presentation of

tabular or hierarchical datatabular or hierarchical data Expanded data reachExpanded data reach Integrate across data Integrate across data

sourcessources

AccessAccessExcelExcel

WordWord InfoPathInfoPath FrontPageFrontPage

VisioVisio

DiagrammingDiagramming Business & technical Business & technical

drawings connected to Data, drawings connected to Data, SVG supportSVG support

Supports 3rd party XML Data Supports 3rd party XML Data

Page 21: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Word XML-Related FeaturesCustomer-defined XML markup support

Save as XML Document into customer-defined schema

Save as XML Document into Word schema

XML tag view

XML structure task pane

XML Schema (XSD) validation as you type

Schema library for associations between XML namespaces and other files

XSLT transformations when opening or saving XML

Ability to edit any XML file

Programmable task panes for Smart Documents

On-demand XML solution deployment and automatic updates

XML DOM programmability in VBA

XML content repurposing (XPath + XSLT)

SmartTag actions for XML tags

XPath support

Custom validation/business logic

Style lockdown

User-based editing restrictions for parts of document

Page 22: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Suggested Reading And Resources

The tools you need to put technology to work!The tools you need to put technology to work!

TITLETITLE AvailableAvailable

Microsoft® Office 2003 Resource Microsoft® Office 2003 Resource Kit: 0-7356-1880-1Kit: 0-7356-1880-1 9/24/039/24/03

Microsoft Press books are 20% off at the TechEd Bookstore

Also buy any TWO Microsoft Press books and get a FREE T-Shirt

Page 23: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

Community Resources

Community Resourceshttp://www.microsoft.com/communities/default.mspx

Most Valuable Professional (MVP)http://www.mvp.support.microsoft.com/

NewsgroupsConverse online with Microsoft Newsgroups, including Worldwidehttp://www.microsoft.com/communities/newsgroups/default.mspx

User GroupsMeet and learn with your peershttp://www.microsoft.com/communities/usergroups/default.mspx

Page 24: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

evaluationsevaluations

Page 25: OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.

© 2003 Microsoft Corporation. All rights reserved.© 2003 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.