Is there any way of requiring the value of an element's attribute to equal the value of a child element of the previous element. What I mean is hopefully explained by the following snippet from an XML file.
Code:
<venue city="London">
<nextvenue>Sydney</nextvenue>
</venue>
<venue city="Sydney">
<nextvenue>Rome</nextvenue>
</venue>
...