Hello,

I am new to xml and xerces-c.  I support an api which sends requests and
receives replies
in the form of a data structure sent via tcp/ip sockets.  I plan on
converting this api so that
requests and replies are sent in xml format.  I have a few questions:

1.  What is the best way to get started on familiarizing myself with xml
and xerces-c?
     Where is there a good tutorial on xml?

2.  How can I best use the mailing list?  It appears the archives are two
months behind.  I'm not
     sure I can wade through all the e-mail that arrives if I'm directly
subscribed.

3.  I have looked at some of the samples.  To build the xml message I'm
guessing my code will
     create a DOM tree in memory similar to what is done in
CreateDomDocument.cpp.  How do I
     then convert the in-core DOM tree to xml to be sent via socket?

4. I have created a DTD which defines the format of all messages to be
exchanged.  Is there some way
    of verifying that the xml I create conforms to the format defined in
the DTD?  Can the DTD reside
     in the source code where the xml is created?  I don't want to send it
along with every request/reply.

5.  In order to parse an xml message received I'm guessing I'm going to use
code similar to DOMPrint.cpp,
     using MemBufInputSource to parse from a buffer instead of a file?

6.  Same as question 4.  How to I verify that the xml message parsed
conforms to the DTD I created?
     Can the DTD reside in the source code which is processing this
message?

Thanks for help with these beginner questions.  Please point me to archive
threads if these have
already been exhaustively covered.


Charles Prosser


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to