Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML Path 1

Status
Not open for further replies.

Cobby1812

IS-IT--Management
Jun 22, 2006
58
GB
Hi there,
I have been trying to create a sql script to allow me to take data out of sql and into another system. I am about 70% there when I hit this.

The XML I need to create should show thus
<Section SectionCode="CL">

However I can only get mine to show as
<SectionSectionCode>CL</SectionSectionCode>

This is the sql

'CL' as [Case/CaseInformation/Section/SectionCode]

I cant think how to get it like this
<Section SectionCode="CL">

Any one any idea's
 
This is the correct path construction.
[tt] 'CL' as [Case/CaseInformation/Section/[blue]@[/blue]SectionCode][/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top