Results 1 to 4 of 4

Thread: Unable to create XMLClassDescriptor sax xml vb -net

  1. #1
    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.

  2. #2
    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).

  3. #3
    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.

  4. #4
    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.

Similar Threads

  1. Unable to create sdp file/rtp in vlc 1.1.0
    By McKenzie! in forum Windows Software
    Replies: 6
    Last Post: 12-07-2011, 11:11 AM
  2. Unable to create a new website
    By Gaganasindhu in forum Technology & Internet
    Replies: 7
    Last Post: 18-11-2010, 07:30 AM
  3. Unable to Create Toolbar in Win Xp
    By Ameeryan in forum Customize Desktop
    Replies: 3
    Last Post: 18-11-2009, 06:39 PM
  4. Unable to create a shortcut
    By Rhys in forum Customize Desktop
    Replies: 2
    Last Post: 30-03-2009, 03:17 PM
  5. Replies: 6
    Last Post: 16-09-2008, 12:33 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,544,876.24373 seconds with 17 queries