P
Philipp Lenssen
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:hase[@type = '" & sPhase & "']")
Where the XML is like
----------
<?xml ...?>
<content>
<phase type="foo">Foo</phase>
<phase type="bar">Bar</phase>
</content>
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:hase[@type = '" & sPhase & "']")
Where the XML is like
----------
<?xml ...?>
<content>
<phase type="foo">Foo</phase>
<phase type="bar">Bar</phase>
</content>