Hello,
I would like to know if it is possible to import XML code to Moose. I saw in the Moose Book (http://www.themoosebook.org/book/introduction/nutshell) that it is possible. thanks! -- Andre Hora _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
What do you mean exactly?
For XML in general, there is the XMLSupport which works pretty well. Cheers, Doru On 20 Feb 2011, at 19:39, Andre Hora wrote: > Hello, > > I would like to know if it is possible to import XML code to Moose. > I saw in the Moose Book (http://www.themoosebook.org/book/introduction/nutshell) that it is possible. > > thanks! > > -- > Andre Hora > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com "It's not how it is, it is how we see it." _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
I mean import a XML document or XML schema model to analysis it in Moose, like we can import an Smalltalk, Java, File Structure, etc..
regards, On Sun, Feb 20, 2011 at 7:43 PM, Tudor Girba <[hidden email]> wrote: What do you mean exactly? -- Andre Hora _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
For a simple way to handle XML you have the DOM importer which creates a tree of strings.
If you want to have typed nodes, you can use the new Factory behavior which allows you to map node names to classes. But at this moment, there is no support for generating schema specific objects automatically. Cheers, Doru On 20 Feb 2011, at 19:53, Andre Hora wrote: > I mean import a XML document or XML schema model to analysis it in Moose, like we can import an Smalltalk, Java, File Structure, etc.. > > regards, > > On Sun, Feb 20, 2011 at 7:43 PM, Tudor Girba <[hidden email]> wrote: > What do you mean exactly? > > For XML in general, there is the XMLSupport which works pretty well. > > Cheers, > Doru > > > On 20 Feb 2011, at 19:39, Andre Hora wrote: > > > Hello, > > > > I would like to know if it is possible to import XML code to Moose. > > I saw in the Moose Book (http://www.themoosebook.org/book/introduction/nutshell) that it is possible. > > > > thanks! > > > > -- > > Andre Hora > > > > _______________________________________________ > > Moose-dev mailing list > > [hidden email] > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > www.tudorgirba.com > > "It's not how it is, it is how we see it." > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > > -- > Andre Hora > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com "Reasonable is what we are accustomed with." _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |