From: Tobias Reif Date: 2002-02-23T18:17:23+09:00 Subject: Re: rdoc/xml questions Dave Thomas wrote: > The problem is > that the relationships can get pretty complex pretty quickly (as there > is arbitrary nesting, and classes can be inner classes in singletons > and so on. So perhaps just specify the parent? Then you can represent all the nesting, without having to repeat it in all it's depth. ... ... ... Are you planning on creating some schema for this document type? A DTD, an XSD (W3C XML Schema), or a Relax NG would be very handy when processing the instances generated by RDoc. One can lookup stuff in the schema while writing an XSLT or other processing programs. How are you generating the instances? If you want, I can generate some lib like comment = '...' c = RD_class.new c.name = :B c.parent_class = :A d = Description.new d.insert comment c.insert d from a schema. Tobi -- * peace&love. * http://www.pinkjuice.com/