Logout Developer Knowledgebase Search Adobe Partners Main Adobe Solution Partner Finder Adobe Solution Partner Program Support Developer Knowledgebase Adobe Solution Partner Program Products & Technology Adobe
Developer Knowledgebase

Knowledgebase HomeFrameMaker KB

Overview
Software Development Kits
Developer Knowledgebase
Support
Legal Notices
Feedback
Adobe Solution Partner Program
Join
Find a Solution Partner

Product
FrameMaker
 
Version
All
 
Last Edited
09-Jan-2002
 
Document
51190

How To: SGML general rules and mixed content


Issue
SGML general rules and mixed content

Details
Mixed content in SGML corresponds to general rules in FM+SGML that contain <TEXT>. Anyone who is using SGML should avoid mixed content unless <TEXT> is allowed anywhere in the element. For example, the following general rules do not cause problems:

<TEXT>
(<TEXT>|EmphasizedPhrase|PartNumber|BookTitle)+

However, SGML has strange rules concerning white space that can cause unexpected results with rules such as:

A, (B|<TEXT>)
A,<TEXT>,B

Basically, the problem is that with rules such as those in this second group, white space is an error in contexts where it
would normally be ignored. An SGML exporter should avoid generating such white space. However, it is very easy to insert during manual editing. Thus, it’s best to avoid the problem by only using <TEXT> when it can occur throughout the content.

back to top
Was this Knowledgebase document helpful? Yes  No
The articles in this knowledgebase are intended for use by software programmers currently using an Adobe SDK to extend or customize an Adobe product. These articles may be highly technical in nature.
If you have questions about an Adobe Product that are not related to development or an SDK product please visit: http://adobe.com/support/main.html
Copyright © Adobe Systems Incorporated. All rights reserved.
Terms of Use
Online Privacy Policy