Forum: Ruby How to work with a XML schema with Ruby?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
53e111a857343d7eeec2c85071e904aa?d=identicon&s=25 Griff (Guest)
on 2007-02-14 23:21
(Received via mailing list)
I need to take a XML schema and do some arbitrary text generation
using it's contents.

Any idea where I should start?
D977ee778a175c2de249015669c7228b?d=identicon&s=25 Jason Palmer (Guest)
on 2007-02-14 23:26
(Received via mailing list)
Check out the XMLRPC::Client class on Rdoc:
http://www.ruby-doc.org/stdlib/libdoc/xmlrpc/rdoc/...

That should set you in the right direction.
8d042b437b937deb92d0c51515785a19?d=identicon&s=25 Mark Volkmann (Guest)
on 2007-02-15 00:15
(Received via mailing list)
On Feb 14, 2007, at 4:20 PM, Griff wrote:

> I need to take a XML schema and do some arbitrary text generation
> using it's contents.
>
> Any idea where I should start?

If I were doing this, my first choice would be XQuery and my second
would be XSLT. If you'd like, send me a small snippet of your XML
Schema, tell me what you'd like to generate from it, and I'll send
you an example of how to do it.
53e111a857343d7eeec2c85071e904aa?d=identicon&s=25 Griff (Guest)
on 2007-02-15 16:30
(Received via mailing list)
You know after I posted this I thought to myself that an xml schema is
just plain xml like anything else. I could use xquery couldn't ?!

Thanks for you post.
This topic is locked and can not be replied to.