commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dion Gillard <dion.gill...@gmail.com>
Subject Re: [jelly] escape quote in litteral xpath.
Date Tue, 14 Sep 2004 23:38:35 GMT
Did you try this:

${wrapper.select("/path/to/element[@attribut = 'attribute_name']")}


On Tue, 14 Sep 2004 17:06:03 +0200, Marc DEXET <marc.dexet@dsi.cnrs.fr> 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/element[@attribut = 'attribute_name']')}
> 
> But I dont succeed in escaping quote for : [@attribut = 'attribute_name']
> 
> I have tried
> [@attribut = ''attribute_name'']
> [@attribut = \'attribute_name\']
> [@attribut = &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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message