
Hi, I have tried several things for getting an .xsd annotation show a description list with no success: the (XHTML) tags are seemingly just stripped and the whole annotation is formatted as a single block when displayed as a tooltip. Has anybody had success with presenting an xs:annotation in a somewhat structured way in Oxygen 8.2? Thanks, -- David Kastrup

I do something like the following: <xsd:annotation xmlns="http://www.w3.org/1999/xhtml"> <xsd:documentation> <h1>Header text</h1> <p>Description</p> <ul> <li>List item 1</li> <li>List item 2</li> </ul> </xsd:documentation> </xsd:annotation> <oXygen/> renders the list with asterisks for bullets. -----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of David Kastrup Sent: Monday, July 09, 2007 10:29 AM To: oxygen-user@oxygenxml.com Subject: [oXygen-user] Structuring xs:documentation? Hi, I have tried several things for getting an .xsd annotation show a description list with no success: the (XHTML) tags are seemingly just stripped and the whole annotation is formatted as a single block when displayed as a tooltip. Has anybody had success with presenting an xs:annotation in a somewhat structured way in Oxygen 8.2? Thanks, -- David Kastrup _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hello, The tags supported in XML Schema annotations that are rendered in the content completion window as in an HTML document are specified in the User Manual: http://www.oxygenxml.com/doc/ug-standalone/streamline-with-content-completio... "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." Regards, Sorin Jesse Pelton wrote:
I do something like the following:
<xsd:annotation xmlns="http://www.w3.org/1999/xhtml"> <xsd:documentation> <h1>Header text</h1> <p>Description</p> <ul> <li>List item 1</li> <li>List item 2</li> </ul> </xsd:documentation> </xsd:annotation>
<oXygen/> renders the list with asterisks for bullets.
-----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of David Kastrup Sent: Monday, July 09, 2007 10:29 AM To: oxygen-user@oxygenxml.com Subject: [oXygen-user] Structuring xs:documentation?
Hi,
I have tried several things for getting an .xsd annotation show a description list with no success: the (XHTML) tags are seemingly just stripped and the whole annotation is formatted as a single block when displayed as a tooltip.
Has anybody had success with presenting an xs:annotation in a somewhat structured way in Oxygen 8.2?
Thanks,

Since I publish my schemas, I use additional HTML elements to facilitate display of annotations in user agents such as Firefox. While <oXygen> recognizes a limited set of elements, it's enough to be quite useful, and the limitations don't get in my way. -----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of Sorin Ristache Sent: Monday, July 09, 2007 10:57 AM To: oxygen-user@oxygenxml.com Subject: Re: [oXygen-user] Structuring xs:documentation? Hello, The tags supported in XML Schema annotations that are rendered in the content completion window as in an HTML document are specified in the User Manual: http://www.oxygenxml.com/doc/ug-standalone/streamline-with-content-compl etion.html "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." Regards, Sorin Jesse Pelton wrote:
I do something like the following:
<xsd:annotation xmlns="http://www.w3.org/1999/xhtml"> <xsd:documentation> <h1>Header text</h1> <p>Description</p> <ul> <li>List item 1</li> <li>List item 2</li> </ul> </xsd:documentation> </xsd:annotation>
<oXygen/> renders the list with asterisks for bullets.
-----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of David Kastrup Sent: Monday, July 09, 2007 10:29 AM To: oxygen-user@oxygenxml.com Subject: [oXygen-user] Structuring xs:documentation?
Hi,
I have tried several things for getting an .xsd annotation show a description list with no success: the (XHTML) tags are seemingly just stripped and the whole annotation is formatted as a single block when displayed as a tooltip.
Has anybody had success with presenting an xs:annotation in a somewhat structured way in Oxygen 8.2?
Thanks,
oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Sorin Ristache <sorin@oxygenxml.com> writes:
The tags supported in XML Schema annotations that are rendered in the content completion window as in an HTML document are specified in the User Manual:
http://www.oxygenxml.com/doc/ug-standalone/streamline-with-content-completio...
"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."
Ah, I was not able to find that, and I tried desperately to get <dl><dt><dd> to work (description list, description tag, description data). When describing a list of possible values, an ul does not really make sense, does it?
Jesse Pelton wrote:
I do something like the following:
<xsd:annotation xmlns="http://www.w3.org/1999/xhtml"> <xsd:documentation> <h1>Header text</h1> <p>Description</p> <ul> <li>List item 1</li> <li>List item 2</li> </ul> </xsd:documentation> </xsd:annotation> <oXygen/> renders the list with asterisks for bullets.
Well, I tried something like this (among other variations). It is just that I could not get Oxygen to recognize a <dl> element. Pity. Thanks for clearing this up, -- David Kastrup

A future version of oXygen will support also the DL (definition list) and OL (ordered list) elements for rendering XML Schema annotations in the content completion tooltip window. Regards, Sorin David Kastrup wrote:
Well, I tried something like this (among other variations). It is just that I could not get Oxygen to recognize a <dl> element.
Pity.
participants (3)
-
David Kastrup
-
Jesse Pelton
-
Sorin Ristache