From: Bob Hutchison Date: 2002-06-01T01:48:46+09:00 Subject: Re: Ruby, XML schema( RELAX NG) and a Q&D parser On 5/31/02 12:26 PM, ";" wrote: > - - Basically, I need to go from C struct to XML and back. > It would be best if all the code to do this were in C. > I'd like to use Ruby to write that code from the RELAX > NG description of the XML. It sounds as though you want an XML data binding tool. There isn't one in Ruby (as far as I know). However there are some in other languages. You've put four constraints on the tool: XML <-> C struct; generate specialised parser; use Relax NG; use Ruby. I'm afraid any two of these will probably severely limit your choices. Have a look at http://www.rpbourret.com/xml/XMLDataBinding.htm for a pretty comprehensive overview of the tools available. Cheers, Bob > > - - Booker C. Bense