我有一个 SQL 查询,它返回下面的 XML
<row>
<urlSegment>electronics</urlSegment>
<shortenedUrlSegment>0x58</shortenedUrlSegment>
</row>
<row>
<urlSegment>phones</urlSegment>
<shortenedUrlSegment>0x5AC0</shortenedUrlSegment>
</row>
<row>
<urlSegment>curvy-simplicity</urlSegment>
<shortenedUrlSegment>65546</shortenedUrlSegment>
</row>
ETC
我想要的输出是一个包含两列(Url 和 ShortenedUrl)的表格,其中数据以 url 方式连接,如下所示。
Url | ShortenedUrl
electronics/phones/curvy-simplicity | 0x58/0x5AC0/65546
ETC
任何人都可以帮忙吗?
最好的问候