Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: Perl module for RELAX NG?

by mattr (Curate)
on Dec 06, 2006 at 10:41 UTC ( #588072=note: print w/replies, xml ) Need Help??

in reply to Re: Perl module for RELAX NG?
in thread Perl module for RELAX NG?

Yes, you are right of course. I initially was mixed up over whether this was a replacement for just the schema definition or for XML itself too. I also thought YAML would be the choice then but RELAX seems to borrow from regular expressions which is nice, and I don't quite see how to link various YAML documents in a YAML stream to a RELAX definition.

Actually I was most impressed that there are java tools that will generate classes based on RELAX NG definitions. Which made me think RELAX-like language might be very nice as a way to quickly define lots of things, like classes, db schemas, business logic, etc. I have to study it more to really understand how far it goes though. There are so many meta description languages out now for small domains so I had a hope. Not too long ago I was looking at some of the modules that help you design classes quickly in Perl but every module has its pros and cons of course. Thank you and all other posters.

Replies are listed 'Best First'.
Re^3: Perl module for RELAX NG?
by eserte (Deacon) on Dec 19, 2006 at 22:53 UTC
    <shameless-plug> If you want a schema language for data structures written in a data structure, then take a look at Kwalify. Note that you can replace "data structure" in the above sentence by YAML file, JSON data, Data::Dumper dump or anything else dealing with (Perl) data structures.</shameless-plug>
      Thanks! This looks like it could come in handy..


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://588072]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2020-09-27 16:11 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (142 votes). Check out past polls.