I have a nested structure 'categories' that I use for a two-tier dropdown menu of rings. The rings are located in the second level of the categories structures. There is a single association linking each ring back to it's category.
I can access the 'title' text structure of the category of a ring by doing <v=category/title>
but how do I access the 'title' text structure of the parent category?
<v=../category/title>
doesn't work.
<v=category/../title>
doesn't work.
Hey Michael - What is the site? You can send a note to [email protected] if you'd prefer to not disclose that info.
Ah, here's the problem. Although you can traverse back up, the problem is that XPath will automatically optimize out anything it sees that looks like "child/..". It doesn't realize that the ".." is magic.
You can do something like this:<v:section path="category"><v=../title></v:section>
Let me know if that works for you.
It looks like you're new here. If you want to get involved, click one of these buttons!