Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void main ()
- {
- var doc = new Html.Doc ();
- doc.load_uri ("http://www.youtube.com/results?search_query=otep", Xml.ParseOptions.CheckHtmlUtags);
- var xpath = new Xml.XPath (doc.root_node);
- xpath.eval ("//link[@rel='stylesheet']");
- foreach (var node in xpath.result)
- print ("%s\n *** \n", node.dump (0));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement