首页>
外国专利>
Method and apparatus for document transformation based on attribute grammars and attribute couplings
Method and apparatus for document transformation based on attribute grammars and attribute couplings
展开▼
机译:基于属性语法和属性耦合的文档转换方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method and apparatus are provided for converting a first document to a second document. The first document is in a first extended attribute grammar, while the second document is in a second extended attribute grammar. Determining means (22,24) determine the first and second extended attribute grammars. An extended attribute coupling grammar, determined by means (26), couples the first and second extended attribute grammars. The first document is converted to a first tree, by generating means (30), which is partially copied to a first copy. The first copy is completed by evaluating it's attribute with respect to the extended attribute coupling grammar. The first copy is then a partially attributed tree of the second document. The partially attributed tree is completed to form a second tree based on the second extended attribute grammar. The second tree is then converted to the second document.
展开▼