Search DominoPower's 11,433 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
Integrating Domino with Office 2000 via XML (continued)

Taking this further, both approaches can be combined into a "Domino detoured round-trip." Office users create documents, which are then processed and modified by a Domino server and reloaded by other Office users. This could be as simple as putting disclaimers inside every Word document mailed out of the organization or a complex document management system.

XML cautions
XML's a fluid and fast-developing set of standards. Therefore, there's much more to saying that Office saves data using XML than at first appears. The DTDs, which are supplied to describe the "grammar" of Office XML, admit on their headers that they're well formed, but not strictly valid. Microsoft claims that Office pushes the boundaries so far that these DTDs are simply the best attempt. However, since Microsoft's also attempting to supplant DTDs with its own version of XML schemas, it's possible some of Microsoft's own corporate agenda is baked into their DTD version.

One important point to note is that the base format for Office documents is an XML variant known as XHTML. As it sounds, this is a combination of HTML and XML, the main advantage of which is that it can be read by any Web browser, whereas pure XML files can currently be read only by Internet Explorer 5. The document's also made XML compatible by adding extra tags onto certain of the standard HTML tags (which will be ignored by simple Web browsers) and by adhering strictly to the XML coding conventions. The latter means that there can be no unclosed tags, such as the common HTML <P> tag for paragraph. All tags in an XML document must be either in matching pairs (e.g. <P> and </P>), or in the special format <P/> to indicate that they're unmatched tags. Note -- Office documents will only read HTML and XHTML documents -- unlike Internet Explorer 5 they won't interpret pure XML files, which will be imported as if they were plain ASCII text files.

XML data will be encountered in three main different forms inside Office documents:

  • As additional custom parameters on standard HTML tags, as demonstrated in the November 1998 article.

  • As paired custom tags, such as <PivotTable><Name>PivotTable4</Name>...</PivotTable>.

  • As "escaped" XML parameters to Office Web Components.

For example, a pivot table expressed in XML can be passed as one long parameter to the object. Escaped XML means that all special characters are transformed into escaped codes (e.g. "<" becomes "&lt;", ">" into "&gt;", tabs into &#9 and new lines into &#10;&#13). Needless to say, this doesn't make for readable source documents!

Tag collisions
There are hundreds of new custom tags, plus attributes for standard HTML tags, defined to cope with the various object models within Office. Since it's possible for any given document to have a number of different types of XML source within it, there has to be a way of coping with the possibility of overlapping in the names given to tags (e.g. if there's a different syntax for the NAME tag of a PivotTable and for a chart. The standard XML manner of dealing with this is implemented within Office, and is called XML NameSpaces. This is one of the simpler parts of XML, and consists simply of a declaration of a prefix and an associated schema. All tags or parameters prefixed thus are known to be from a particular schema.


« Previous  ·  1  ·  2  ·  3  ·  4  ·  5  ·  6  ·  7  ·  Next »
Other articles you might like
Home > Internet Technologies > XML (11 articles)
   How to create a Web service to extract data from XML documents
   Building an XML based Content Management System using Lotus Domino: wrapping it up
   Building an XML based Content Management System using Lotus Domino: overview of the content administration system
Home > Microsoft Technologies > Office (7 articles)
   DAMO deep-six: is there a future for Outlook/Domino integration?
   Quick guide to using the Microsoft Outlook 2002 Connector with a Domino server
   How to easily connect Notes and Microsoft Office
Home > Lotus Technologies > Domino (77 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   Sloppy analysis at the core of another Domino vs. SharePoint report
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Remember Young Admins...there are 2 files
WebSphere Portal 6.1.0.2 and Lotus Domino 8.5
The CKEditor - with Domino
How not to crash in LotusScript
IBM Lotus to Google Apps Migration Remorse
Webcast Series: Mobile Collaboration with Lotus Software
Domino Login Control for Mobile Apps
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Find unused Lotus Notes groups and clean up your address book
Have you ever wanted to get rid of old Lotus Notes groups that were cluttering up your address book, but you weren't sure if they were used? Find Unused Groups can help.

Find Unused Groups will check your ACL, mail, multi purpose and server groups to help you determine if they are used, and who uses them.

Learn how to easily clean up your address book.

-- Advertisement --

Teamstudio Edition 25 has shipped
It's finally here! Now that Teamstudio Edition 25 has shipped, listen to our latest Tool Time audio program to find out what's changed. Updates to all your favorite Teamstudio tools will be discussed.

Plus, you'll get an introduction to Teamstudio Undo (formerly known as Teamstudio Snapper).

Tap here to get started!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login