[oXygen-user] Structuring xs:documentation?

Jesse Pelton
Mon Jul 9 10:01:41 CDT 2007


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: 
[mailto:] On Behalf Of Sorin Ristache
Sent: Monday, July 09, 2007 10:57 AM
To: 
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: 
> [mailto:] On Behalf Of David Kastrup
> Sent: Monday, July 09, 2007 10:29 AM
> To: 
> 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

http://www.oxygenxml.com/mailman/listinfo/oxygen-user



More information about the oXygen-user mailing list