Hi guys,
I have asp.net web application,
where i have to convert xml to html.
for that i was creating xslt file but unfortunately i'm getting one error while writing the xslt code.
i have some thing like this in xml file
<dc:rights>Copyright 2015</dc:rights>
when i'm writing xslt code for this line, i'm getting error prefix not defined!
<xsl:value-of select="dc:language"/>
Full XML
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>demo</title>
<link>http:
<description>demo</description>
<dc:language>ar</dc:language>
<image>
<title>one</title>
<url>http:
<link>http:
</image>
<dc:rights>Copyright 2015</dc:rights>
<item>
<title>test!</title>
<link>http:
<guid>http:
<description><![CDATA[
<img src="h250.jpg" />
<br/>
abc...</description>
<pubDate>Sun, 22 Mar 2015 00:00:00 +0300</pubDate>
</item>
<item>
<title>testtitle>
<link>http:
<guid>http:
<description><![CDATA[
<img src="h250.jpg" />
<br/>
abc</description>
<pubDate>Sun, 22 Mar 2015 00:00:00 +0300</pubDate>
</item>
<item>
<title>onetwo</title>
<link>http:
<guid>http:
<description><![CDATA[
<img src="h250.jpg" />
<br/>
abc..</description>
<pubDate>Sun, 22 Mar 2015 00:00:00 +0300</pubDate>
</item>
</channel>
</rss>
Can any one plz help me, how to solve this.
Thanks