🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #715

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

#715
From: Harald E Brandt
Date: Fri, 19 Sep 2008 14:44
17 lines
1548 bytes
Hi Russ,

(f-word or not -- same thing... 'messing up' is a sufficient surrogate.)

Ok, I take your point of manually relaxing the DTD. The "low-tech way", but it seems a bit dangerous though not to keep them in "sync", since, after all, the EDD do get some updates sometimes.

The example I gave is a strong simplification. In practice, the rules I have are more complex, like the following example: 

      General rule: �TEXT�, (Para | ListUnordered | ListOrdered)*, (NextBlock1
      | (NextBlock2, subblock3*))*




The trouble is that I am not able to relax that in a suitable xml-valid way without departing wildly from the EDD... Maybe there is a way, but I just don't see how.

The best would be an automated translation, but I don't know how to do that either. If read/write can do it that would be excellent, but I suspect that xslt is necessary(?)
Technical Details
Message-ID: <59b686a8.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!ramfeed1.eweka.nl!eweka.nl!hq-usenetpeers.eweka.nl!news4us.nl!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: "Harald E Brandt" <adobe@bragit.com>
Newsgroups: adobe.framemaker.sgml
Subject: Re: Making a valid XML DTD out of a more general EDD?
Message-ID: <59b686a8.1@webcrossing.la2eafNXanI>
Date: Fri, 19 Sep 2008 07:44:15 -0700
References: <59b686a8.-1@webcrossing.la2eafNXanI>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!ramfeed1.eweka.nl!eweka.nl!hq-usenetpeers.eweka.nl!news4us.nl!webcrossing