2014-01-30 Tudor Girba <[email protected]>: > Hi, > > Does anyone know what is the currently functional XPath library? > > I just tested XPath from PharoExtras, but it does not work with the latest > XMLParser. > > The XPath library is not complete, although supports querying attributes with @. Try for example:
| doc | doc := (XMLDOMParser onURL: 'http://unicode.org/repos/cldr/trunk/common/supplemental/supplementalData.xml') parseDocument. (XPath for: '/languageData/language/@type') in: doc. I just uploaded a new configuration for Pharo 3 (you may find it in the Configuration Browser).
