hide/replace content of elements

Dear list, i have yet another question concerning the hiding or replacing of elements, but this time regarding the content. working in the author mode it would be helpful to hide certain elements, like <note> or <abbr>. using display:none is not very helpful, though, because then the element gets completely removed, even from the structure-view (which i think should be considered a bug, the structure view should not be affected by the css). using visibility:hidden seems to be a better idea, but then the text is just invisible and the empty elements are producing large gaps in the text. do you see any possibility to hide the text on the one hand, but display a label or something (showing the tags would be perfectly fine). i also experimented with width=1px in the definition of the element in the css, but it doesn't work. thanks in advance, Philipp

Dear Philipp, Sorry for the delay. The outliner indeed does not show nodes which are hidden in the author page. I will file an improvement request to make this an optional feature (an additional button on the outliner's toolbar to control this for example). Indeed Oxygen does not yet obey the "width" property but we already have a plan to obey it. Unfortunately for the moment there is no workaround to give you so that what you want can be achieved. Regards, Radu -- Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Philipp Steinkrüger wrote:
Dear list,
i have yet another question concerning the hiding or replacing of elements, but this time regarding the content. working in the author mode it would be helpful to hide certain elements, like <note> or <abbr>. using display:none is not very helpful, though, because then the element gets completely removed, even from the structure-view (which i think should be considered a bug, the structure view should not be affected by the css). using visibility:hidden seems to be a better idea, but then the text is just invisible and the empty elements are producing large gaps in the text. do you see any possibility to hide the text on the one hand, but display a label or something (showing the tags would be perfectly fine). i also experimented with width=1px in the definition of the element in the css, but it doesn't work.
thanks in advance, Philipp _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
Philipp Steinkrüger
-
Radu Coravu