Maybe 

x="${currentArticle.xpathQuery('te...@id=' + $path{'@id'} + ']/@x')}"
Laszlo will not replace ${} inside strings.

What I would recommend would be to use an intermediary attribute:

idval="$path{'@id'}" x="${currentArticle.xpathQuery('te...@id=idval]')}"

if id is a string (so shoule be quoted), maybe " will do

idval="$path{'@id'}" 
x="${currentArticle.xpathQuery('te...@id="idval"]')}"


Cheers,
Julien
----- Mail Original -----
De: "Torsten Curdt" <[email protected]>
À: [email protected]
Envoyé: Samedi 15 Août 2009 04h05:41 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: Re: [Laszlo-user] single quotes inside attributes

Hm ... I am still failing to quote this correctly

x="${currentArticle.xpathQuery('te...@id='$path{'@id'}']/@x')}"

or is there a different/better way of doing this?

cheers
--
Torsten

Reply via email to