SQL - FOR XML EXPLICIT

Soldato
OP
Joined
23 Jul 2009
Posts
8,919
Location
Cayman Islands
I'm using IDs and IDREFs to nest groups of elements.

The group headings appear as follows
<heading ='element heading'/>

I don't want the value of the ID to be shown. Can it be hidden?
 
Soldato
Joined
27 Mar 2003
Posts
2,710
well if you don't want the id included in the output then don't include it.

Without seeing how you are building up the xml table (I know of two ways of doing this)
it's difficult to give you the most appropriate answer so if you can provide a sample code example that will help in providing you with an answer.
 
Associate
Joined
17 Oct 2006
Posts
1,173
Location
Bristol
You could obfuscate it by naming the headings something obscure and unrelated but XML is hardly a cryptographically orientated language. Not sure what you mean, I second davetherave2's comments.
 
Back
Top Bottom