Wednesday, February 10, 2010

xml tree example

XML Tree
« Previous Next Chapter »

XML documents form a tree structure that starts at "the root" and branches to "the leaves".
An Example XML Document

XML documents use a self-describing and simple syntax:


Tove
Jani
Reminder
Don't forget me this weekend!


The first line is the XML declaration. It defines the XML version (1.0) and the encoding used (ISO-8859-1 = Latin-1/West European character set).

The next line describes the root element of the document (like saying: "this document is a note"):


The next 4 lines describe 4 child elements of the root (to, from, heading, and body):
Tove
Jani
Reminder
Don't forget me this weekend!

And finally the last line defines the end of the root element:


You can assume, from this example, that the XML document contains a note to Tove from Jani.

Don't you agree that XML is pretty self-descriptive?
XML Documents Form a Tree Structure

XML documents must contain a root element. This element is "the parent" of all other elements.

The elements in an XML document form a document tree. The tree starts at the root and branches to the lowest level of the tree.

All elements can have sub elements (child elements):


.....



The terms parent, child, and sibling are used to describe the relationships between elements. Parent elements have children. Children on the same level are called siblings (brothers or sisters).

All elements can have text content and attributes (just like in HTML).
Example:
DOM node tree

The image above represents one book in the XML below:


Everyday Italian
Giada De Laurentiis
2005
30.00


Harry Potter
J K. Rowling
2005
29.99


Learning XML
Erik T. Ray
2003
39.95



The root element in the example is . All elements in the document are contained within .

