Method and system for achieving directed acyclic graph (DAG) representations of data in XML
First Claim
Patent Images
1. A method for achieving directed acyclic graph (DAG) representations of data in XML, the method comprising:
- defining an element in a first location of an XML file with a special attribute, including defining a link element that refers to the special attribute, defining a reference attribute of the link element of type IDREF in accordance with a specification for XML to refer to the special attribute, and defining the special attribute as an id attribute of type ID in accordance with the specification for XML; and
defining the element at one or more second locations in the XML file by referring to the special attribute, wherein the first location comprises a location in lexical order of the XML file before the one or more second locations.
7 Assignments
0 Petitions
Accused Products
Abstract
Method and system aspects for achieving directed acyclic graph (DAG) representations of data in XML are described. The aspects include augmenting a document type definition (DTD) for allowing description of the DAG in an XML file and for providing functionality for a document object model application program interface (DOM API) to process the XML file.
90 Citations
12 Claims
-
1. A method for achieving directed acyclic graph (DAG) representations of data in XML, the method comprising:
-
defining an element in a first location of an XML file with a special attribute, including defining a link element that refers to the special attribute, defining a reference attribute of the link element of type IDREF in accordance with a specification for XML to refer to the special attribute, and defining the special attribute as an id attribute of type ID in accordance with the specification for XML; and
defining the element at one or more second locations in the XML file by referring to the special attribute, wherein the first location comprises a location in lexical order of the XML file before the one or more second locations. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for achieving directed acyclic graph (DAG) representations of data in XML, the method comprising:
-
defining an element in a first location of an XML file with a special attribute;
defining the element at one or more second locations in the XML file by referring to the special attribute;
processing the XML file to resolve each element which may be a reference to another element, including processing the XML file to determine whether one element in the XML file is a reference to another element, to return the special attribute when the one element is a reference to another element, and to parse the one element to get the another element as a result element; and
ensuring that the one element and the another element have matching tag names.
-
-
7. A method for achieving directed acyclic graph (DAG ) representations of data in XML, the method comprising:
-
augmenting a document type definition (DTD) for allowing description of the DAG in an XML file, including adding an element with a link tag name that has a reference attribute of type IDREF in accordance with a specification for XML;
defining an element in a first location in the XML file with at least one child element and a special attribute, and defining the special attribute as an id attribute of type ID in accordance with the specification for XML;
defining an element in one or more second locations by defining a link element that refers to the special attribute; and
providing functionality for a document object model application program interface (DOM API) to process the XML file, including providing functionality to determine whether one element in the XML file is a reference to another element, to return the special attribute when the one element is a reference to another element, and to resolve each element which may be a reference to another element.
-
-
8. A system that achieves directed acyclic graph (DAG) representations of data in XML, the system comprising:
-
a computer processing system providing a data model that represents data as a directed acyclic graph (DAG); and
computer readable medium utilized by the computer processing system, the computer readable medium containing program instructions for augmenting a document type definition (DTD) for allowing description of the DAG in an XML file, including adding an element with a link tag name that has a reference attribute of type IDREF in accordance with a specification for XML, for defining an element in a first location in the XML file with at least one child element and a special attribute, including defining the special attribute as an id attribute of type ID in accordance with the specification for XML, and defining the element at one or more second locations by referring to the special attribute, including defining a link element that refers to the special attribute, wherein the first location comprises a location in lexical order of the XML file before the one or more second locations, and for providing functionality for a document object model application program interface (DOM API) to process the XML file. - View Dependent Claims (9, 10, 11)
-
-
12. A system that achieves directed acyclic graph (DAG) representations of data in XML, the system comprising:
-
a computer processing system providing a data model that represents data as a directed acyclic graph (DAG); and
computer readable medium utilized by the computer processing system, the computer readable medium containing program instructions for augmenting a document type definition (DTD) for allowing description of the DAG in an XML file, including adding an element with a link tag name that has a reference attribute of type IDREF in accordance with a specification for XML and for providing functionality for a document object model application program interface (DOM API) to process the XML file, including providing functionality to determine whether one element in the XML file is a reference to another element, to return the special attribute when the one element is a reference to another element, and to resolve each element which may be a reference to another element, and ensuring that the one element and the another element have matching tag names.
-
Specification