Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: xml schema api
Forrest Chang
3/17/2005 5:54:00 PM
Hi Gavri:
I've written something similar to what you've
described. WHat it does it takes an xml schema and
generates ruby classes that match the structure in the
schema. I can then manipulate these classes and the
output the xml. I support most constructs (just the
ones I needed). At some point I'd like to open source
it, but time is low. Related, if I can ever find the
time (HA!) I want to add dtd and xml schema validation
to REXML (I dropped Sean about the DTD part coz I'd
written some DTD parsing code and saw that it could be
extended to do DTD validation and he said he'd welcome
it if I did it).
Forrest
--- Gavri Fernandez <gavri.fernandez@gmail.com> wrote:
> Hi,
> Is there a xml schema api
>
(
http://www.w3.org/Submission/2004/SUBM-xmlschema-api-20040309/xml-schem...
)
> ruby library?
>
> Here are the docs for Apache's Java implementation:
>
http://xml.apache.org/xerces2-j/javadocs/xs/...
>
> 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.bl...
>
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: xml schema api
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password