Convertor wanted: C struct to XML schema

Tan Yiping tanyp at mail.conuco.cn.net
Wed Jul 28 08:13:57 BST 1999


Trevor Croll wrote:

	>There is no need for a C struct for an XML document, use a DOM
tree
	>by walking this tree the field details can be pulled into your
app as you
	>need them.

Yes, you are right if you just read in an XML doc and manipulate the
data
inside with the DOM tree. I do the same. What I also need to do is to 
generate programmatically an XML doc which represent the data and 
structure of a C struct. So the fact is not that I need C struct for XML
doc,
but C struct is just the data source where my XML doc is build on.

Yiping

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list