The element has 4 children: ,< author>, <year>, <price>. <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'> <span class='post-author vcard'> Posted by <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'> <meta content='https://www.blogger.com/profile/10032995026597187555' itemprop='url'/> <a class='g-profile' href='https://www.blogger.com/profile/10032995026597187555' rel='author' title='author profile'> <span itemprop='name'>Manoj Sharma Technology is a Boom----</span> </a> </span> </span> <span class='post-timestamp'> at <meta content='http://manojpoojasharma.blogspot.com/2010/02/xml-tree-example.html' itemprop='url'/> <a class='timestamp-link' href='http://manojpoojasharma.blogspot.com/2010/02/xml-tree-example.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2010-02-10T19:57:00-08:00'>7:57 PM</abbr></a> </span> <span class='post-comment-link'> </span> <span class='post-icons'> <span class='item-action'> <a href='https://www.blogger.com/email-post.g?blogID=8769773808837040573&postID=1531453331309753968' title='Email Post'> <img alt='' class='icon-action' height='13' src='https://resources.blogblog.com/img/icon18_email.gif' width='18'/> </a> </span> <span class='item-control blog-admin pid-328658345'> <a href='https://www.blogger.com/post-edit.g?blogID=8769773808837040573&postID=1531453331309753968&from=pencil' title='Edit Post'> <img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/> </a> </span> </span> <div class='post-share-buttons goog-inline-block'> </div> </div> <div class='post-footer-line post-footer-line-2'> <span class='post-labels'> </span> </div> <div class='post-footer-line post-footer-line-3'> <span class='post-location'> </span> </div> </div> </div> <div class='comments' id='comments'> <a name='comments'></a> <h4>No comments:</h4> <div id='Blog1_comments-block-wrapper'> <dl class='avatar-comment-indent' id='comments-block'> </dl> </div> <p class='comment-footer'> <div class='comment-form'> <a name='comment-form'></a> <h4 id='comment-post-message'>Post a Comment</h4> <p> </p> <a href='https://www.blogger.com/comment/frame/8769773808837040573?po=1531453331309753968&hl=en-US' id='comment-editor-src'></a> <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410px' id='comment-editor' name='comment-editor' src='' width='100%'></iframe> <script src='https://www.blogger.com/static/v1/jsbin/4269703388-comment_from_post_iframe.js' type='text/javascript'></script> <script type='text/javascript'> BLOG_CMT_createIframe('https://www.blogger.com/rpc_relay.html'); </script> </div> </p> </div> </div> </div></div> </div> <div class='blog-pager' id='blog-pager'> <span id='blog-pager-newer-link'> <a class='blog-pager-newer-link' href='http://manojpoojasharma.blogspot.com/2010/02/displaying-xml-with-xslt.html' id='Blog1_blog-pager-newer-link' title='Newer Post'>Newer Post</a> </span> <span id='blog-pager-older-link'> <a class='blog-pager-older-link' href='http://manojpoojasharma.blogspot.com/2010/02/javascript-regular-expression-object.html' id='Blog1_blog-pager-older-link' title='Older Post'>Older Post</a> </span> <a class='home-link' href='http://manojpoojasharma.blogspot.com/'>Home</a> </div> <div class='clear'></div> <div class='post-feeds'> <div class='feed-links'> Subscribe to: <a class='feed-link' href='http://manojpoojasharma.blogspot.com/feeds/1531453331309753968/comments/default' target='_blank' type='application/atom+xml'>Post Comments (Atom)</a> </div> </div> </div><div class='widget Followers' data-version='1' id='Followers1'> <h2 class='title'>Followers</h2> <div class='widget-content'> <div id='Followers1-wrapper'> <div style='margin-right:2px;'> <div><script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <div id="followers-iframe-container"></div> <script type="text/javascript"> window.followersIframe = null; function followersIframeOpen(url) { gapi.load("gapi.iframes", function() { if (gapi.iframes && gapi.iframes.getContext) { window.followersIframe = gapi.iframes.getContext().openChild({ url: url, where: document.getElementById("followers-iframe-container"), messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { '_ready': function(obj) { window.followersIframe.getIframeEl().height = obj.height; }, 'reset': function() { window.followersIframe.close(); followersIframeOpen("https://www.blogger.com/followers.g?blogID\x3d8769773808837040573\x26colors\x3dCgt0cmFuc3BhcmVudBILdHJhbnNwYXJlbnQaByM2NjY2NjYiByM1NTg4YWEqByNmZmZmZmYyByNjYzY2MDA6ByM2NjY2NjZCByM1NTg4YWFKByM5OTk5OTlSByM1NTg4YWFaC3RyYW5zcGFyZW50\x26pageSize\x3d21\x26postID\x3d1531453331309753968\x26origin\x3dhttp://manojpoojasharma.blogspot.com/"); }, 'open': function(url) { window.followersIframe.close(); followersIframeOpen(url); }, 'blogger-ping': function() { } } }); } }); } followersIframeOpen("https://www.blogger.com/followers.g?blogID\x3d8769773808837040573\x26colors\x3dCgt0cmFuc3BhcmVudBILdHJhbnNwYXJlbnQaByM2NjY2NjYiByM1NTg4YWEqByNmZmZmZmYyByNjYzY2MDA6ByM2NjY2NjZCByM1NTg4YWFKByM5OTk5OTlSByM1NTg4YWFaC3RyYW5zcGFyZW50\x26pageSize\x3d21\x26postID\x3d1531453331309753968\x26origin\x3dhttp://manojpoojasharma.blogspot.com/"); </script></div> </div> </div> <div class='clear'></div> </div> </div></div> </div> <div id='sidebar-wrapper'> <div class='sidebar section' id='sidebar'><div class='widget Feed' data-version='1' id='Feed1'> <h2>Latest News</h2> <div class='widget-content' id='Feed1_feedItemListDisplay'> <span style='filter: alpha(25); opacity: 0.25;'> <a href='http://indiatoday.intoday.in/site/rssGenerator.jsp?secId=4&feed=LATEST%20NEWS'>Loading...</a> </span> </div> <div class='clear'></div> </div><div class='widget Subscribe' data-version='1' id='Subscribe1'> <div style='white-space:nowrap'> <h2 class='title'>Subscribe To my Blog</h2> <div class='widget-content'> <div class='subscribe-wrapper subscribe-type-POST'> <div class='subscribe expanded subscribe-type-POST' id='SW_READER_LIST_Subscribe1POST' style='display:none;'> <div class='top'> <span class='inner' onclick='return(_SW_toggleReaderList(event, "Subscribe1POST"));'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Posts </span> <div class='feed-reader-links'> <a class='feed-reader-link' href='https://www.netvibes.com/subscribe.php?url=http%3A%2F%2Fmanojpoojasharma.blogspot.com%2Ffeeds%2Fposts%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-netvibes.png'/> </a> <a class='feed-reader-link' href='https://add.my.yahoo.com/content?url=http%3A%2F%2Fmanojpoojasharma.blogspot.com%2Ffeeds%2Fposts%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-yahoo.png'/> </a> <a class='feed-reader-link' href='http://manojpoojasharma.blogspot.com/feeds/posts/default' target='_blank'> <img align='absmiddle' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Atom </a> </div> </div> <div class='bottom'></div> </div> <div class='subscribe' id='SW_READER_LIST_CLOSED_Subscribe1POST' onclick='return(_SW_toggleReaderList(event, "Subscribe1POST"));'> <div class='top'> <span class='inner'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <span onclick='return(_SW_toggleReaderList(event, "Subscribe1POST"));'> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Posts </span> </span> </div> <div class='bottom'></div> </div> </div> <div class='subscribe-wrapper subscribe-type-PER_POST'> <div class='subscribe expanded subscribe-type-PER_POST' id='SW_READER_LIST_Subscribe1PER_POST' style='display:none;'> <div class='top'> <span class='inner' onclick='return(_SW_toggleReaderList(event, "Subscribe1PER_POST"));'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Comments </span> <div class='feed-reader-links'> <a class='feed-reader-link' href='https://www.netvibes.com/subscribe.php?url=http%3A%2F%2Fmanojpoojasharma.blogspot.com%2Ffeeds%2F1531453331309753968%2Fcomments%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-netvibes.png'/> </a> <a class='feed-reader-link' href='https://add.my.yahoo.com/content?url=http%3A%2F%2Fmanojpoojasharma.blogspot.com%2Ffeeds%2F1531453331309753968%2Fcomments%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-yahoo.png'/> </a> <a class='feed-reader-link' href='http://manojpoojasharma.blogspot.com/feeds/1531453331309753968/comments/default' target='_blank'> <img align='absmiddle' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Atom </a> </div> </div> <div class='bottom'></div> </div> <div class='subscribe' id='SW_READER_LIST_CLOSED_Subscribe1PER_POST' onclick='return(_SW_toggleReaderList(event, "Subscribe1PER_POST"));'> <div class='top'> <span class='inner'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <span onclick='return(_SW_toggleReaderList(event, "Subscribe1PER_POST"));'> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Comments </span> </span> </div> <div class='bottom'></div> </div> </div> <div style='clear:both'></div> </div> </div> <div class='clear'></div> </div><div class='widget HTML' data-version='1' id='HTML2'> <h2 class='title'>Visitor Map</h2> <div class='widget-content'> <a id="clustrMapsLink" href="http://www3.clustrmaps.com/counter/maps.php?url=http://manojpoojasharma.blogspot.com"><img id="clustrMapsImg" style="border:0px;" alt="Locations of visitors to this page" src="http://www3.clustrmaps.com/counter/index2.php?url=http://manojpoojasharma.blogspot.com" onerror="this.onerror=null; this.src='http://www2.clustrmaps.com/images/clustrmaps-back-soon.jpg'; document.getElementById('clustrMapsLink').href='http://www2.clustrmaps.com';" title="Locations of visitors to this page" /> </a> </div> <div class='clear'></div> </div><div class='widget Image' data-version='1' id='Image1'> <h2>Manoj Sharma</h2> <div class='widget-content'> <img alt='Manoj Sharma' height='230' id='Image1_img' src='http://1.bp.blogspot.com/_5e0hpfk5tgU/SynVrgTfpHI/AAAAAAAAAA0/zdXN_nY0Yug/S230/IMG0053A.jpg' width='173'/> <br/> </div> <div class='clear'></div> </div><div class='widget HTML' data-version='1' id='HTML1'> <h2 class='title'>My Visits</h2> <div class='widget-content'> <a href="http://xyz.freelogs.com/stats/m/manojsharma123/" target="_top"><img border="0" vspace="2" hspace="4" alt="myspace web counter" src="http://xyz.freelogs.com/counter/index.php?u=manojsharma123&s=bbldotg" align="middle"/></a><script src="http://xyz.freelogs.com/counter/script.php?u=manojsharma123"></script> <br/><a style="font-size:12" href="http://www.freelogs.com/" target="_top">web counter code</a> </div> <div class='clear'></div> </div><div class='widget Profile' data-version='1' id='Profile1'> <h2>About Me</h2> <div class='widget-content'> <dl class='profile-datablock'> <dt class='profile-data'> <a class='profile-name-link g-profile' href='https://www.blogger.com/profile/10032995026597187555' rel='author' style='background-image: url(//www.blogger.com/img/logo-16.png);'> Manoj Sharma Technology is a Boom---- </a> </dt> <dd class='profile-textblock'>Hi I am a Software Developer in .net Technologies.I love coding and implementing new concepts.</dd> </dl> <a class='profile-link' href='https://www.blogger.com/profile/10032995026597187555' rel='author'>View my complete profile</a> <div class='clear'></div> </div> </div><div class='widget Feed' data-version='1' id='Feed2'> <h2>Cricinfo Live Scores</h2> <div class='widget-content' id='Feed2_feedItemListDisplay'> <span style='filter: alpha(25); opacity: 0.25;'> <a href='http://static.cricinfo.com/rss/livescores.xml'>Loading...</a> </span> </div> <div class='clear'></div> </div><div class='widget BlogArchive' data-version='1' id='BlogArchive1'> <h2>Blog Archive</h2> <div class='widget-content'> <div id='ArchiveList'> <div id='BlogArchive1_ArchiveList'> <ul class='hierarchy'> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='http://manojpoojasharma.blogspot.com/2010/'> 2010 </a> <span class='post-count' dir='ltr'>(22)</span> <ul class='hierarchy'> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='http://manojpoojasharma.blogspot.com/2010/02/'> February </a> <span class='post-count' dir='ltr'>(21)</span> <ul class='posts'> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/cursors-in-sql-server-basics.html'>Cursors in Sql server-Basics</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/export-gridview-data-to-excel-sheet.html'>Export Gridview data to an Excel sheet</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/reading-xml-file-basics.html'>Reading a xml file-Basics</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/paging-in-datalist-or-repeater-control.html'>Paging in a DataList or Repeater control</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/binding-data-with-treeview-control.html'>Binding Data With ‘TreeView’ Control</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/displaying-xml-with-xslt.html'>displaying xml with xslt</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/xml-tree-example.html'>xml tree example</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/javascript-regular-expression-object.html'>Javascript Regular Expression object</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/javascript-to-create-clock.html'>javascript to create clock.</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/sql-table-relations-primary-and-foreign.html'>SQL Table Relations, Primary and Foreign Keys, and...</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/using-stringbuilder-in-net.html'>Using StringBuilder in .NET</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/introducing-linq-languageintegrated.html'>Introducing LINQ: Language‐Integrated Query</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/how-to-bind-gridview-control-to-xml-in.html'>How to Bind a GridView Control to XML in ASP.NET</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/autocomplete-textbox.html'>AutoComplete TextBox</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/sending-and-playing-microphone-audio.html'>Sending and playing microphone audio over network</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/loading-image-files-from-database-using.html'>Loading image files from a database, using ADO</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/sql-bulk-copy-with-c-net.html'>Sql bulk copy with c# .net</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/google-earth-network-link.html'>Google Earth network link</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/integrate-webcam-with-net-application.html'>Integrate webcam with a .net application</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/secure-net-application.html'>Secure a .Net Application</a></li> <li><a href='http://manojpoojasharma.blogspot.com/2010/02/com-and-net-framework-building-complete.html'>COM+ and the .NET Framework Building a complete CO...</a></li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://manojpoojasharma.blogspot.com/2010/01/'> January </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://manojpoojasharma.blogspot.com/2009/'> 2009 </a> <span class='post-count' dir='ltr'>(4)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://manojpoojasharma.blogspot.com/2009/12/'> December </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://manojpoojasharma.blogspot.com/2009/11/'> November </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> </li> </ul> </div> </div> <div class='clear'></div> </div> </div><div class='widget BlogList' data-version='1' id='BlogList1'> <h2 class='title'>My Blog List</h2> <div class='widget-content'> <div class='blog-list-container' id='BlogList1_container'> <ul id='BlogList1_blogs'> <li style='display: block;'> <div class='blog-icon'> <img data-lateloadsrc='https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_v0q8NiL2RntNpnf6YT3TzsJiUKiRaILyoLDJMsyTi6xXjfG9htlkpcrVGMY6zwOUolzfILXq8xQlT9BBJL3ccg7YQ1vNsoJenkaYPJWbh1828=s16-w16-h16' height='16' width='16'/> </div> <div class='blog-content'> <div class='blog-title'> <a href='http://bharatkushwaha.blogspot.com/' target='_blank'> Kushwaha Rocks</a> </div> <div class='item-content'> <span class='item-title'> <a href='http://bharatkushwaha.blogspot.com/2015/03/blog-post_23.html' target='_blank'> प्रश्नोत्तरी ( मानव और राष्ट्र इतिहास विषय ) </a> </span> <div class='item-time'> 9 years ago </div> </div> </div> <div style='clear: both;'></div> </li> <li style='display: block;'> <div class='blog-icon'> <img data-lateloadsrc='https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_uzW8AZiLZxtt2Bgr4WtWQ4unn3pQXqsUb5n34gZfB_uAKgiaDcCaWwsNUBatlX8eMziSRljN7gWq8E6fw5d_bsZUPjB-bga62xyGusFA=s16-w16-h16' height='16' width='16'/> </div> <div class='blog-content'> <div class='blog-title'> <a href='http://mastpiyush.blogspot.com/' target='_blank'> Software Engineer</a> </div> <div class='item-content'> <span class='item-title'> <a href='http://mastpiyush.blogspot.com/2014/12/convert-html-to-plain-text.html' target='_blank'> Convert HTML to Plain Text </a> </span> <div class='item-time'> 9 years ago </div> </div> </div> <div style='clear: both;'></div> </li> <li style='display: block;'> <div class='blog-icon'> <img data-lateloadsrc='https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_sRGr6-6SAAfZMpfaajN2t60wXrPBzxUWfLHepGCRI8UVehXnkeZurs50W4b-6H_FoabvWTI6OaLrAmNHNG7HLfc9mBJ5Jq91WCCg=s16-w16-h16' height='16' width='16'/> </div> <div class='blog-content'> <div class='blog-title'> <a href='http://www.indiatechjob.com/' target='_blank'> IT & Engineering Jobs in India</a> </div> <div class='item-content'> <span class='item-title'> <a href='http://www.indiatechjob.com/2014/10/infosys-is-hiring-freshers-for-role-of.html' target='_blank'> Infosys is hiring freshers for the role of Systems Engineer : Last Date 13th Oct 2014 </a> </span> <div class='item-time'> 9 years ago </div> </div> </div> <div style='clear: both;'></div> </li> <li style='display: block;'> <div class='blog-icon'> <img data-lateloadsrc='https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_soS_JWqFuOuItd7Kxk2tbmVS2-_wqtY5YfBTMc3iyTja-TJuqJeVhN6hXQuQeapQF5cAU5QlAd3bFPwm5maWyrRfMI4UCDdPXlNdde50FCCtf1O2Dh7FCdGw=s16-w16-h16' height='16' width='16'/> </div> <div class='blog-content'> <div class='blog-title'> <a href='http://dotnetdevelopersheaven.blogspot.com/' target='_blank'> DotNet Developers Heaven</a> </div> <div class='item-content'> <span class='item-title'> <a href='http://dotnetdevelopersheaven.blogspot.com/2014/06/password-encryption-code.html' target='_blank'> Password Encryption Code </a> </span> <div class='item-time'> 9 years ago </div> </div> </div> <div style='clear: both;'></div> </li> </ul> <div class='clear'></div> </div> </div> </div><div class='widget Feed' data-version='1' id='Feed3'> <h2>Photos</h2> <div class='widget-content' id='Feed3_feedItemListDisplay'> <span style='filter: alpha(25); opacity: 0.25;'> <a href='http://indiatoday.intoday.in/site/rssPhoto.jsp?secId=5&feed=Photos'>Loading...</a> </span> </div> <div class='clear'></div> </div><div class='widget Poll' data-version='1' id='Poll1'> <h2 class='title'>Males are more good at work than females </h2> <div class='widget-content'> <iframe allowtransparency='true' frameborder='0' height='140' name='poll-widget-6943760567809095626' style='border:none; width:100%;'></iframe> <div class='clear'></div> </div> </div></div> </div> <!-- spacer for skins that want sidebar and main to be the same height--> <div class='clear'> </div> </div> <!-- end content-wrapper --> <div id='footer-wrapper'> <div class='footer no-items section' id='footer'></div> </div> </div></div> <!-- end outer-wrapper --> <script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/1807328581-widgets.js"></script> <script type='text/javascript'> window['__wavt'] = 'AOuZoY6Yzj4qyHl_XE368rjB5IGonnc7vA:1714369286789';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d8769773808837040573','//manojpoojasharma.blogspot.com/2010/02/xml-tree-example.html','8769773808837040573'); _WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '8769773808837040573', 'title': '.Net C# SqlServer Javascript Ajax! Thats something abt me!', 'url': 'http://manojpoojasharma.blogspot.com/2010/02/xml-tree-example.html', 'canonicalUrl': 'http://manojpoojasharma.blogspot.com/2010/02/xml-tree-example.html', 'homepageUrl': 'http://manojpoojasharma.blogspot.com/', 'searchUrl': 'http://manojpoojasharma.blogspot.com/search', 'canonicalHomepageUrl': 'http://manojpoojasharma.blogspot.com/', 'blogspotFaviconUrl': 'http://manojpoojasharma.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': '', 'encoding': 'UTF-8', 'locale': 'en-US', 'localeUnderscoreDelimited': 'en', 'languageDirection': 'ltr', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'isDynamicViewsAvailable': true, 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22.Net C# SqlServer Javascript Ajax! Thats something abt me! - Atom\x22 href\x3d\x22http://manojpoojasharma.blogspot.com/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22.Net C# SqlServer Javascript Ajax! Thats something abt me! - RSS\x22 href\x3d\x22http://manojpoojasharma.blogspot.com/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22.Net C# SqlServer Javascript Ajax! Thats something abt me! - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/8769773808837040573/posts/default\x22 /\x3e\n\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22.Net C# SqlServer Javascript Ajax! Thats something abt me! - Atom\x22 href\x3d\x22http://manojpoojasharma.blogspot.com/feeds/1531453331309753968/comments/default\x22 /\x3e\n', 'meTag': '', 'adsenseClientId': 'ca-pub-1748691594509619', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'adsenseHasAds': false, 'adsenseAutoAds': false, 'boqCommentIframeForm': true, 'loginRedirectParam': '', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/16e657cb9c57b8a2', 'plusOneApiSrc': 'https://apis.google.com/js/platform.js', 'disableGComments': true, 'interstitialAccepted': false, 'sharing': {'platforms': [{'name': 'Get link', 'key': 'link', 'shareMessage': 'Get link', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': 'Share to Facebook', 'target': 'facebook'}, {'name': 'BlogThis!', 'key': 'blogThis', 'shareMessage': 'BlogThis!', 'target': 'blog'}, {'name': 'Twitter', 'key': 'twitter', 'shareMessage': 'Share to Twitter', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': 'Share to Pinterest', 'target': 'pinterest'}, {'name': 'Email', 'key': 'email', 'shareMessage': 'Email', 'target': 'email'}], 'disableGooglePlus': true, 'googlePlusShareButtonWidth': 0, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27en\x27};\x3c/script\x3e'}, 'hasCustomJumpLinkMessage': false, 'jumpLinkMessage': 'Read more', 'pageType': 'item', 'postId': '1531453331309753968', 'pageName': 'xml tree example', 'pageTitle': '.Net C# SqlServer Javascript Ajax! Thats something abt me!: xml tree example'}}, {'name': 'features', 'data': {}}, {'name': 'messages', 'data': {'edit': 'Edit', 'linkCopiedToClipboard': 'Link copied to clipboard!', 'ok': 'Ok', 'postLink': 'Post Link'}}, {'name': 'template', 'data': {'name': 'custom', 'localizedName': 'Custom', 'isResponsive': false, 'isAlternateRendering': false, 'isCustom': true}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': 'xml tree example', 'description': 'XML Tree\r \xab Previous \tNext Chapter \xbb\r \r XML documents form a tree structure that starts at \x22the root\x22 and branches to \x22the leaves\x22.\r An Exam...', 'url': 'http://manojpoojasharma.blogspot.com/2010/02/xml-tree-example.html', 'type': 'item', 'isSingleItem': true, 'isMultipleItems': false, 'isError': false, 'isPage': false, 'isPost': true, 'isHomepage': false, 'isArchive': false, 'isLabelSearch': false, 'postId': 1531453331309753968}}]); _WidgetManager._RegisterWidget('_NavbarView', new _WidgetInfo('Navbar1', 'navbar', document.getElementById('Navbar1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', document.getElementById('Header1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'main', document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'lightboxEnabled': true, 'lightboxModuleUrl': 'https://www.blogger.com/static/v1/jsbin/1666805145-lbx.js', 'lightboxCssUrl': 'https://www.blogger.com/static/v1/v-css/13464135-lightbox_bundle.css'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_FollowersView', new _WidgetInfo('Followers1', 'main', document.getElementById('Followers1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_FeedView', new _WidgetInfo('Feed1', 'sidebar', document.getElementById('Feed1'), {'title': 'Latest News', 'showItemDate': false, 'showItemAuthor': false, 'feedUrl': 'http://indiatoday.intoday.in/site/rssGenerator.jsp?secId\x3d4\x26feed\x3dLATEST%20NEWS', 'numItemsShow': 5, 'loadingMsg': 'Loading...', 'openLinksInNewWindow': false, 'useFeedWidgetServ': 'true'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_SubscribeView', new _WidgetInfo('Subscribe1', 'sidebar', document.getElementById('Subscribe1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML2', 'sidebar', document.getElementById('HTML2'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_ImageView', new _WidgetInfo('Image1', 'sidebar', document.getElementById('Image1'), {'resize': false}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML1', 'sidebar', document.getElementById('HTML1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_ProfileView', new _WidgetInfo('Profile1', 'sidebar', document.getElementById('Profile1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_FeedView', new _WidgetInfo('Feed2', 'sidebar', document.getElementById('Feed2'), {'title': 'Cricinfo Live Scores', 'showItemDate': false, 'showItemAuthor': false, 'feedUrl': 'http://static.cricinfo.com/rss/livescores.xml', 'numItemsShow': 5, 'loadingMsg': 'Loading...', 'openLinksInNewWindow': false, 'useFeedWidgetServ': 'true'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogArchiveView', new _WidgetInfo('BlogArchive1', 'sidebar', document.getElementById('BlogArchive1'), {'languageDirection': 'ltr', 'loadingMessage': 'Loading\x26hellip;'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogListView', new _WidgetInfo('BlogList1', 'sidebar', document.getElementById('BlogList1'), {'numItemsToShow': 0, 'totalItems': 4}, 'displayModeFull')); _WidgetManager._RegisterWidget('_FeedView', new _WidgetInfo('Feed3', 'sidebar', document.getElementById('Feed3'), {'title': 'Photos', 'showItemDate': false, 'showItemAuthor': false, 'feedUrl': 'http://indiatoday.intoday.in/site/rssPhoto.jsp?secId\x3d5\x26feed\x3dPhotos', 'numItemsShow': 5, 'loadingMsg': 'Loading...', 'openLinksInNewWindow': false, 'useFeedWidgetServ': 'true'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_PollView', new _WidgetInfo('Poll1', 'sidebar', document.getElementById('Poll1'), {'pollid': '-6943760567809095626', 'iframeurl': '/b/poll-results?pollWidget\x3dPoll1\x26txtclr\x3d%23666666\x26lnkclr\x3d%235588aa\x26chrtclr\x3d%235588aa\x26font\x3dnormal+normal+100%25+Georgia,+Serif\x26hideq\x3dtrue\x26purl\x3dhttp://manojpoojasharma.blogspot.com/'}, 'displayModeFull')); </script> </body> </html>