Create XML schema with xerces-c

Discussion in 'XML' started by AlfredK, Jul 13, 2005.

  1. AlfredK

    AlfredK Guest

    I want to generate a XML schema in memory with xerces-c.

    When browsing through the xerces source I found
    // this method should only be used while the grammar is being
    // constructed, not while it is being used
    // in a validation episode!

    virtual XMLElementDecl* Grammar::findOrAddElemDecl
    (
    const unsigned int uriId
    , const XMLCh* const baseName
    , const XMLCh* const prefixName
    , const XMLCh* const qName
    , unsigned int scope
    , bool& wasAdded
    )

    but unforunately I couldn't find any documentation or sample.

    Can anybody give me a hint or even better a example how to use it or do
    I have to use the same way for a 'regular' XML document as provided in
    the sample CreateDOMDocument.
    AlfredK, Jul 13, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Markus
    Replies:
    1
    Views:
    1,497
    Markus
    Nov 23, 2005
  2. Stanimir Stamenkov
    Replies:
    3
    Views:
    1,170
    Stanimir Stamenkov
    Apr 25, 2005
  3. AlfredK
    Replies:
    0
    Views:
    467
    AlfredK
    Jul 13, 2005
  4. Replies:
    3
    Views:
    2,788
  5. Arvin Portlock
    Replies:
    0
    Views:
    138
    Arvin Portlock
    Jun 20, 2005
Loading...

Share This Page