This is the mail archive of the docbook-tools-discuss@sources.redhat.com mailing list for the docbook-tools project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: More psgml tips...


Mark Johnson wrote:
...
> Setting this variable allows you to edit the various sub-files that compose a
> larger document without having to insert a DOCTYPE statement at the top of
> them. And to do it in a dtd-aware fashion.
... 
> Here's an example:
> 
>     Parent file = mybook.xml
>     Root element of parent file = <book>
> 
>     Child file = chapter2.xml file
>     Root element of child file = <chapter>
> 
> put the following at the bottom:
>     <!--
>     Local variables:
>     mode: xml
>     sgml-parent-document:("mybook.xml" "book" "chapter")
>     End:
>     -->

Good tip, Mark!

Translated to a "website" document this would mean:

<!--
Local variables:
mode: xml
sgml-parent-document:("myfile.xml" "website" "webpage")
End:
-->

Correct?

Michael
-- 
office:  michael.wiedmann@detewe.de
private: mw@miwie.in-berlin.de                 http://www.miwie.org/
         mw@miwie.org                          http://wap.miwie.org/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]