Hi all:
I am a noob searching for an example of how to demarshall a set of simple and complex XML nodes into an object using Pastell or something similar. I have found many examples of how to pick out all of the elements of a certain type into a collection, but I'm trying to grab the data from a mixed collection of (~20) elements that are children of a particular element type and unpack them into an object. Does anyone know of some good examples of how to do this using Pastell or something similar? Thanks, -- Larry Gadallah, VE6VQ/W7 lgadallah AT gmail DOT com PGP Sig: 917E DDB7 C911 9EC1 0CD9 C06B 06C4 835F 0BB8 7336 _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
I know that there is OPAX to better handle XML files to support an either conversion using a bit of reflection
but I did not use it myself. On Jul 16, 2010, at 6:46 PM, Larry Gadallah wrote: > Hi all: > > I am a noob searching for an example of how to demarshall a set of > simple and complex XML nodes into an object using Pastell or something > similar. I have found many examples of how to pick out all of the > elements of a certain type into a collection, but I'm trying to grab > the data from a mixed collection of (~20) elements that are children > of a particular element type and unpack them into an object. > > Does anyone know of some good examples of how to do this using Pastell > or something similar? > > Thanks, > -- > Larry Gadallah, VE6VQ/W7 lgadallah AT gmail DOT com > PGP Sig: 917E DDB7 C911 9EC1 0CD9 C06B 06C4 835F 0BB8 7336 > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Larry Gadallah
How big is your XML file? Molecular biology?
Hernán 2010/7/16 Larry Gadallah <[hidden email]>: > Hi all: > > I am a noob searching for an example of how to demarshall a set of > simple and complex XML nodes into an object using Pastell or something > similar. I have found many examples of how to pick out all of the > elements of a certain type into a collection, but I'm trying to grab > the data from a mixed collection of (~20) elements that are children > of a particular element type and unpack them into an object. > > Does anyone know of some good examples of how to do this using Pastell > or something similar? > > Thanks, > -- > Larry Gadallah, VE6VQ/W7 lgadallah AT gmail DOT com > PGP Sig: 917E DDB7 C911 9EC1 0CD9 C06B 06C4 835F 0BB8 7336 > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Larry Gadallah
On 16.07.2010, at 18:46, Larry Gadallah wrote: > Hi all: > > I am a noob searching for an example of how to demarshall a set of > simple and complex XML nodes into an object using Pastell or something > similar. I have found many examples of how to pick out all of the > elements of a certain type into a collection, but I'm trying to grab > the data from a mixed collection of (~20) elements that are children > of a particular element type and unpack them into an object. > > Does anyone know of some good examples of how to do this using Pastell > or something similar? > Norbert _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |