Search DominoPower's 10,675 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 (6 articles)
   Quick guide to using the Microsoft Outlook 2002 Connector with a Domino server
   How to easily connect Notes and Microsoft Office
   How to query Domino from within Excel
Home > Lotus Technologies > Domino (69 articles)
   Centralised email encryption at the Domino server level
   Getting the Domino server time with @Now
   When the email flood inundates the Domino Server
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
What to look for in a Domino-based document management solution
Understanding Domino.doc end-of-life options
When the debugger won't debug hidden code that isn't hidden
What to do if the LotusScript debugger won't single-step over code
Top 10 ways to launch and build a Lotus consulting practice (with a little help from the Beatles)
Troubleshooting an OpenSuse Notes install
Incident report: denial of service attack against ConnectedPhotographer.com
Latest Lotus Headlines
SnTT - Enabling ALL the bells and whistles!
Tivoli Data protection causes Domino to crash
Fun when running DB2 CLP scripts
Introducing Flippr, the easy way to admin Quickr
DXL and fake security
Using search forms in IBM Workplace Collaborative Learning 2.7
Schmidt, Freed, and Gering on the OVF Toolkit
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Eight steps to successful and reliable home backups
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Can Outlook run when it's not running (and other mysteries)?
-- Advertisement --

AUTOMATE LOTUS NOTES USER ID MANAGEMENT
ID Manager 4.5 from HELP Software provides a new level of automaton for managing Lotus Notes IDs. ID Manager lets Lotus Notes administrators get out of the business of creating and managing user IDs. Use our ROI calculator to see how quickly ID Manager will pay for itself.

Learn more about HELP Software products
-- Advertisement --

Want The Top Lotus Experts By Your Side Without Paying Hefty Consulting Fees? Look No Further.
Like having a team of consultants by your side -- ones who have all the answers and never make mistakes -- THE VIEW gives you immediate access to field-tested instruction, guidance, and best practices from the brightest Lotus professionals around.

Join your peers who realize their Lotus technology is too important to let people from blogs and forums tell them how they should implement it, run it, and use it. THE VIEW is where only the world's top Lotus experts provide validated support to you on a weekly basis to ensure you work more efficiently, get more out of your Lotus technology, and stay clear of costly mistakes.

Check out the new instruction, tips, and best practices added to THE VIEW this week.

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