xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Clark <an...@apache.org>
Subject Re: Content handler based on the XML content??
Date Wed, 04 Apr 2001 21:42:55 GMT
"Sureka, Sushil" wrote:
> Is it possible to load a particular content handler  based on one of the
> field value in the xml file. For example if I have

Since you know the kinds of "records" you are processing in your
XML documents, write a custom multi-plexing content handler. The
multi-plexing handler would change the appropriate content handler
based on the "record" that it sees. In this way you can cleanly
separate your code into separate content handler instances.

Andy Clark * IBM, TRL - Japan * andyc@apache.org

In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

View raw message