REGISTER
|
Search Tycoon Talk
|
Freelancer.com
|
Members
Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.
Register Here
Forum Rules
The Database Forum
You are currently viewing our The Database Forum as a guest. Please
register
to participate.
Login
Remember Me?
Login via Freelancer.com
Tycoon Talk
>
Web Administration Support
>
The Database Forum
>
Generate XML from mssql2005
Link Back
Thread Tools
Search this Thread
Generate XML from mssql2005
01-09-2008, 09:15 AM
#
1
(
permalink
)
Generate XML from mssql2005
MacW
Junior Talker
Posts: 2
Name: Marcus
Trades:
0
Talkupation:
I want to create a procedure that generates the following format for a XML response.
<row>
<field name="nr">99</field>
<field name="namn">test bolag</field>
</row>
<row>
<field name="nr">98</field>
<field name="namn">test bolag 2</field>
</row>
Register
now for full access!
01-09-2008, 03:25 PM
#
2
(
permalink
)
Re: Generate XML from mssql2005
Learning Newbie
Defies a Status
Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades:
0
Talkupation:
Well if you don't want to do SELECT FOR XML and use XSLT, you could do
SELECT '<row>' + chr(13) + '<field name='nr'>' + nr + '</field>' and so on.
__________________
Please login or register to view this content.
Registration is FREE
Please login or register to view this content.
Registration is FREE
01-11-2008, 11:23 AM
#
3
(
permalink
)
Re: Generate XML from mssql2005
MacW
Junior Talker
Posts: 2
Name: Marcus
Trades:
0
Talkupation:
And if I want to use FOR XML, is there a way to alter the tags?
« Reply to
Generate XML from mssql2005
Previous Thread
|
Next Thread
Tycoon Talk
>
Web Administration Support
>
The Database Forum
>
Generate XML from mssql2005
Thread Tools
Search this Thread
Show Printable Version
Email this Page
Search this Thread
:
Advanced Search
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
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
Off
Forum Rules
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Tweet this thread
Page generated in
0.33791
seconds with
12
queries