learn what is a NETBOOK .. http://en.wikipedia .org/wiki/ Netbook and read a second opinion here too http://gizmodo. com/5042814/ why-i-hate- netbooks |
Wednesday, December 31, 2008
what are netbooks?
Tuesday, December 30, 2008
Sunday, December 28, 2008
Javascript fucntions list (All Built in Functions in one place)
i was in search of this list ever since i started web development
This is a great list, it contains all the built-in functions that are offered by javascript along with syntax and examples.
http://www.tutorialspoint.com/javascript/javascript_builtin_functions.htm
This is a great list, it contains all the built-in functions that are offered by javascript along with syntax and examples.
http://www.tutorialspoint.com/javascript/javascript_builtin_functions.htm
Saturday, December 27, 2008
A beautiful image searching website
This one is beautiful
http://www.taggalaxy.de/
its an image searching website developed by a student as a final year project. it just extract images from flickr and shows them in a unique way....In a SOLAR system !
a must watch and feel site
highly recommended.
http://www.taggalaxy.de/
its an image searching website developed by a student as a final year project. it just extract images from flickr and shows them in a unique way....In a SOLAR system !
a must watch and feel site
highly recommended.
How to read XML from any given link
This task was assigned to me , and i wrote a simple function to accomplish this in C#.Net 2.0
here is the code
private XmlDocument GetXMLDOC(string Path)
{
XmlDocument xdoc = new XmlDocument();
System.Net.WebClient wc = new System.Net.WebClient();
StreamReader sr = null;
string xml = null;
try
{
sr = new StreamReader(wc.OpenRead(Path));
xml = sr.ReadToEnd();
sr.Close();
sr.Dispose();
wc.Dispose();
xdoc.LoadXml(xml);
return xdoc;
}
catch (Exception ex)
{
return null;
}
}
Now you get an XML Document in which XML data is loaded.
To traverse through this XML document we need a XML List and an XML node
string Pagepath = txtLink.Text;
XmlDocument xdoc = GetXMLDOC(Pagepath);
if (xdoc != null)
{
XmlNodeList nodeList = xdoc.GetElementsByTagName("any-XML-tag");
XmlNode Inode = nodeList[0];
}
when we get the XML node , we can get its data by using node.innerText property like this.
string mydata = Inode.InnerText;
thats it... you can use this generic method to fetch all kinds of records from any Xml file if you are given its link...
if you know any other and simpler method for the same purpose..kindly share it..
peace.
here is the code
private XmlDocument GetXMLDOC(string Path)
{
XmlDocument xdoc = new XmlDocument();
System.Net.WebClient wc = new System.Net.WebClient();
StreamReader sr = null;
string xml = null;
try
{
sr = new StreamReader(wc.OpenRead(Path));
xml = sr.ReadToEnd();
sr.Close();
sr.Dispose();
wc.Dispose();
xdoc.LoadXml(xml);
return xdoc;
}
catch (Exception ex)
{
return null;
}
}
Now you get an XML Document in which XML data is loaded.
To traverse through this XML document we need a XML List and an XML node
string Pagepath = txtLink.Text;
XmlDocument xdoc = GetXMLDOC(Pagepath);
if (xdoc != null)
{
XmlNodeList nodeList = xdoc.GetElementsByTagName("any-XML-tag");
XmlNode Inode = nodeList[0];
}
when we get the XML node , we can get its data by using node.innerText property like this.
string mydata = Inode.InnerText;
thats it... you can use this generic method to fetch all kinds of records from any Xml file if you are given its link...
if you know any other and simpler method for the same purpose..kindly share it..
peace.
Subscribe to:
Posts (Atom)
Testing Challenge
Can you find more than 20 defects in the below image? Write your defects in the comments section.

-
Selenium WebDriver with all its advantages has some pain points. One of them is to reuse the existing window of your opened browser so th...
-
This was the very first challenge I encounter when I begin to do scripting in Selenium. Sometimes my scripts failed in between due to any ...
-
There are many instances when you click on a link and it opens a new window or tab. Selenim WebDriver provides a way to switch to that new...