• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 359
  • Last Modified:

Generating XML file in SQL Server 2005

I have a SQL table  JOB_REGISTRATION with columns
I want to generate the xml file with the following headers and content in the format specified

<?xml version="1.0" encoding="UTF-8"?><urlset    xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9  http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">          
<loc>replace this space with the content from the sql table column ( COLUMN NAME IS JOB_TITLE)</loc>
How do i generate the list using sql server.
2 Solutions
Jagdish DevakuSr DB ArchitectCommented:

please refer to the following link which might help you...


all the best...
TECH_NETAuthor Commented:
The solutions offered does not meet my requirements. Please close the question
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now