Is this what you are looking for?
DECLARE @x XML = '
<ShareClasses>
<ShareClass ID="462" Bloomberg="" LocalCurrency="USD" ISIN=""
Name="" PricingFrequency="" Status="true"
Action="U" LaunchDate="" EntryCharge="0" ExitCharge="0"
SwitchCharge="0" OngoingCharge="0" PerformanceFee="0" />
<ShareClass ID="174" Bloomberg="" LocalCurrency="USD" ISIN="LU0290145316"
Name="Class I Units" PricingFrequency=""
Status="true" Action="U" LaunchDate="" EntryCharge="0" ExitCharge="0"
SwitchCharge="0" OngoingCharge="0" PerformanceFee="0">
<NAVs>
<NAV Date="2011-05-10" Value="177.7300" Action="U" />
<NAV Date="2011-05-17" Value="177.6200" Action="U" />
</NAVs>
</ShareClass>
<ShareClass ID="175" Bloomberg="" LocalCurrency="EUR" ISIN="LU0290146397"
Name="Class I Units"
PricingFrequency="" Status="true" Action="U" LaunchDate=""
EntryCharge="0" ExitCharge="0" SwitchCharge="0"
OngoingCharge="0" PerformanceFee="0">
<NAVs>
<NAV Date="2011-05-10" Value="162.3800" Action="U" />
<NAV Date="2011-05-17" Value="162.3100" Action="U" />
</NAVs>
</ShareClass>
</ShareClasses>'
SELECT
x.value('@ID[1]','INT') AS ID,
x.value('@Name[1]','VARCHAR(30)') AS Name,
y.value('@Value[1]', 'MONEY') AS Value,
y.value('@Action[1]', 'CHAR(1)') AS Action
FROM @x.nodes('/ShareClasses/ShareClass') a(x)
CROSS APPLY x.nodes('NAVs/NAV') b(y)
/*
ID Name Value Action
---- -------------- ------- ------
174 Class I Units 177.73 U
174 Class I Units 177.62 U
175 Class I Units 162.38 U
175 Class I Units 162.31 U
*/
commented on Aug 10 2011 7:52AM