Michael LeBlanc wrote:
> On Mar 31, 2010, at 6:45 AM, Hussein Shafie wrote:
>
>> *** Quickly insert ``XML variables'' in your document using the Include
>> tool --
>> http://www.xmlmind.com/xmleditor/_distrib/doc/user/being_productive.html#include_tool
>
> Can you please point me at the definition of the content of a file containing
> "XML variables"? Thanks.
>
This file is a DocBook file which contains <phrase> elements, each
<phrase> element having a different id attribute, which acts as the name
of the `XML variable''.
We generally layout such <phrase> elements in tables because it makes it
easy to document the `XML variables''.
Example (file attached to this email):
---
<informaltable>
<tgroup cols="3">
<thead>
<row>
<entry align="center">Variable</entry>
<entry align="center">Name</entry>
<entry align="center">Definition</entry>
</row>
</thead>
<tbody>
<row>
<entry><phrase id="company">LeBlanc Engineering</phrase></entry>
<entry><varname>company</varname></entry>
<entry>The name of my company.</entry>
</row>
<row>
<entry><phrase id="copyright">Copyright © 2010 LeBlanc
Engineering. <emphasis role="bold">All rights
reserved</emphasis>.</phrase></entry>
<entry><varname>copyright</varname></entry>
<entry>My copyright.</entry>
</row>
</tbody>
</tgroup>
</informaltable>
---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<section>
<title>My ``XML Variables''</title>
<informaltable>
<tgroup cols="3">
<thead>
<row>
<entry align="center">Variable</entry>
<entry align="center">Name</entry>
<entry align="center">Definition</entry>
</row>
</thead>
<tbody>
<row>
<entry><phrase id="company">LeBlanc Engineering</phrase></entry>
<entry><varname>company</varname></entry>
<entry>The name of my company.</entry>
</row>
<row>
<entry><phrase id="copyright">Copyright © 2010 LeBlanc Engineering.
<emphasis role="bold">All rights
reserved</emphasis>.</phrase></entry>
<entry><varname>copyright</varname></entry>
<entry>My copyright.</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</section>
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support