In XMLEditer version 4.4 I can create a DocBook 4.5 document with elements such
as
<ulink
url="http://myhost/myproject/${project.version}/usage.html">usage</ulink>
I have a post-processing phase after converting to HTML that replaces the
${...} element with my project version, or whatever.
When I create a DocBook 5+ document, however, the preferred conversion for
this, according to the DocBook docs at
http://www.sagehill.net/docbookxsl/Db5Tools.html#Db5UnivLinking
is
<link
xlink:href="http://myhost/myproject/${project.version}/usage.html">usage</link>
I have three problems.
1) At least in version 4.4 adding xlink:href attributes to a link element is
not allowed. I can create them externally and open the file and all is well.
2) In version 4.4 the linkend attribute is required, but is not present in the
DocBook5 doc. Again, if I create the element externally and open the file, it
is accepted as valid.
3) This is the biggest problem. The "$" and and curly brace characters are seen
as invalid by the validation mechanism and are flagged as such. There is also
no way to enter the text manually. Escaping the text using %24 for the "$", for
instance, does not work because it is never expanded and my Velocity macro
processor doesn't detect it.
Are there workarounds for any of these problems? Are any of them different in
version 4.5 of XMLEditor?
-K