2.1. Basics

Processing in an XML environment often involves a cascade of simpler processors, each one feeding on the output of the previous one. You can imagine this as a series of programs, with output of one piped (in the Unix sense) to the input of the next.

Some kind of overseeing program is needed to accomplish all this by treating the others as subroutines and creating the piping; sometimes the overseeing program might be the final one, possibly having the others as compiled-in subroutines. Other times, one program in the cascade might need to influence the internal state of an earlier (upstream) one. For example, a parser (see Section 2.1.2) might need to influence the state of the lexical analyzer so it produces the right kind of token. ...

Get XML Schema Complete Reference, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.