I have some chapters a document goes through, so at the end of each
document I want to output "Continue with XYZ", where XYZ is the
next-sibling of the current one I select. However I don't know how to
write the XPath to express this. I tried variants of this with
ASP/MSXML:
sPhase = "foo"
set xNext = xPhasesDoc.documentElement.selectSingleNode(
"following-sibling::phase[@type = '" & sPhase & "']")
Where the XML is like
----------
<?xml ...?>
<content>
<phase type="foo">Foo</phase>
<phase type="bar">Bar</phase>
</content>
----------
How do I do it?
It's relatively easy to do it another way but I would like to know the
XPath variant...