Hello, I have a small problem. I would like to display some XML-style-like text in a webpage (actually it's the content of a RealPix file if anyone knows this) - but it only shows up in the html source. It has tags like <imfl> <image> and so on ... Anyone knows how I get this text displayed in the html page ? TIA, -- Gitte Wange Jensen Sys Admin, Developer and a lot more MMmanager.org Aps, Denmark Phone: +45 29 72 79 72 Email: gitte@mmmanager.org Web: www.mmmanager.org ICQ: 26680028 Quote of the day: Linux renders ships (_Titanic_, the movie) NT renders ships.. Useless (U.S. Navy 'Smartship')
Hi Gitte, try it with a modification of view_source.py from zope.org Regards, Dirk ----- Original Message ----- From: "Gitte Wange" <gitte@mmmanager.org> To: "Zope mailinglist" <zope@zope.org> Sent: Wednesday, January 02, 2002 1:19 PM Subject: [Zope] Displaying XML-like text in webpage
Hello,
I have a small problem. I would like to display some XML-style-like text in a webpage (actually it's the content of a RealPix file if anyone knows this) - but it only shows up in the html source.
It has tags like <imfl> <image> and so on ...
Anyone knows how I get this text displayed in the html page ?
TIA, -- Gitte Wange Jensen
Sys Admin, Developer and a lot more MMmanager.org Aps, Denmark
Phone: +45 29 72 79 72 Email: gitte@mmmanager.org Web: www.mmmanager.org ICQ: 26680028
Quote of the day: Linux renders ships (_Titanic_, the movie) NT renders ships.. Useless (U.S. Navy 'Smartship')
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
I sent this a while back but go no replies. So here it is again hoping someone may be able to help:) I am trying to render the body of a zwiki page inside another page like this: <dtml-let sidebar1="aq_parent.LinksOfTheDay.render_structuredtextdtml(bare=1,AUTHENTIC ATED_USER=AUTHENTICATED_USER,tick=tick,bluestar=bluestar)" etc Note I need to pass through any objects I would like to acquire. (tick and bluestar are images in the parent folder) The context seems to have gone wrong. I even had to pass AUTHENTICATED_USER! Help! Thanks, Andrew _____________________________________________________________________ This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. No communication sent by e-mail to or from Eutechnyx is intended to give rise to contractual or other legal liability, apart from liability which cannot be excluded under English law. This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre. www.eutechnyx.com Eutechnyx Limited. Registered in England No: 2172322
I have a small problem. I would like to display some XML-style-like text in a webpage (actually it's the content of a RealPix file if anyone knows this) - but it only shows up in the html source.
It has tags like <imfl> <image> and so on ...
<pre><dtml-var theXMLsource></pre> is how I do it.
participants (4)
-
Andrew Perella -
Dirk Datzert -
Gitte Wange -
Steve Drees