a ZnResponse

From a ZnResponse to a JavaScript parser

ZnEasy

First to a XMLDocument

aDocument := XMLHTMLParser parse: self

then XPath

aXPathNodeSet := aDocument document xPath: 'string(//body/script[@type])'. "a XPathNodeSet"

XPath

and finally a JavaScript parser

JSParser parse: aXPathNodeSet

a JSModuleNode

~