[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
To: Richard Higgins <R.I.Higgins@xxxxxxxxxxxx>, Free Framers <framers@xxxxxxxxx>
Subject: Re: FM+SGML read/write problems
From: Dan Emory <danemory@xxxxxxxxxxxx>
Date: Fri, 11 Dec 1998 10:33:13 -0700 (MST)
Sender: owner-framers@xxxxxxxxx
At 12:25 PM 12/11/98 PST, Richard Higgins wrote: >Hello: >Using FM+SGML 5.5.3 on Win95. >Can anyone help please with any of the following FM - SGML conversion problems >(I'm at the testing [in both senses] stage of importing existing SGML docs and >trying to export them back as the same SGML)? > >1. I lose my processing instructions. The documentation implies that FM doesn't >touch them, but they don't come back out again. They are straightforward >(legacy PI's for any Panorama users) along the lines of <?TAGLINK ...> and only >occur after the document type declaration and before the root element. All the >r/w rules seem to imply that PI's pass straight through and do not require >further intervention. ******************************************************* I've not experienced this problem. Perhaps it's their location before the root element that's causing the problem. Try inserting a PI into the SGML document instance after the root element and see if it translates. ****************************************************************** > >2. I declare an entity "address" which uses a public identifier to call in an >SGML fragment containing (depending on location) one of several addresses: ><!ENTITY address PUBLIC "-//Durham University DULASC//TEXT PG Contact info//EN"> >This works fine on import with no r/w rules, but on export (as well as leaving >intact the above line) every occurence of the &address; in the document is >replaced by "ti1;", "ti2;" etc, and lines are added to the doc type >subdeclaration: ><!ENTITY ti1 SYSTEM "\BadFileName"> etc. >Any attempt so far to write a r/w rule for entity "address" has resulted in the >import process failing to pick up the SGML fragment at all. *************************************************************** A. Are the PUBLIC entities declared in the DTD? They should be. B. Also, are you using an entity catalog in your SGML application? If not, add one, and put the PUBLIC entities in it, indicating their SOI's (i.e. their file location.) Entity catalogs are described in the Developer's Guide section about the Application Definition File. ******************************************************************* > >3. Is there a way in an EDD of associating elements with a condition - i.e. on >import an element and all those contained within have a condition tag applied to >them? ********************************************************************* I don't believe this is possible unless you write an API client to do it. *************************************************************************** ____________________ | Nullius in Verba | ******************** Dan Emory, Dan Emory & Associates FrameMaker/FrameMaker+SGML Document Design & Database Publishing Voice/Fax: 949-722-8971 E-Mail: danemory@primenet.com 10044 Adams Ave. #208, Huntington Beach, CA 92646 ** To unsubscribe, send a message to majordomo@omsys.com ** ** with "unsubscribe framers" (no quotes) in the body. **