Akagi K. wrote:
I have been looking for a variable tag in DocBook, in the spec and
around the forums, and so far not found one.
I recall implementing one system - some years ago - but we found out
that it disabled the referencing of sections - the sections got directly
pasted in; and other issues, and we stopped using the method.
Could you help me with any info around -
1) using variables within a file, for strings and for images.
2) using variables in the selection of a file (section).
I'm sorry but I *really* don't understand what you mean by ``variable''.
It could be:
* The variable tag of DocBook, which is called "varname". See
http://www.docbook.org/tdg5/en/html/varname.html
* The use of ``XML variables'' (that is, reusable XML snippets included
in the document by reference) in XMLmind XML Editor. See
Tutorial: Inserting boilerplate content
http://www.xmlmind.com/xmleditor/_tutorial/insert_boilerplate/index.html
Include tool
http://www.xmlmind.com/xmleditor/_distrib/doc/help/includePane.html
* Conditional processing (AKA profiling). See
DocBook XSL: The Complete Guide
Chapter 26. Profiling (conditional text)
http://www.sagehill.net/docbookxsl/Profiling.html
I'm sorry but this is the best I can do to help as we do not provide our
customers with support for DocBook. See
http://www.xmlmind.com/xmleditor/support.html#xmleditor_support_policy
A different matter:
3) Do you know whether the zero-width space is supported in DocBook 5,
via XMLMIND?
At one time, we were able to enter the following entity declaration
<!ENTITY %nbsp; "​">
XMLmind XML Editor does not support working with named entities, neither
does DocBook 5 (which is not DTD based).
I don't know if the DocBook XSL stylesheets or the XSL-FO processor you
use can make something useful with the zero-width space character. The
simplest is to try.
If you want to insert a zero-width space character using XMLmind XML
Editor, you'll have to use the Character tool for that. Once you have
spotted ​ in the "General Punctuation" palette, you may want to
add this character to the "Favorites" palette. See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/favorites_palette.html
However the real problem with the zero-width space is that you'll not
see it once you have inserted it in your document.
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support