摘要 |
A wireless telephone, personal digital assistant (PDA), smart remote control, or other Internet-enabled processing device includes a scalable parser which supports a designated subset of an extensible mark-up language (XML) grammar. The designated subset may be selected for a given device based on factors such as the computational and memory capabilities of that device, and the complexity of documents handled by that device. An XML document supplied to the device is parsed using the scalable parser. The results of the parsing may then be supplied via a well-known standard application programming interface (API) to an application program on the processing device, and used to control an operation of the device. Advantageously, the invention allows "thin" devices to process simple XML documents without requiring implementation of the complete XML grammar.
|