I posted a previous blog entry dealing with the static typing consequences of using the parent axis in your XQuery expressions over XML data inside SQL Server 2005 ( Static Typing Consequences of the Parent Axis ). In addition to the general issue of