SGML: Mapping Descriptors to the DTD Root Element

Last reviewed: August 5, 1997
Article ID: Q125989
The information in this article applies to:
  • Microsoft SGML Author for Word, version 1.0
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c

SYMPTOMS

SGML Author's user interface allows you to associate descriptors to attributes of the root element. However, associating content to the root element will create unpredictable results.

CAUSE

If the content is a paragraph, the SGML converter closes the paragraph automatically at the end of the paragraph. When this content is mapped to the root of the document, the converter will tag the root element closed.

RESOLUTION

When building your association file, do not associate descriptors with the root element of your DTD. Although SGML Author allows you to associate descriptors to attributes of the root, associating content to the root will create unpredictable results.

The summary and statistics information is an example of a descriptor that you might want to associate with attributes of the root element.


Additional reference words: 1.0 6.0 6.0a 6.0c sgmlword winword
word6 KB_SGMLAUTHOR
Keywords : kbformat kbsgml kbinterop
Version : 1.0 6.0 6.0a 6.0c
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 5, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.