Over the last past hour had thought how you can use Control ASPxCloudControl company Developer Express on my site. Very happy result, when just what the 15 minutes I was able to do so.
As I made? I wish to display on its Web site as a cloud of tags - his approval rating listening my artists. I am a participant in the social network Last.fm. The network brings together people of musical tastes and anything that relates to music. .In short, you create an account on Last.fm, install on your computer thick sleek client and enjoy services that offers you Last.fm.
For example, I have for several months so to come in the network and that is my Last.fm page. There you can see my tapping, compositions, artists, albums and other statistical data.
How can pull data from my account and use them? You can use RSS Feeds from the site. But little pogugliv I found that Last.fm is offering its users the opportunity to receive information in a variety of formats. All that we get on this site. Previously, you can login to it with the same username and password that at the Last.fm. And get direct links to the services provided by information flows in a variety of formats.
We are also interested in XML format. So operate on the following steps :
1) Put down ASPxCloudControl form.
2) Configure it Saxony style and glamour to your taste.
3) Put down XmlDataSource.
4) Bind Control and datasource - DataSourceID = "XmlDataSource1."
5) The data datasource ask tentatively selected our remote XML stream c artists.
6) Set datasource next simple xslt file for the transformation of the original xml file valid for control's Xml.
That's all there is so simply, we have the desired result.
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<Artists>
<xsl:for-each select="//artist">
<artist Text="{name}" Value="{playcount}" NavigateUrl="{url}" />
</xsl:for-each>
</Artists>
</xsl:template>
</xsl:stylesheet>

