If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Retruning Stored XML in a XML EXPLICIT statement

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-22-03, 11:34
scottb scottb is offline
Registered User
 
Join Date: Oct 2003
Posts: 60
Retruning Stored XML in a XML EXPLICIT statement

I have data stored in the database in XML format.

The data looks like this...

<entries><entry name = "Scott" /></entries>

When I return it using an xml explicit statement, it is return like this...

&quot;Scott&quot; /&gt;&lt;/entries&gt;"/>

Is there a way to force it to use the normal tags instead of sql changing it?
Reply With Quote
  #2 (permalink)  
Old 10-29-03, 10:38
mkkmg mkkmg is offline
Registered User
 
Join Date: Oct 2003
Location: Dallas
Posts: 76
try this....

SELECT * FROM table for xml auto, elements
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On