Hi chad,

I dont think what you are trying is currently possible.

IIRC, the xpath or CSS selector must return a node-set of <img>
elements or <a> elements. not a sequence of url strings (which is not
possible in xpath 1.0 anyway)

>
> I tried xpath://img/[translate(@src, "_100", "_500")], but it's not
> working.

this won't work. the predicate you have here is saying, match <img>
elements with "_500" in their source attr. it does not actually
compute a different url string and return it as i suspect you
intended.

i think you wanted something more like this:

xpath://translate(img[contains(@src, "_100")]/@src, "_100", "_500")

but that won't work for Cruz because it would not return a node-set of
<img> or <a> elements.

bottom line, i'm pretty sure any url you are wanting to resolve with
the xpath or css selector must actually exist in the document. i dont
think you can compute the url strings dynamically using xpath. i've
just tested it and that seems true.

td

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"fluidapp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fluidapp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to