Re: trouble with split document and markup element selection

Ron Ross <[email protected]>
Newsgroups gmane.emacs.psgml.user
Message-ID <[email protected]>
Moritz Lennert <[email protected]> writes:

> Hello,
>
> I have the following footer in my seperate chapter files:
>
> <!--
>     Local Variables:
>     mode: sgml
>     sgml-declaration: "chapter.decl"
>     sgml-indent-data: t
>     sgml-omittag: nil
>     sgml-always-quote-attributes: t
>     sgml-parent-document: ("Grass_tutorial.xml" "part" "chapter")
>     End:
> -->
>
>
> And the following header in Grass_tutorial.xml:
>
> <?xml version='1.0' encoding='ISO-8859-1'?>
> <!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.1.2//EN'
> "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"

Just checking: apart from this header, does Grass_tutorial.xml have the
enveloping markup? i.e.:

  [<!ENTITY mychapt SYSTEM "mychapter.xml">]>
  <book>
   ... <part> &mychapt; </part> ...
   </book>

with an entity declaration for the subdocument in the prolog and a
reference to it between the "part" start and end tags. (Actually, the
entities might not have to be set up, but I think the markup does).

Ron



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.