Article View: adobe.framemaker.sgml
Article #1511Re: Problems in FM to XML conversion
From: PamelaOwens
Date: Thu, 29 Jun 2006 14:39
Date: Thu, 29 Jun 2006 14:39
22 lines
2852 bytes
2852 bytes
========================================================= Structured FrameMaker 7.2p158 Windows XP Professional 7.0.0 12/14/2004 Service Pack 2 ========================================================= I've been told that there are lots of errors in the Developer Guide. I've tried using their examples as well as some examples in the xml cookbook but neither seem to work. I'm trying to convert an Epic XML file (which uses the cals.dtd) to structured FrameMaker (for which I have created an EDD �OLLD_EDD.fm� using the 050512navseac2.dtd). I thought I ould do this by using the read write rules but have come across some problems where it seems that the read write rules are being ignored. The Epic Editor generated XML file uses the DTD �cals.dtd� and and edited version of the STYLESHEET �cals.fosi�. The 050512navseac2.dtd(OLLD) is very similar to the cals.dtd with just a few differences (the root element for the cals is �doc� while the root element for the olld is �docnavy-etm�; the �docno� is wrapped in �tmidno� in the cals, while �tmidno� doesn�t exist in the olld; �volnum?, revnum?, doctype, maintlvl*, prtitle, stitle?� are not wrapped in the cals, but they are wrapped in �titleblk� in olld). Using the �structapps� from the �C:\Program Files\Adobe\FrameMaker7.2\Structure� folder, I added an application for �OLLD� (using the xdocbook application for a template). I used the �rules� file from the �C:\Program Files\Adobe\FrameMaker7.2\Structure\xml\xdocbook\app� folder and named it �OLLD_RW_Rules.rw�. I then tried to modify it and took everything out but a few items to test it. The � I ended up having to go into the FM file and deleting and changing some of the elements so that it would work with our OLLD.DTD and OLLD_EDD. We also had to split them up into the separate book files because the Read/Write Rules wouldn't do that either. I'm looking to find a way to automate this process (to get the read write rules to work�or maybe set up a mapping file instead or in addition to?). [more info in next entry]
Technical Details
Message-ID:
<3bc0c056.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!news.glorb.com!syros.belnet.be!news.belnet.be!news.stben.net!webcrossingReferences:
<3bc0c056.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,60546dfe0e31b708,start X-Google-Attributes: gidfcc08,public X-Google-Language: ENGLISH,ASCII From: PamelaOwens@adobeforums.com Newsgroups: adobe.framemaker.sgml Subject: Re: Problems in FM to XML conversion Message-ID: <3bc0c056.1@webcrossing.la2eafNXanI> Date: Thu, 29 Jun 2006 07:39:29 -0700 References: <3bc0c056.-1@webcrossing.la2eafNXanI> Lines: 56 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!news.glorb.com!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing