🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #162

Re: Making a valid XML DTD out of a more general EDD?

#162
From: systecgmbhnuremberg
Date: Fri, 30 Jan 2009 08:36
38 lines
2668 bytes
Hello Mr. Brand,

what you are talking about is automatically wrapping into <MyText>, so it becomes valid XML.

I am not sure, whether this is possible via XSL, so you might need a cutsom plugin to do it. Have you looked at FrameSLT? As I understand, it is like XSLT, but on the basis of structured documents that work as "FrameSLT-Scripts". Maybe with this you can detect those areas that need to be wrapped into <Mytext>.

As you say that your EDD does not croak on it, this means, that you have it configured as an SGMLApplication in structapps.fm. When exporting XML you must be using an XMLApplication in structapps.fm.
So as for this, you could try to do the following:
1. Edit using your EDD and
a. either use .fm format rather than .xml and validate your document my using the menu entry
b. have an SGML-Application in structapps.fm
2. If you have no errors in these validations, your document is ok.
3. When preparing the files for the translator, assign a different structapp, which is an XMLApplication, rather than the SGMLApplication you use for editing.
4. This way you can discern:
* Error in the SGMLApplicaton => real invalidity
* Error in the XMLApplication, but not in the SGMLApplication =>no real invalidity

BTW: If you say, that you need layout and everything preserved: Have you tried to send the .fm files to the translator rather than the .xml files?

Hope this helps.
With kind regards,
Franz.
| ENDLICH: Der Adobe FrameMaker 9, die TCS 2 sind da
| Training, Software, Support, Plugins, Dienstleistung
| Von Redakteuren f�r Redakteure
 <http://www.systec-gmbh.com/sites/toolbox.php>
 <http://www.systec-gmbh.com/sites/ditapack.php>
 <http://www.systec-gmbh.com/sites/3dpack.php>

| Tel +49 911 99 89 55 - 600
| Fax +49 911 99 89 55 - 663
| E-Mail info@systec-gmbh.com

| Schreiberhauer Str. 5, 90475 N�rnberg
| Internet www.systec-gmbh.com

| Gesch�ftsf�hrer Dipl.-Ing. (FH) Georg Eck, Dipl.-Btw. (FH) Manfred Papp
| Amtsgericht N�rnberg HRB 9369 Umsatzsteuer-Identifikationsnummer DE 133560519
Technical Details
Message-ID: <59b686a8.10@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <59b686a8.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,7b6fc3c63283a48a
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
From: systecgmbhnuremberg@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.framemaker.sgml
Subject: Re: Making a valid XML DTD out of a more general EDD?
Message-ID: <59b686a8.10@webcrossing.la2eafNXanI>
Date: Fri, 30 Jan 2009 00:36:37 -0800
References: <59b686a8.-1@webcrossing.la2eafNXanI>
Lines: 53
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit