๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.framemaker.sgml
4 messages
4 total messages Started by R._VanDyke Thu, 20 Nov 2008 21:42
Built FM DITABook (made FM binaries) -- how do I get back to XML?
#432
Author: R._VanDyke
Date: Thu, 20 Nov 2008 21:42
26 lines
2139 bytes
For FrameMaker 8 DITA.

I gen'ed apparently "clean" binaries from DITA XML -- now how do I gen "clean" DITA XML from the binaries?

BACKGROUND
I created a bunch of DITA topic files as .xml, then assembled them in a DITA map file.

Next, I used Build FM DITABook from DITA map file to export those XML files as a binary (or if you prefer, "classic") FrameMaker book containing a list of ".xml.fm" binary (a.k.a. "classic chapter") files.

I then proceeded to edit those binary files, closely conforming to DITA tag structure to create a FrameMaker book and constituent binary topic files that validated and gen'ed without error.

Finally, I used Save As to save those .fm chapter files as XML. (Actually, FM8 for some reason wants to export them as ".xml.xml" files...)

THE PROBLEM

* When I save the .fm files as XML, FrameMaker reports an error the essence of which is "Root element different from DOCTYPE".

* FrameMaker also reports the same error if I open a given .xml file then Save the file back into itself.

* If I then re-open the file that contained the error, FrameMaker does not report an error. That is to say that it seems that Open-ing and Save-ing the XML file "cleans" the error out of the file.


So, is there any way to go directly to "clean" XML without performing the intermediate Open/Save operation?

Cheers & thanks,
Riley
Re: Built FM DITABook (made FM binaries) -- how do I get back to XML?
#433
Author: Scott_Prentice
Date: Thu, 20 Nov 2008 22:12
11 lines
1020 bytes
Hi Riley...

Sorry, but this is not the intended use of these files. :)

It *can* be done, but it's a fair amount of work. Any content revisions should be made in the source files, then generate a new book. The generally accepted "best practice" for maintaining a book for easy updating is described here ..

 <http://kb.leximation.com/dfm/?kbid=4>

Cheers!

...scott
Re: Built FM DITABook (made FM binaries) -- how do I get back to XML?
#443
Author: Michael_Mueller-Hillebrand
Date: Fri, 21 Nov 2008 21:22
5 lines
737 bytes
Another description of the processes was published by Scriptorium:

 <http://store.scriptorium.com/items/books/framemaker-8-and-dita-technical-reference-detail.htm>

- Michael
Re: Built FM DITABook (made FM binaries) -- how do I get back to XML?
#352
Author: systecgmbhnuremberg
Date: Fri, 28 Nov 2008 08:45
33 lines
2454 bytes
Hello Mr. Van Dyke,

you might try the following:
Rather than having the topics in XML, combining them into a map and turning the map into FM, you could have a book with chapters (=structured .fm-files) and insert the XML topics by conref

This is analogue to using text insets in non-structured files.
The advantage of this is having the topics as .xml (=validation, granularity, reuse) and an FM book (=generated lists a.s.o) at the same time.

If you need to be on the pure xml path, you might try out the "DITA-Services" of SYSTEC. This is a plugin pack that
* adds static or dynamic files to a book according to a configuration file
* sets variable values, text condition visibility status and PDF metadata information according to a configuration file
* localizes formats, reference pages a.s.o semi-automatically.

This way you could go from xml + map>FM-Book without Title, TOC a.s.o>FM-Book with Title, TOC and all other bells and whistles >PDF.

Feel free to inquire at info@systec-gmbh.com

With kind regards,
Franz.

[SYSTEC - the document processing company.]
 <http://www.systec-gmbh.com/sites/toolbox.php>
 <http://www.systec-gmbh.com/sites/ditapack.php>
 <http://www.systec-gmbh.com/sites/3dpack.php>
____________
|Schreiberhauer Str. 5 |D-90475 Nuernberg - Germany
|Phone +49 911 998955-625 |Fax +49 911 998955-663
|e-Mail info@systec-gmbh.com |Internet: www.systec-gmbh.com
|Redaction, Translation: www.systec-td.de |ePublishing, Solutions: www.systec-it.de
____________
|CEO: Dipl.-Ing. (FH) Georg Eck, Dipl.-Btw. (FH) Manfred Papp
|Amtsgericht N๏ฟฝrnberg HRB 9369
|Umsatzsteuer-Identifikationsnummer DE 133560519
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads