Michael_Rudolf at gmx.de wrote:
> while viewing a DocBook file with XXE I noticed that ulink tags without
> content are not displayed correctly. They are rendered as empty elements,
> although - as stated in the DocBook documentation - the value of the url
> attribute should be shown instead. Example:
> 
> <ulink url="http://www.cnn.com/"; />
> 
> results in
> 
> <a href="http://www.cnn.com/";>http://www.cnn.com/</a>
> 
> while XXE doesn't seem to recognize this rule.

When rendering a DocBook document *on screen*, we don't really try to 
implement the processing expectations described in 
http://www.docbook.org/tdg/en/html/docbook.html. However you are right, 
this should be improved.

Currently, there is no elegant way to do this. To really improve the 
rendering of empty ulinks we need a feature "label(xpath,...)" (see 
http://www.xmlmind.com/xmleditor/_distrib/docs/csssupport/ch05s21.html) 
that will be implemented in V2.8.


Reply via email to