Displaying XML --greggo, Wed, 05 Dec 2007 19:18:18 -0800 reply

Hi, I'm trying to write a zWiki page that explains some xml code. And I need to display the actual xml on the page. I've tried the code and pre tags and other stuff, but it gets interpreted by the browser, so nothing gets displayed on the screen. Is there an easy way around this or will I have to convert all the lessthans and greaterthans to < >. I'm hoping not because it is a bit of a pain, and would really look ugly on the "EditPage?". I have a hardtime getting people with little/no html to contribute as it is.

Displaying XML --greggo, Wed, 05 Dec 2007 20:20:42 -0800 reply

I found something not entirely horrible, just putting it in a textarea tag

Displaying XML --betabug, Thu, 06 Dec 2007 00:19:11 -0800 reply

What page type are you using? Displaying XML is no problem in RST pages:

<img src="/images/betabug.gif" width="367" height="74" border="0" alt="betabug... Sascha Welter">
<p class="Orientation">

Displaying XML --greggo, Thu, 06 Dec 2007 22:02:00 -0800 reply

Normally I use the structuredText, but when I set a wiki page to re-structured text it gives me the error below: Error: could not import reStructuredText

Displaying XML --betabug, Fri, 07 Dec 2007 02:30:28 -0800 reply

That error is really strange, what version of Zwiki and what version of Zope are you using?

Reverted a spam edit from a spammer posing as Frank! --EmmaLaurijssens, Mon, 10 Dec 2007 02:55:26 -0800 reply

Thanks, betabug! For sure this wasn't me, those spammers are getting smarter every day ;)