One technique would be to pipe the XML/HTML output from curl through an XSLT
style-sheet processor like Xalan, which would pick off the data you wanted
and output it to a simple text file, or pipe that through awk for additional
formatting.

If you wanted to parse into a W3C Dom, you could of course use Java, and
even run the Java Rhino javascript processor.
But I agree that it might be nice if someone ported SpiderMonkey to z/OS.
The larger issue would be implementing all of the system services bindings
that you would want.   Sounds like a large effort to me.

What about REXX? Does anyone know if there are bindings for Xerces-C or Xml
System Services?


On Wed, Nov 26, 2008 at 10:48 AM, Martin Packer <[EMAIL PROTECTED]>wrote:

> And what would be the preferred method of DOM parsing or whatever the
> results? Not negative about it - just curious. (Javascript on z/OS would
> get MY vote.)
>
> Martin Packer
> Performance Consultant
> IBM United Kingdom Ltd
> +44-20-8832-5167
> +44-7802-245-584
> [EMAIL PROTECTED]
> "They're figuring out that collaboration isn't a productivity hit, it
> makes them smarter." Sam Palmisano on BlogCentral, 26 November 2008
>
>
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to