<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Alric Aneron wrote:
<blockquote cite="mid20060111050944.81611.qmail@web50205.mail.yahoo.com"
 type="cite">
  <div id="RTEContent">&nbsp;Hello,<br>
I am trying to find how to get the relative path of an object.&nbsp; If i do:<br>
&lt;dtml-in "objectValues('DTML Document')"&gt;<br>
&nbsp;&nbsp; &lt;dtml-var URLPATH0&gt;<br>
&lt;/dtml-in&gt;<br>
  <br>
URLPATH0 does not give me the relative path of the objects interated,
but rather the path of the object doing the iterating (my method). I
want the path of every DTML Document the loop encounters.&nbsp; absolute_url
works, but it puts in the undesired filename and <a class="moz-txt-link-rfc2396E" href="http://....">"http://...."</a> in front
etc. <br>
  <br>
Thanks in advance!<br>
Al<br>
  </div>
  <p> </p>
  <hr size="1"></blockquote>
Alric,<br>
<br>
This is a python example.&nbsp; I dont want to convert to dtml but maybe you
do.<br>
<br>
for o in container.objectValues('DTML Method'):<br>
&nbsp;&nbsp; print o.virtual_url_path()<br>
<br>
return printed<br>
<br>
</body>
</html>