Sandra Sol Rodrigo wrote:
> 
> I send you this email because I have a question about the limit of the
> files you can reference with external parsed entities. I mean, in how
> many parts can you break a book?
> 

In theory, there is no limit. In practice, Xerces (one of the most
commonly used XML parsers) has a bug which, at least on Linux, may cause
it to report an "out of file descriptors" error for more than ~1000 XML
files.

Now, as of XXE (XMLmind XML Editor) v4, we no longer support the
references to external entities as a mean to create modular documents.
As of XXE v4, we only support DITA conref for DITA documents and
XInclude for the other document types (DocBook, XHTML, etc).

XXE has been designed to support thousands of such inclusions.

Please take the time to read this tutorial to learn more about
``structured'' inclusions:
Tutorial: creating a modular document --
http://www.xmlmind.com/xmleditor/_distrib/doc/user/tutorial_modular_document.html


> 
> My other question is about the figures. I would like to know if you can
> copy a figure as a reference. I mea, you have the Figure85 and two
> paragraphs later you need to say ?In Figure85 you see ....?. Can you do
> it with a reference to be more automatic?
> 

Copy as a reference (Ctrl+Shift-C) then paste (Ctrl-U, Ctrl-V or Ctrl-W)
means: include here the entire contents of an XML element contained in
another document. This is not related to something like ?In Figure85 you
see ....?, which is a cross-reference. Here's how to create such
cross-reference:

[1] Give an id attribute to the figure (not to its title). Example:
id="my_screenshot".
[2] Type ?In  you see ....?.
[3] Before "you see", insert an xref element (e.g. using Ctrl-I).
[4] Using the Attribute tool, specify "my_screenshot" as the value of
attribute linkend.

When you'll convert the DocBook source to HTML, PDF, etc, the xref will
be automatically translated to something like "Figure85".


Reply via email to