I have a flat table that I'm trying to turn into an xml output .
I need the address part to appear in a separate node.
Select ID,AddressLine1,PostCode,Price,Name from Property
I need this to appear like
<Property>
<ID> 1 <ID>
<Address>
<Line1>10 Downing Street</Line1>
<PostCode>SW11SW</Postcode>
</Address>
<Price> 1,000,000,000 <Price>
<Name> My Next House<Name>
</Property>
any ideas how I achieve the address part?
Thanks Sp