Re: Is it legal to embed xml within an <annotation><documentation>

Do you really want that element there, or just that tag as text.

If you want the text, you need to handle the delimiters, so

    Each component is a <length/>. &lt;length/>. 

or 

    <![CDATA[Each component is a <length/>.]]>

otherwise it will be recognized.  

If you want to do something smart,
like have a stylesheet interpret the <length/> inside <documentation>
differently to generate nice text, that is probably asking for trouble. 
A home made element, like
  Each component is a <html:code>&lt;length</html:code>.  
would probably be easier. (Then run a separate process to
extract these and validate them seperately so that all your
documentation is correct...Yikes.)

Cheers
Rick Jelliffe

Received on Wednesday, 12 June 2002 14:47:18 UTC