Re: Dealing with entities?

Galen Boyer <[email protected]> 26 Jun 2003 18:52:42 -0400
Newsgroups gmane.emacs.xae
Message-ID <[email protected]>
On Thu, 26 Jun 2003, [email protected] wrote:
> About 9 months ago Galen Boyer wrote:
> GB> How do people on this list deal with breaking documents
> GB> into smaller chunks and then have the outer documents pull
> GB> them in on transformation?
> GB> 
> GB> The subdocuments don't allow for the DTD to be present, but
> GB> while editing, I still want the XAE available.
> 
> I've just installed the xae and I'm a newbie at xml/docbook.
> I'm writing a long document which I wanted to break up using
> entities and I'm having problems using xae in files other than
> the top-most include file.  In each subfile I have this:
> 
> <?xml version='1.0' ?> 
>  <chapter id="foo">
> 
>  [ body of file deleted ]
> 
>  </chapter>
> 
>  <!-- Local Variables: -->
>  <!-- sgml-indent-step: 1 -->
>  <!-- sgml-indent-data: 1 -->
>  <!-- sgml-parent-document: "make.xml" -->
>  <!-- End: -->
> 
> which I slurpped off of some cygwin/emacs/docbook tutorial.  An
> example of the problem is when I select Markup->Insert Element
> I get the error:
> 
>   sgml-menu-ask: No valid element at this point
> 
> Is it possible to break up files like this and still have xae
> functionality?

I've used the local variables quite successfully.  You need to
make the sgml-parent-document directly relative to the parent.
Is make.xml in the same directory, or somewhere else?

BTW, the XAE has nothing to do with this.  The XAE requires
psgml-mode, which is the driver for all of this functionality.
The XAE gives you a very nice set of menus and already integrated
distributions so you can publish your XML documents.

-- 
Galen Boyer

_______________________________________________
XAE mailing list
[email protected]
http://sunsite.dk/mailman/listinfo/xae