Shifted the XH vector calculation from the xh_vector() structural API method to the vector() fn.
This calculation can be done independently from the type of the structural data object.
Authored by: bugman 2008-04-20
Parent: [r5837]
Child: [r5839]