Hi, This is how I was able to point the variable to the form - <a href=" www.mydomain.com/somepath/index?read=<dtml-var required_document>" target="_blank"> <dtml-var required_document><dtml-var required_document> hth Larry -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jan Maška Sent: Thursday, March 06, 2003 7:54 AM To: Zope mailing list Subject: [Zope] Calling DTML document from a string/query Hi all, Though it may seem as a stupid question, it's rather important (at least for me).. How to create a DTML document pointer (<dtml-var required_document>) from a string? Let's see this example: www.mydomain.com/somepath/index?read=20030220 What I need is that the index at somepath opens another document called '20030220' and prints it's contents, like in this case: ==index== <dtml-var standard_html_header> <dtml-var "20030220"> <dtml-var standard_html_footer> ===end=== only I want to be able to define this dynamically based on the user queries. If you can give any hints, it would really be helpful. -Mac =============================== Jan Maska, web developer Systinet, Prague(CZ) jan.maska@systinet.com tel.:(+420)608453492 visit http://www.systinet.com =============================== _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )