Hello Ingolf,
>Such output is probably easier to generate with
>a tool like XMLgawk:
>>
> http://home.vrweb.de/~juergen.kahrs/...ml#How-to-trav...
>a tool like XMLgawk:
>>
> http://home.vrweb.de/~juergen.kahrs/...ml#How-to-trav...
Thank you, Jürgen, for the pointer. The examples in that document seem
to suggest that xmlgawk is used mainly for rearranging data (replacing
tags by other text but leaving the actual data mostly as is) rather
than *transforming* the data. Is this observation correct?
I have written AWK scripts for doing linear regression
(statistics) or a simple recursive-descent compiler.
Just look at the other examples. For example the one
that transforms an XML file into a graph drawing:
XMLgawk is based on a SAX parser and handles each
tag separately. If you prefer to work with a DOM
parser (because you need access to the complete
DOM tree), then XMLgawk is not as convenient as
you might need a tool.
Leave a comment: