US 12,248,749 B1
Content update by merging of markup language documents
Georgios Kostakis, Boston (GB)
Assigned to Bentley Systems, Incorporated, Exton, PA (US)
Filed by Bentley Systems, Incorporated, Exton, PA (US)
Filed on Mar. 28, 2022, as Appl. No. 17/706,029.
Int. Cl. G06F 17/00 (2019.01); G06F 40/151 (2020.01); G06F 40/166 (2020.01)
CPC G06F 40/151 (2020.01) [G06F 40/166 (2020.01)] 20 Claims
OG exemplary drawing
 
1. A method for updating content of a markup language document, comprising:
receiving, by a software process executing on one or more computing devices, the markup language document, wherein the markup language document is a document encoded with a set of symbols that instruct software how the markup language document should look when rendered on a computing device, the markup language document having one or more sections;
receiving, by the software process, a corresponding enhancement document that includes a plurality of commands executable by software which describe updates to the markup language document;
converting, by the software process, the markup language document into a first hierarchical graph in which each section of the markup language document is arranged as a parent of any subsections of the respective section;
converting, by the software process, the enhancement document into a second hierarchical graph including one or more of the plurality of commands which describe updates to the markup language document;
merging, by the software process, the first hierarchical graph and the second hierarchical graph, the merging to apply commands of the second hierarchical graph to the first hierarchical graph to produce an updated hierarchical graph; and
outputting, by the software process, an updated markup language document based on the updated hierarchical graph.