XML Schema Complete Reference, The
by Cliff Binstock, Chris Galtenberg, Mike Wooding, Chris Dix, Mitchell Smith, Dave Peterson
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. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access