<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0' gd:etag='W/&quot;DkQASH46eip7ImA9WhJTGUs.&quot;'><id>tag:blogger.com,1999:blog-1606632957314931737</id><updated>2012-06-29T15:35:49.012+05:30</updated><title>C Sharp It With Libin</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://libinjosechemperi.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1606632957314931737/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://libinjosechemperi.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Libin Jose</name><uri>http://www.blogger.com/profile/03016562244720381378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/-25N3aumFUGA/T-xSjOgkhtI/AAAAAAAAANU/CKxyF3Yq70E/s220/libin%2B%25284%2529.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;C0EMQX0_cSp7ImA9WhJTGUg.&quot;'><id>tag:blogger.com,1999:blog-1606632957314931737.post-6009179174472428145</id><published>2012-06-28T19:02:00.002+05:30</published><updated>2012-06-29T12:04:40.349+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-06-29T12:04:40.349+05:30</app:edited><title>Manipulating XML with C#</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;
&lt;div style="text-align: justify;"&gt;
Here i am going to demonstrate how to parse through XML documents and iterate the node values and names in simple steps.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;strong&gt;&lt;em&gt;Step 1: Add the required name spaces&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
using System.Xml;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
using System.Xml.XPath; &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
System.Xml contains classes related to Xml reading and writing and System.Xml.XPath namespace contains the classes that define a cursor model for navigating and editing XML information items as instances of the XQuery 1.0 and XPath 2.0 Data Model.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;strong&gt;&lt;em&gt;Step2:Create a XMLText Reader and load the XML Document&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
XML Text reader provides a fast , non cashed forward only access to XML data where as XML Document object can be used to load an XML formated file.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;strong&gt;&lt;em&gt;Step 3 :Create an XML Node List and iterate the values.&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Upon running the code you can see that the values got populated to the array list from the xml.&lt;/div&gt;
&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-4Ns3A_EQHpk/T-xYPZazuAI/AAAAAAAAAOI/7kVIAcKnqEQ/s1600/XML.JPG" imageanchor="1" style="clear: left; cssfloat: left; height: 227px; margin-bottom: 1em; margin-left: auto; margin-right: auto; width: 572px;"&gt;&lt;img alt="" border="0" height="452" src="http://1.bp.blogspot.com/-4Ns3A_EQHpk/T-xYPZazuAI/AAAAAAAAAOI/7kVIAcKnqEQ/s640/XML.JPG" title="XML Config File" vca="true" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;XML Config File&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-0LzTmnLaU4o/T-xbjgk-coI/AAAAAAAAAOU/dOdf4SovApQ/s1600/Code.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="152" src="http://1.bp.blogspot.com/-0LzTmnLaU4o/T-xbjgk-coI/AAAAAAAAAOU/dOdf4SovApQ/s640/Code.JPG" vca="true" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Code block&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-8ufpEoJ3jy0/T-xccqLMthI/AAAAAAAAAOc/r-NoUIhsDgA/s1600/Values.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="220" src="http://4.bp.blogspot.com/-8ufpEoJ3jy0/T-xccqLMthI/AAAAAAAAAOc/r-NoUIhsDgA/s640/Values.JPG" vca="true" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Quick watch values&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1606632957314931737-6009179174472428145?l=libinjosechemperi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://libinjosechemperi.blogspot.com/feeds/6009179174472428145/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://libinjosechemperi.blogspot.com/2012/06/manipulating-xml-with-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1606632957314931737/posts/default/6009179174472428145?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1606632957314931737/posts/default/6009179174472428145?v=2'/><link rel='alternate' type='text/html' href='http://libinjosechemperi.blogspot.com/2012/06/manipulating-xml-with-c.html' title='Manipulating XML with C#'/><author><name>Libin Jose</name><uri>http://www.blogger.com/profile/03016562244720381378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/-25N3aumFUGA/T-xSjOgkhtI/AAAAAAAAANU/CKxyF3Yq70E/s220/libin%2B%25284%2529.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-4Ns3A_EQHpk/T-xYPZazuAI/AAAAAAAAAOI/7kVIAcKnqEQ/s72-c/XML.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CUMMRH4_fSp7ImA9WxBVFE8.&quot;'><id>tag:blogger.com,1999:blog-1606632957314931737.post-3467035922330378114</id><published>2010-02-17T21:47:00.000+05:30</published><updated>2010-02-17T21:48:05.045+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-02-17T21:48:05.045+05:30</app:edited><title>USIND ADDONS FOR MONITORING BSNL BB USAGE</title><content type='html'>Datafox – BSNL BB usage monitor Addon for Firefox&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DataFox is a bandwidth usage monitor for BSNL DataOne and  MTNL TriBand. It is a cross platform extension written for Firefox that shows data usage statistics on the Firefox status bar. It’s an absolutely great add-on for BSNL BB user&lt;br /&gt;If you’re using Firefox, click here to install the extension directly&lt;br /&gt;https://addons.mozilla.org/en-US/firefox/addon/5471&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1606632957314931737-3467035922330378114?l=libinjosechemperi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://libinjosechemperi.blogspot.com/feeds/3467035922330378114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://libinjosechemperi.blogspot.com/2010/02/usind-addons-for-monitoring-bsnl-bb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1606632957314931737/posts/default/3467035922330378114?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1606632957314931737/posts/default/3467035922330378114?v=2'/><link rel='alternate' type='text/html' href='http://libinjosechemperi.blogspot.com/2010/02/usind-addons-for-monitoring-bsnl-bb.html' title='USIND ADDONS FOR MONITORING BSNL BB USAGE'/><author><name>Libin Jose</name><uri>http://www.blogger.com/profile/03016562244720381378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/-25N3aumFUGA/T-xSjOgkhtI/AAAAAAAAANU/CKxyF3Yq70E/s220/libin%2B%25284%2529.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CEIBR3c5eyp7ImA9WxBVFE8.&quot;'><id>tag:blogger.com,1999:blog-1606632957314931737.post-2677257473018668771</id><published>2010-02-17T21:32:00.001+05:30</published><updated>2010-02-17T21:32:36.923+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-02-17T21:32:36.923+05:30</app:edited><title>RUNNING LEX AND YACC IN WINDOWS XP</title><content type='html'>&lt;div&gt;&lt;&lt;&lt;&gt;&gt;&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To begin with, you must download the files below first(around 400KB in total). All the files should be in the same directory(flex.exe is standalone but bison.exe is not).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://www.monmouth.com/~wstreett/lex-yacc/flex.exe&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://www.monmouth.com/~wstreett/lex-yacc/bison.exe&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://www.monmouth.com/~wstreett/lex-yacc/bison.hairy &lt;/div&gt;&lt;div&gt;http://www.monmouth.com/~wstreett/lex-yacc/bison.simple&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Another requirement is that you must have a c/c++ compiler(like Turbo C++ ) installed in your system. I believe everyone who has reached compiler level programming will have a c/c++ compiler installed in their system(duh!).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now you can start your work.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Create a lex program and save it(like ‘x.l’ or ‘x.txt’)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. Reach your directory through command prompt.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. Call flex by “flex &lt;filename&gt;” (eg: “flex x.l”)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4. If your lex input file doesnt have any errors, a file name “lex.yy.c” will be generated.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5. I suggest you rename “lex.yy.c” to some other more sensible name like “lex.c”, because double extensions is not a good idea in windows environment. Move the file to the folder of your compiler.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;6 . Call the compiler and input lex.c to it (eg: “tcc lex.c”, where tcc is the Turbo C compiler; use any C/C++ compiler you have). If what you have is a more sophisticated environment like visual studio, you have to do the normal procedure to get a program to compile. If you use Turbo C, an object file “lex.obj’ and the executable “lex.exe” will be generated if there are no compilation problems&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;7. Thats it. Now just run lex.exe. Its your lexical analyser.&lt;/div&gt;&lt;div&gt;For more details Visit https://libinjose.blogspot.com&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1606632957314931737-2677257473018668771?l=libinjosechemperi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://libinjosechemperi.blogspot.com/feeds/2677257473018668771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://libinjosechemperi.blogspot.com/2010/02/running-lex-and-yacc-in-windows-xp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1606632957314931737/posts/default/2677257473018668771?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1606632957314931737/posts/default/2677257473018668771?v=2'/><link rel='alternate' type='text/html' href='http://libinjosechemperi.blogspot.com/2010/02/running-lex-and-yacc-in-windows-xp.html' title='RUNNING LEX AND YACC IN WINDOWS XP'/><author><name>Libin Jose</name><uri>http://www.blogger.com/profile/03016562244720381378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/-25N3aumFUGA/T-xSjOgkhtI/AAAAAAAAANU/CKxyF3Yq70E/s220/libin%2B%25284%2529.jpg'/></author><thr:total>0</thr:total></entry></feed>