Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 28-07-2009
Member
 
Join Date: Dec 2008
Posts: 87
Unable to create XMLClassDescriptor sax xml vb -net

Can anyone suggest me which will be the derived class from MContentHandler? is it "class CXmlHandler: public CBase, MContentHandler" or "class CXmlHandler: public MContentHandler"? The thing is that I had used this primer.xsd with JAXB and the xjc generator command and I could unmarshall the stream without problem. Please help.
Reply With Quote
  #2  
Old 28-07-2009
Member
 
Join Date: Nov 2008
Posts: 89
Re: Unable to create XMLClassDescriptor sax xml vb -net

The Document Object Model (DOM) represents an entire XML document in a tree-like data structure that can be easily manipulated by a Java program. With Visual Basic (VB), the typical approach to experimentation with a Component Object Model (COM) component such as the MSXML3.dll file is to create a new Standard EXE project, and then go to the Project/References menu to add a reference to the MSXML3.dll Type Library (Microsoft XML, version 3.0).
Reply With Quote
  #3  
Old 28-07-2009
Member
 
Join Date: Jan 2009
Posts: 143
Re: Unable to create XMLClassDescriptor sax xml vb -net

CodeNotes for XML is a practical handbook for Java and Visual Basic developers interested in working with XML. MContentHandler to is used to provide the call backs required. This Interface has some pure virtual functions like. OnBeginElementL, OnEndElementL and OnContentL. You will learn how to leverage both CSS and XSLT to produce rich, compelling output, as well as manipulate XML using the DOM and SAX APIs.
Reply With Quote
  #4  
Old 28-07-2009
Member
 
Join Date: Mar 2008
Posts: 227
Re: Unable to create XMLClassDescriptor sax xml vb -net

The advantages of DOM are that it is relatively simple to use and you can modify the data structure in addition to extracting data from it. However, the disadvantage is that DOM parses and stores the entire document, even if you only care about part of it. I then checked the registry to verify that I had installed the correct version of MSXML3.dll. Sure enough, there were two promising-looking ProgIDs under the HKEY_CLASSES_ROOT directory.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Unable to create XMLClassDescriptor sax xml vb -net"
Thread Thread Starter Forum Replies Last Post
Unable to create sdp file/rtp in vlc 1.1.0 McKenzie! Windows Software 6 12-07-2011 11:11 AM
Unable to create a new website Gaganasindhu Technology & Internet 7 18-11-2010 07:30 AM
Unable to Create Toolbar in Win Xp Ameeryan Customize Desktop 3 18-11-2009 06:39 PM
Unable to create a shortcut Rhys Customize Desktop 2 30-03-2009 03:17 PM
Unable to Start Disk Defragment & also unable to Create Restore Shams Windows XP Support 6 16-09-2008 12:33 AM


All times are GMT +5.5. The time now is 08:12 PM.