From: Sean Russell Date: 2002-06-01T02:46:38+09:00 Subject: Re: Ruby, XML schema( RELAX NG) and a Q&D parser bbense+comp.lang.ruby.May.31.02@telemark.stanford.edu wrote: > - - I guess I didn't explain very well. I don't want a general > purpose XML parser. I want one that only groks the messages > of the protocol. I want to use a general Purpose xml parser > to write the code for the special purpose XML parser. Sort > of like using lex and yacc. I don't think that you'll gain much in speed, especially for the effort involved. However, you could probably generate a parser with Rockit, although getting the output turned into C might be a chore. > - - 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. Ah. Ok. Well, this is a topic beyond my interest and expertise. -- |.. "Physicists don't do science. The universe does the Science, we just <|> watch and try to understand." /|\ -- anon /| |