首页>
外国专利>
Reducing resource requirements when transforming source data in a source markup language to target data in a target markup language using transformation rules
Reducing resource requirements when transforming source data in a source markup language to target data in a target markup language using transformation rules
展开▼
机译:使用转换规则将源标记语言中的源数据转换为目标标记语言中的目标数据时,减少资源需求
展开▼
页面导航
摘要
著录项
相似文献
摘要
Transforming source data in a source markup language to target data in a target markup language using transformation rules mapping source tags to corresponding target tags. In an embodiment, the transformation rules (e.g., in an XSL) are preprocessed to identify and store source tags (“referenced tags”), which need to be processed to apply the transformation rules of other source tags. The source tags in the source data (e.g., XML) are retrieved sequentially (e.g., by SAX parser) and the contents are stored in memory if the source tag is one of the identified referenced tags. The target tags are generated (e.g., as XML) using the contents stored in memory for another source tag matching a transformation rule immediately upon reading the source tag. Only a few of the contents of source tags and the identifiers of the referenced tags may need to be stored in memory. As a result, the memory requirements may be reduced.
展开▼