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!
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 Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"It's not how it is, it is how we see it."
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 tudor.girba@gmail.com 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 Moose-dev@iam.unibe.ch 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 Moose-dev@iam.unibe.ch 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 tudor.girba@gmail.com 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 Moose-dev@iam.unibe.ch 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 Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Andre Hora
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Reasonable is what we are accustomed with."