Including xml in a pre tag [message #525781] |
Wed, 07 April 2010 15:00  |
Eclipse User |
|
|
|
Hi,
I see that other help pages include xml in a pre tag like this:
<pre xml:space="preserve">
<ecore:EPackage
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
name="library"
nsURI="http:///library.ecore"
nsPrefix="library">
<eClassifiers
xsi:type="ecore:EClass"
name="Book">
<eStructuralFeatures
xsi:type="ecore:EAttribute"
name="title"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures
xsi:type="ecore:EAttribute"
name="pages"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eClassifiers>
</ecore:EPackage>
</pre>
However when I do this, it does not render visibly. Any ideas?
TIA,
- Ole
|
|
|
|
Powered by
FUDForum. Page generated in 0.07345 seconds