Roberto Nunnari wrote:
Hello again..

I just found out that images reference in relative mode
'images/myimage.gif' vs '{$root}/images/myimage.gif'
is not resolved correctly by lenya if the page referencing
it is not a base node but a subnode:

Home --> ok
Test --> ok
  Test01 --> not ok
  Test02 --> not ok

Using {$root}/images/.. is not a problem when you reference
the image from the xslt file (page2xhtml.xslt), but if
you need to reference a resource from menu.xsl it seams
that you cannot use {$root}..

Any thought?

You can use a recursive template to calculate the relative path
to the images URL.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to