trouble with split document and markup element selection

Moritz Lennert <[email protected]>
Newsgroups gmane.emacs.psgml.user
Message-ID <[email protected]>
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"

When I load a chapter file into psgml-mode in emacs, the element selection does
not function properly. When I type 'C-c C-e TAB' I can chose from the entire
list of all existing elements in DocBook i.e. it lets me insert a 'book' element
into a 'para' element. And when I try to insert an element via the menu   
Markup->Insert Element) it tells me 'No valid element at this point'.

What am I doing wrong ? In the parent document everything works fine.

I am using Emacs 21.2.1 and psgml.el version 1.2.4 both in form of Debian packages.

Moritz


-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)


-------------------------------------------------------
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.