Next in thread → Next in month →

RE: DOCBOOK-APPS: Docbook Structuring Problems

From
Dave Pawson <>
Date
2000-05-24T19:45:33+00:00
ID
Thread
RE: DOCBOOK-APPS: Docbook Structuring Problems
Norman Walsh writes:
      > 
      > Yep, one of the nice things about Epic (disclaimer: I used to
      > work for Arbortext) is that it can edit chunks that aren't
      > technically legal (it uses a doctype declaration hidden in a
      > comment). Then you can stitch these together as you wish.

     I've heard tell that you can associate DTDs with sgml subfiles 
     in Emacs psgml,
     and it remembers (by filename association or something) but I 
     don't know the
     details.

The details are really nice and simple.
Main file  has the entity definition and the entity.
the 'subdoc' simply has the element and a comment
at the end of the file E.G.

<website>
 ...

</website>

<!--
     Local Variables:
     mode: xml
     sgml-parent-document: ("dpawson.xml" "website" )
     End:
   -->

this says the root file is dpawson.xml and the outer element
in this subdoc is website.
Its documented, but until I had it explained to me I couldn't follow
it. Now, when I load the subdoc, psgml parses the document.
Only trick is that to parse again, ensure the cursor is beneath
the outer element in the subdoc. Quirk, but a small price to pay.

HTH DaveP
Next in thread → Next in month →