Re: trouble with split document and markup element selection
Ron Ross <[email protected]>
| Newsgroups | gmane.emacs.psgml.user |
|---|---|
| Message-ID | <[email protected]> |
>> > <!--
>> > 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).
>>
>
> Yes, both of that is present in the Grass_tutorial.xml file.
I'm stumped then. I made heavy use of this a year or so ago (in SGML,
psgml 1.2.x) and just tested with a simple set of XML files (in
1.3.0beta) and had no problem then or now. Does Emacs/Psgml throw up any
error messages when first attempting to parse the dtd?
Ron
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Got root? We do.
http://thinkgeek.com/sf