Re: Question about Architectures and Versioning

Michael Kay (M.H.Kay@eng.icl.co.uk)
Fri, 12 Jun 1998 11:02:25 +0100


>How does one go about using Architectures to solve the
following problem.
>
I don't know how to achieve this with Architectures (one of
those concepts that is so off-putting because it has such a
misleading name) but as a humble programmer I know how to do
it with SAX: just write a DocumentHandler for your version 1
document that receives the events for the version 1 document
from the parser and generates the events for the version 2
structure to another DocumentHandler that expects version 2
events.

Easier still if you use SAXON.

Mike Kay