jhagemeier
Usenet Archive
- Joined
- Jan 2, 2008
- Messages
- 2
- Reaction score
- 0
Hello,
I'm looking for some help with an xquery.
My XML looks like this:
<EmailContentData>
<EMAIL></EMAIL>
<GPP_NBR>1111222233334444</GPP_NBR>
<!-- other elements here -->
</EmailContentData>
I need to create an xquery that will return ALL the nodes within the <EmailContentData> in concatenated string form, with a little bit of formating. Like this:
'&&GPP_NBR=1111222233334444'
The difficulty I'm having is figuring out how to generically concatenate data across multiple nodes without referencing the node names directly. I need the xq to be generic because the <EmailContentData> nodes may vary by document.
Any help would be sincerely appreciated.
Thanks,
Jeff
I'm looking for some help with an xquery.
My XML looks like this:
<EmailContentData>
<EMAIL></EMAIL>
<GPP_NBR>1111222233334444</GPP_NBR>
<!-- other elements here -->
</EmailContentData>
I need to create an xquery that will return ALL the nodes within the <EmailContentData> in concatenated string form, with a little bit of formating. Like this:
'&&GPP_NBR=1111222233334444'
The difficulty I'm having is figuring out how to generically concatenate data across multiple nodes without referencing the node names directly. I need the xq to be generic because the <EmailContentData> nodes may vary by document.
Any help would be sincerely appreciated.
Thanks,
Jeff