PackageDescription: XPathConvenience


X Path Convenience

Last published: September 13, 2004 by 'michael'

Defines 0 Classes
Extends 3 Classes


'/foo/*[1]' asXPathLocation
myXMLNode xpathLocate: '/foo/*[1]'
myXMLNode xpathLocate: '/foo/bar/baz/text()' variables: (Dictionary new: at: 'a' put: 'b'; yourself)
myXMLNode xpathLocate: '/foo/text()' asXPathLocation

These convenience methods give developers a quick way to get in and use XPaths on their XML documents straight away. Give XPath a bit of a life of its own separate from XSLT.