Forum Discussion
SiKing
12 years agoCommunity Expert
I think you§re getting lost in the namespaces. The following seems to work
<Result>
{
for $z in //*:WeatherDescription
return (<WeatherID>{data($z/*:WeatherID)}</WeatherID>, <Description>{data($z/*:Description)}</Description>)
}
</Result>