
Hi there, I'm looking at <http://www.oxygenxml.com/doc/ug-editor/topics/content-completion-schema-annotations.html> and I'm wondering, what HTML tags are supported in annotations in Relax NG. This:
The following HTML tags are recognized inside the text content of an XML Schema annotation: p, br, ul, li. They are rendered as in an HTML document loaded in a web browser: p begins a new paragraph, br breaks the current line, ul encloses a list of items, li encloses an item of the list.
makes it sound as this is only supported for XML Schema, but at least <br> seems to work for Relax as well. Is anything else supported? (Looking for the ability to include a link, thus <a> in particular...) Best regards, Julian

Hi Julian, Only the elements specified there are supported because the annotations are presented as plain text. I know we put some work into supporting HTML annotations but I need to check with my colleagues to see were we are with that. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 8/28/14, 7:47 PM, Julian Reschke wrote:
Hi there,
I'm looking at <http://www.oxygenxml.com/doc/ug-editor/topics/content-completion-schema-annotations.html> and I'm wondering, what HTML tags are supported in annotations in Relax NG.
This:
The following HTML tags are recognized inside the text content of an XML Schema annotation: p, br, ul, li. They are rendered as in an HTML document loaded in a web browser: p begins a new paragraph, br breaks the current line, ul encloses a list of items, li encloses an item of the list.
makes it sound as this is only supported for XML Schema, but at least <br> seems to work for Relax as well. Is anything else supported?
(Looking for the ability to include a link, thus <a> in particular...)
Best regards, Julian _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hi Julian, As my colleague George said, in the current oXygen version the annotations are displayed only as plain text. The following HTML tags are recognized when processing annotations from a RelaxNG schema (similarly with the ones that come from an XML Schema): * p, br, ul, dl, ol - breaks the current line * li, dt, dd - encloses an item of a list. However, in the next oXygen version we intend to improve the design of the documentation window by supporting HTML rendering. This improvement will be available when editing and XML document with an XML Schema or RelaxNG schema associated which has annotations written in the HTML format. In this way you will be able to add links in your documentation. Regards, Radu -- Radu Pisoi <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 8/28/2014 19:47, Julian Reschke wrote:
Hi there,
I'm looking at <http://www.oxygenxml.com/doc/ug-editor/topics/content-completion-schema-annotations.html> and I'm wondering, what HTML tags are supported in annotations in Relax NG.
This:
The following HTML tags are recognized inside the text content of an XML Schema annotation: p, br, ul, li. They are rendered as in an HTML document loaded in a web browser: p begins a new paragraph, br breaks the current line, ul encloses a list of items, li encloses an item of the list.
makes it sound as this is only supported for XML Schema, but at least <br> seems to work for Relax as well. Is anything else supported?
(Looking for the ability to include a link, thus <a> in particular...)
Best regards, Julian _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (3)
-
George Cristian Bina
-
Julian Reschke
-
Oxygen XML Editor Support (Radu Pisoi)