配列に返されるノードは、完全なxmlドキュメント内のノードへの参照です。 xmlparentというXMLノードの文書化されていない「属性」もあります。
<cfxml variable="foo">
<employee>
<!-- A list of employees -->
<name EmpType="Regular">
<first>Almanzo</first>
<last>Wilder</last>
<Status>Medical Absence</Status>
<Status>Extended Leave</Status>
</name>
<name EmpType="Contract">
<first>Laura</first>
<last>Ingalls</last>
</name>
</employee>
</cfxml>
<cfdump var="#foo#">
<cfset bar = xmlSearch(foo,"/employee/name/last[normalize-space()='Wilder']")>
<!--- If you know the node name of the sibling, you can just access it --->
<cfdump var="#bar[1].xmlparent['first']#">
<!--- If you don't know the node names, and just want to traverse via preceding and following order, you can do another xpath on the returned nodes --->
<cfdump var="#xmlSearch(bar[1],'./preceding-sibling::*')#">
<cfdump var="#xmlSearch(bar[1],'./following-sibling::*')#">
これは、兄弟が同じノード名であれば機能しますが、兄弟が異なるノード名である場合は、配列に返されません。 –