No,
<j:set var="path" value="/path/to/element/[EMAIL PROTECTED] = 'attribute_name']"/>
<j:set var="myElement" value="${wrapper.select(path)}"/>
should work as far as I can tell.
On Wed, 15 Sep 2004 10:14:41 +0200, Marc DEXET <[EMAIL PROTECTED]> wrote:
> 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] = 'attribute_name']
> >
> > 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]
>
>
--
http://www.multitask.com.au/people/dion/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]