public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Michael Wiedmann" <michael.wiedmann@detewe.de>
To: docbook-tools-discuss@sourceware.cygnus.com
Subject: Re: More psgml tips...
Date: Wed, 27 Dec 2000 06:36:00 -0000	[thread overview]
Message-ID: <3A2F8B20.8F45C870@detewe.de> (raw)
In-Reply-To: <3A2F86C8.619F5E41@phy.duke.edu>

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/

WARNING: multiple messages have this Message-ID
From: "Michael Wiedmann" <michael.wiedmann@detewe.de>
To: docbook-tools-discuss@sourceware.cygnus.com
Subject: Re: More psgml tips...
Date: Thu, 07 Dec 2000 05:03:00 -0000	[thread overview]
Message-ID: <3A2F8B20.8F45C870@detewe.de> (raw)
Message-ID: <20001207050300.0Ctjx_vF6zYlXI5sKp-GsCej2NuRPRbqkBmz219Z2e0@z> (raw)
In-Reply-To: <3A2F86C8.619F5E41@phy.duke.edu>

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/

  parent reply	other threads:[~2000-12-27  6:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-27  6:36 Where, what and how - The future of DocBook Peter Ring
2000-12-07  3:45 ` Peter Ring
2000-12-27  6:36 ` More psgml tips Mark Johnson
2000-12-07  4:47   ` Mark Johnson
2000-12-27  6:36   ` Michael Wiedmann [this message]
2000-12-07  5:03     ` Michael Wiedmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A2F8B20.8F45C870@detewe.de \
    --to=michael.wiedmann@detewe.de \
    --cc=docbook-tools-discuss@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).