XML Development

Moderators: None (Apply to moderate this forum)
Number of threads: 257
Number of posts: 456

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Navigating through XML Documents Posted by Jenyb on 17 Oct 2005 at 9:22 AM
Hi again,
i know that i need to use a DocumentNavigator class to navigate in XML document, i need to use MoveToChild/MoveToParent there the problem is that i don't know how to load this DocumentNavigator.
tnx for advance.
Report
Re: Navigating through XML Documents Posted by infidel on 26 Oct 2005 at 2:00 PM
: Hi again,
: i know that i need to use a DocumentNavigator class to navigate in XML document, i need to use MoveToChild/MoveToParent there the problem is that i don't know how to load this DocumentNavigator.

Well, there are two defacto standards for parsing XML files, DOM and SAX. In the case of DOM, the library will create a tree of nodes for you and you could just wrap that in your navigation class. For SAX, you would have to create Node classes yourself and build the tree yourself as the SAX parser describes the XML to you.


infidel

$ select * from users where clue > 0
no rows returned





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.