I practice with the example of the book. I can not read the atomic values of the nodes.
For example, with this piece of the example:
<cardset>
<card>
<cardname lang = "en"> Arcane Lighthouse </ cardname>
<types> Land </ types>
<year> 2014 </ year>
To get the atomic value of the node year and assign it to the variable yearmem, I do it like this:
yearmem: = tree xpath: '/ cardset / card / year'.
But it fails. How do I get the 2014 value?
Thank you
Oswall
De: Pharo-users <pharo-users-bounces@lists.pharo.org> en nombre de oswall arguedas <oswallcr@hotmail.com> Enviado: mi�rcoles, 11 de julio de 2018 20:17:55 Para: pharo-users@lists.pharo.org Asunto: Re: [Pharo-users] XML support for pharo
Thanks Franz and Monty. I'm working on it, everything is going very well.
The feedback when I master it.
Oswall
De: Pharo-users <pharo-users-bounces@lists.pharo.org> en nombre de monty <monty2@programmer.net> Enviado: mi�rcoles, 11 de julio de 2018 03:32 Para: pharo-users@lists.pharo.org Asunto: Re: [Pharo-users] XML support for pharo