Hi
For audioscrobbler I did the opposite, from given XML to Magritte:
http://source.lukas-renggli.ch/audioscrobbler.htmlThe audioscrobbler xml is quite gay and I was surprised when I got it
working. It is also used for feed parsing of the Seaside homepage.
Cheers
Philippe
2007/12/5,
smalltalk@... <
smalltalk@...>:
> I was wondering if anyone tried to do any kind of XML mapping using
> Magritte. I have the requirement to generate RDF from my business
> objects, so I was thinking of ways to simplify this. My idea was to
> add something in the Magritte descriptions for each object that
> pointed to the appropriate URI and schema.
>
> This may be more trouble than its worth. I suppose anyone who has done
> anything with generating XML from Magritte could maybe provide some
> insight on any hurdles they faced, design ideas, etc.
>
> I also am looking at Magritte for simplifying XML serialization in
> general. My problem overall is that I have to generate all these
> formats (XML for web service, RSS, ATOM, RDF) and I do not want to
> have to write a complex parser to even do this 1/2 way dynamically.
> Are there any other libraries out there that do this already? For
> instance, I did notice that there is that library (name escapes me)
> that lets you port your objects between Smalltalk versions by dumping
> to XML files, so that is somewhat close to what I need to do.
>
> I am thinking since I already have a large number of Magritte
> descriptions, I might as well expand upon that. This will also let me
> do things like change a schema dynamically and provide easy access
> memento objects to do things like create a preview of whatever format
> I am trying to produce. Thoughts?
>
>
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
>
https://www.iam.unibe.ch/mailman/listinfo/smallwiki>
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki