A method and system are described that enable the construction of
declarative applications, such as XDML, that can access DASE System
services. DASE System services include among other things, channel
switching and electronic program guide application within a broadcast
environment established under the standards of Advanced Television System
Committee (ATSC). For example, when a Program and System Information
(PSI) application is stored in a Document Object Model (DOM) data
structure or database, an Electronic Program Guide (EPG) application can
be automatically generated using an EPG-transform method in accordance
with the present invention. This method would: 1) Convert DOM structure
into an XML document; 2) Apply an XML Style Sheet Transformation (XSLT)
to the XML document; and 3) Render the resulting XML document using a
conventional web-browser or XML renderer.