Yah, that's just not a legal XPath. You're attempting to select an attribute who's -name- is stored in a variable. That case isn't legal.
-bob On Tue, 12 Nov 2002, Ari Kermaier wrote: > Dear All, > > Is there any reason why an XPath expression like the following shouldn't > work? > > //nspref:*[@$idname="foo"] > > I'm using a DOMXPath with a SimpleVariableContext that maps the "idname" > variable to "Id" in this case. > > Thanks, > Ari Kermaier > > Ari Kermaier [EMAIL PROTECTED] > Senior Software Engineer > Phaos Technology Corp. http://www.phaos.com/ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > To learn the basics of securing your web site with SSL, > click here to get a FREE TRIAL of a Thawte Server Certificate: > http://www.gothawte.com/rd522.html > _______________________________________________ > Jaxen-interest mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jaxen-interest > -- Bob McWhirter [EMAIL PROTECTED] The Werken Company http://werken.com/ ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd522.html _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest