SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


XML-XSL Transformations in SQL Server


XML-XSL Transformations in SQL Server

Author
Message
Cem Guler
Cem Guler
Grasshopper
Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)

Group: General Forum Members
Points: 20 Visits: 55
Comments posted to this topic are about the item XML-XSL Transformations in SQL Server
David McKinney
David McKinney
Hall of Fame
Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)

Group: General Forum Members
Points: 3443 Visits: 2092
Thanks Cem, good to know. This 'data quality services' looks like one to watch. But it seems to me you could have achieved the same result as in your example by using a standard dot net xml assembly, rather than the new data services one.

I think it's about time xsl transformations were added to the otherwise comprehensive set of xml features in sql server. There is often reluctance to add CLR assemblies to sql, and yet many of the sql xml features are nothing but wrappers for CLR functions....so why not add just one or two little xsl transformation functions out of the box. After all xsl is often a good method for reworking xml - and not only a method for producing html etc..

Regards,

David McKinney.
ffoerster
ffoerster
SSC Veteran
SSC Veteran (258 reputation)SSC Veteran (258 reputation)SSC Veteran (258 reputation)SSC Veteran (258 reputation)SSC Veteran (258 reputation)SSC Veteran (258 reputation)SSC Veteran (258 reputation)SSC Veteran (258 reputation)

Group: General Forum Members
Points: 258 Visits: 258
Thanks for the article. :-) However, I am using Xsl transformations, Levenshtein, Regex Functions since SQL 2005 came out through my own CLR assembly. I would not migrate to MDS in my case.

For people new to SQL 2008 R2 / MDS this might indeed be valuable to know .. as u said "why re-invent the wheel".

Happy New Year
Frank
Cem Guler
Cem Guler
Grasshopper
Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)

Group: General Forum Members
Points: 20 Visits: 55
This article simply shows an alternative method to achieve xsl transformations without writing too much code. There is always the possibility to write your own CLR assembly or use another library to achieve the same results.

Cheers!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search