An extensible method and system for dynamically transforming and routing the
WWW
content is provided that can enable efficient delivery and presentation of the
content for a variety of end-user devices. Processing of HTTP request and response
messages is combined with event-driven machinery that can perform transformations
and routing of data or content. The machinery can include a logic-based inference
engine adapted to determine which transformations are applicable in any given context.
A knowledge base for the content adaptation and routing may also be provided. The
knowledge base is segmented so that search space for the inference engine can be
significantly reduced in any given context. Since the search space is much narrower,
searching can be performed much more efficiently, which can result in improved performance.