From: "R. Mark Volkmann" Date: 2005-03-13T22:14:52+09:00 Subject: Re: xml schema api Quoting Gavri Fernandez : > Hi, > Is there a xml schema api > (http://www.w3.org/Submission/2004/SUBM-xmlschema-api-20040309/xml-schema-api.html) > ruby library? I'm not aware of one. If you end up having to implement this yourself, you may find it easier to use RELAX NG instead of XML Schema. If you need to operate on existing XML Schemas, there is a tool called Trang that can convert XML Schema syntax to RELAX NG syntax. Actually, Trang performs many similar conversions. > Here are the docs for Apache's Java implementation: > http://xml.apache.org/xerces2-j/javadocs/xs/index.html > > My intention is create a generator that produces code based on an xml > schema. This output code, of course, is used to manipulate and more > importantly _represent_ instances of the schema. (i'm creating a > rest-client generator) > > If there is no xml-schema api lib available for ruby, what is the best > alternative way of doing what I want? > > Or is all of this wrong and there is an easier approach? > > -- > Gavri > http://gavri.blogspot.com > > -- R. Mark Volkmann Partner, Object Computing, Inc.