> For now, the best we can do, which is elegant, maintenable, easy to use
> and separates content from style, is described here:
> http://www.xmlmind.com/xmleditor/_distrib/doc/user/tutorial_modular_document.html#extensive_copy_as_reference
> (But may be in your case, this is not relevant.)

I found this variable add-on from techwriter.dk:

http://techwriter.dk/tools/xxe/glosstool.html

Easy to use, but it doesn't universally work; for example, I can't create a 
variable
for "publication date" and insert it in the <pubdate> element: I get a 
"Document
reference command is not allowed in this context" error, presumably because 
the
element referenced is a <glossterm>.

(Although I CAN edit the XML in a text editor, insert the required markup, 
and reopen
the file in XMLMind without error; for example)

      <pubdate>
            <xi:include href="../common/variables.xml"
            xmlns:xi="http://www.w3.org/2001/XInclude";
          xpointer="myterms.pubdate" />
      </pubdate>

And even then, the resulting text is a glossterm and so styled differently
(with italics) from the surrounding text. So, really not much good.

It looks like we'll have to go the copy-as-reference route, though I had
negative feedback when I demoed this method here at work.

I guess I'm just very surprised that as yet, there seems to be no easy
way of maintaining variables in DocBook files. It didn't even occur to me
to check was this possible before we moved from Word to DocBook.

Regards,

-pm

http://oceanclub.blogspot.com

"My fellow Americans, I have not been entirely truthful with
you. I did giggittygiggiydoo that girl. I gashmogied her
gaflabity with my googus. And I am sorry."

Reply via email to