Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Hi Adepters,
We're trying to pull an image onto a back cover using 'Elements via Xpath.'
The expression looks like this: //image[outputclass="home"]. (The element image has attribute href whose value is a path to the graphic.)
The outcome is two graphics (the same graphic twice). I think that the image is pulling and then it's href is resolving a second time for the duplication.
Anyone know how we might kill this dup?
We've looked at adding the image by Insert>Element Content, but we need the attribute specificity. The image is not positional (i.e., 1st, 2nd, Last, etc.)
Thanks for your time,
Anne
Yep - that did it with a single quote. I thought I had tested for a duplicate instance - guess I goofed the xpath 🙂
(//image[@outputclass='home'])[1]
Thanks so much for your prompt attention.
Have a great day!