Skip to content

Working with XML files tutorial

hhzl edited this page May 13, 2025 · 13 revisions

It seems that working with XML files is the same in Cuis, Squeak and Pharo.

https://wiki.squeak.org/squeak/505

XMLDOMParser https://wiki.squeak.org/squeak/6342

Hernan Morales Durand: blog https://80738163270632.blogspot.com/2015/02/pharo-smalltalk-scripts-part-1.html

(XMLDOMParser parseFileNamed: 'fao_country_names.xml') 
  firstNode 
  allElementsSelect: [ : each | 
    each localName = 'geographical_region' ].

Clone this wiki locally