19. A computer program product, comprising a non-transitory machine-readable medium carrying one or more sequences of instructions for processing a query for a versioned structured document, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of: providing a plurality of versioned nodes (“vNodes”) representing a plurality of objects of at least one version of a structured document, wherein each vNode includes versioning information associated with at least one version of the structured document, wherein, collectively, the plurality of vNodes graphically represent the at least one version of the structured document in a versioned document object model (“vDOM”) node tree, and wherein versioning information of a vNode comprises at least two of a start date corresponding to a check-in date of a version of the structured document in which the vNode is first detected, a version identifier identifying the version of the structured document in which the vNode is first detected, and an end date corresponding to a check-in date of another version of the structured document in which the vNode no longer exists in the structured document; receiving a query for at least one version of the structured document, wherein the query includes a versioned function (“vFunction”) having at least two arguments relating to at least two of the start date, version identifier and end date of the versioning information associated with at least one version of the structured document; in response to receiving the query, identifying a first vNode that represents a first object in at least one version of the structured document and that includes versioning information satisfying the query; and determining a version of the structured document that includes the first object represented by the first vNode, and that satisfies the query.
19. A computer program product, comprising a non-transitory machine-readable medium carrying one or more sequences of instructions for processing a query for a versioned structured document, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of: providing a plurality of versioned nodes (“vNodes”) representing a plurality of objects of at least one version of a structured document, wherein each vNode includes versioning information associated with at least one version of the structured document, wherein, collectively, the plurality of vNodes graphically represent the at least one version of the structured document in a versioned document object model (“vDOM”) node tree, and wherein versioning information of a vNode comprises at least two of a start date corresponding to a check-in date of a version of the structured document in which the vNode is first detected, a version identifier identifying the version of the structured document in which the vNode is first detected, and an end date corresponding to a check-in date of another version of the structured document in which the vNode no longer exists in the structured document; receiving a query for at least one version of the structured document, wherein the query includes a versioned function (“vFunction”) having at least two arguments relating to at least two of the start date, version identifier and end date of the versioning information associated with at least one version of the structured document; in response to receiving the query, identifying a first vNode that represents a first object in at least one version of the structured document and that includes versioning information satisfying the query; and determining a version of the structured document that includes the first object represented by the first vNode, and that satisfies the query. 20. The computer program product of claim 19 , wherein the query includes search criteria relating to content of the structured document and a node identifier of a leaf vNode includes content of the leaf vNode, and wherein identifying the first vNode comprises comparing, for each leaf vNode, the content of a leaf vNode with the search criteria of the query to identify a matching vNode that includes content matching the search criteria of the query.