Thank, but I have to explain that this expression must be in a XML attribut
like
<j:set var="myElement" value="${wrapper.select("/path/to/[EMAIL PROTECTED] =
'attribute_name']")}"/>

It's pretty difficult no ?

............................................
Marc DeXeT
............................................



-----Message d'origine-----
De : Dion Gillard [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 15 septembre 2004 01:39
À : Jakarta Commons Users List
Objet : Re: [jelly] escape quote in litteral xpath.


Did you try this:

${wrapper.select("/path/to/[EMAIL PROTECTED] = 'attribute_name']")}


On Tue, 14 Sep 2004 17:06:03 +0200, Marc DEXET <[EMAIL PROTECTED]>
wrote:
> Hello everybody.
> 
> I would create tag that wrap dom4j document.
> Because I want all select to be trap by this object, I would use jexl
> expression like
> ${wrapper.select('/path/to/[EMAIL PROTECTED] = 'attribute_name']')}
> 
> But I dont succeed in escaping quote for : [EMAIL PROTECTED] = 'attribute_name']
> 
> I have tried
> [EMAIL PROTECTED] = ''attribute_name'']
> [EMAIL PROTECTED] = \'attribute_name\']
> [EMAIL PROTECTED] = &apos;attribute_name&apos;]
> 
> There is a solution for this ?
> 
> 
> ............................................
> Marc DeXeT
> Direction des Systèmes d'Informations
> Centre National de la Recherche Scientifique
>                 ~ * ~
> Information System Direction
> National Center for Scientific Research
> http://www.cnrs.fr
> ............................................
> 
> 



-- 
http://www.multitask.com.au/people/dion/

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

Reply via email to