How to format XSD documentation?

Qkjsozkcpsxll

New Member
The Problem:I have a xsd schema with included documentation, like:\[code\]<xs:element name="Tag" type="XTag"> <xs:annotation> <xs:documentation> Do like this: - foo - bar </xs:documentation> </xs:annotation></xs:element>\[/code\]When I view the documentation in Eclipse, the white-spaces are truncated to a single space, so I end up with:\[code\]Do like this: - foo - bar\[/code\]This naturally limits readability when documentation is more than a little note. In javadoc for instance, one can one html tags to format the documentationThe question:Is there any way to format the documentation, at least just adding newlines? Some details:I'm doing everything in Eclipse. The XSD i write is added to \[code\]preferences -> XML -> XML catalog\[/code\], so I can get content assist and view documentation in the XML editor.It's an internal tool and the only foreseeable place the documentation will be viewed is through Eclipse in the way described above. So if it works in eclipse, it's good enough :)
 
Back
Top