Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xml auto elements
Message
De
18/10/2002 09:27:41
Evans Carl
System Answers Consulting, Inc
Big Lake, Minnesota, États-Unis
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Titre:
Xml auto elements
Divers
Thread ID:
00712833
Message ID:
00712833
Vues:
50
Hi All,

I am wondering if there is a way for SQL to add attributes into the elements of the results that I return. I.E

SELECT transname,
transfer
from transferee TranNode
XML AUTO, ELEMENTS

I want my XML to look like this
<TranNode>
  <transname>MyName</transname>
  <transfer transprocess="true">MyTransfer</transfer>
<TranNode>
I would like someway to add the "transprocess" attribute in SQL and not in the DOM doc. Any help will be very very much appreciated.

Carl
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°¤º°`°º¤ø¤º°¤º°
Carl Evans
CEO & President
System Answers Consulting, Inc.
MCSD .NET, ASP.NET, C#.NET, VB.NET,
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform