XPath for objects

XPath for objects

First Post!~
What do you think about using the xpath engine for querying object structures?
To my understanding the 'only' way to actually run xpath/xquery functionality on
xml is to first convert it into an object.  Why not convert it into a standard object
that can be queried generically?
-- Elijah