Method and mechanism for efficient access to nodes in XML data
    1.
    发明申请
    Method and mechanism for efficient access to nodes in XML data 审中-公开
    有效访问XML数据中的节点的方法和机制

    公开(公告)号:US20050055629A1

    公开(公告)日:2005-03-10

    申请号:US10656097

    申请日:2003-09-05

    IPC分类号: G06F17/00 G06F17/30

    CPC分类号: G06F16/84

    摘要: Disclosed is a method and mechanism for accessing XML data. In one approach, in the case of a schema based document, the structure of the XML document is known apriori and this information can be exploited to store and retrieve the data more efficiently. A Named Access interface or procedure can be defined and associated with elements of the schema. The need for datatype conversions can be eliminated by allowing direct mapping to the intended datatype or the closest matching datatype in the system to which the invention is directed. The storage information can be exploited to provide “direct” access to data based on offset in lieu of a linear traversal. Another aspect is that only the relevant portions need to be even loaded into memory.

    摘要翻译: 公开了一种访问XML数据的方法和机制。 在一种方法中,在基于模式的文档的情况下,XML文档的结构是已知的,并且可以利用该信息来更有效地存储和检索数据。 命名访问接口或过程可以定义并与模式的元素相关联。 可以通过直接映射到本发明所针对的系统中的预期数据类型或最接近的匹配数据类型来消除对数据类型转换的需要。 可以利用存储信息来提供基于偏移代替线性遍历的“直接”访问数据。 另一方面是只有相关部分需要被均匀地加载到存储器中。