Karsten Wade wrote: <snip>
You can put _anything_ that is valid XML in a file and call it as anI am not sure about the emacs side, but you can also utilize XInclude for this also.
entity. Wherever you call the entity, it must be valid or an error will
occur.
I use it very often to include "literal" data. Here's a included content from one of my websites files:
File: `xml/docbook' Size: 256 Blocks: 0 IO Block: 4096 directory Device: 344h/836d Inode: 173614 Links: 5 Access: (0755/drwxr-xr-x) Uid: ( 1000/ user) Gid: ( 100/ group) Access: 2005-03-02 22:06:08.986521152 -0600 Modify: 2005-03-02 21:54:37.266678552 -0600 Change: 2005-03-02 21:54:37.266678552 -0600
and call it thusly using the following xml source:
<section>
<title>Statistics</title>
<programlisting>
<xi:include href="directory.stat" xmlns:xi="http://www.w3.org/2001/XInclude" parse="text">
<xi:fallback>
<warning>FIXME: MISSING XINCLUDE CONTENT</warning>
</xi:fallback>
</xi:include>
</programlisting>
</section>
As you can see the usage is vast. Given the actual content was not displayed -- I thought I would throw this out there for everyone. Of course applicability does depend on content structure --- i.e. structured or unstructured.
Maybe somebody here at fedora-docs can use this information. ;) Thomas
--
fedora-docs-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-docs-list