docbook: XML v. SGML entities
Subject:
Re: XML v. SGML entities
From:
"Greg Ferguson" ####@####.####
Date:
12 Nov 2002 17:10:06 -0000
Message-Id: <10211121203.ZM29032@hoop.timonium.sgi.com>
On Nov 12, 7:58am, Jim Weller wrote:
> Subject: RE: XML v. SGML entities
> Greg,
> As always thanks for the prompt and pertinent reply.
>
> I grabbed your distro and took a look, but I'm also trying to understand
> the workings here. I notice that you put the ISO* entity files in the
> same folder as the DTD and the *.gml files in the ents/ sub folder.
> Where are those referenced by catalogs? I notice that dbcentx.mod has
> matching "ISO*.module" type lines does that cover the ISO* files? But
> where are the *.gml files mentioned?
They aren't mentioned. This was discovered while I was trying to find
a solution for the "is not a function name" XML entity problem.
Also, some of the entity-related files in the DTD directory (and
perhaps in the ents directory) might be "cruft". I never bothered to
clean everything up (sorry about that!). I wanted to get to the
solution...!
> OK. Looking closer it looks like you build a custom catalog (catalog)
> that is different from docbook.cat to reference the *.gml files.
Correct.
> What is your SGML_CATALOG_FILES? Do you use both docbook.cat and
> catalog?
No, both are not needed. I point SGML_CATALOG_FILES at 'catalog'
(my modified version) and the jade dsssl 'catalog'.
If you wish to see how this is setup for the LDP (the document
publishing script), grab the following:
http://tldp.org/authors/tools/ldp_mk
With this script I can publish all (LDP) supported DTDs (XML or SGML).
Email w/any questions.
regards-
--
Greg Ferguson * SGI principal engr / LDP contributor
SGI Tech Pubs * http://techpubs.sgi.com/ | gferg(at)sgi.com
Linux Doc Project* http://tldp.org/ | gferg(at)metalab.unc.edu