发明名称 System and Method for Processing Markup Language Templates from Partial Input Data
摘要 Template processing techniques to generate documents, such as HTML documents, in situations where the template depends on input data that are available in different locations are provided. A template can include a plurality of template-processing instructions which can specify how to bind input data from a data structure to the template. The input data can be declared as template parameters in the template. According to aspects of the present disclosure, the template can include an annotation associated with one or more of the template parameters. The annotation can be indicative of the availability of input data at the server or at a client device.
申请公布号 US2015178258(A1) 申请公布日期 2015.06.25
申请号 US201213461866 申请日期 2012.05.02
申请人 Meschkat Steffen;Haustein Stefan 发明人 Meschkat Steffen;Haustein Stefan
分类号 G06F17/24;G06F17/22 主分类号 G06F17/24
代理机构 代理人
主权项 1. A computer-implemented method for processing a template, the method comprising: receiving a first template at a first computing device, the first template comprising: a plurality of layout instructions specifying a layout of input data in a document to be generated from the first template,a plurality of template-processing instructions, the template-processing instructions specifying how to bind input data to the document, the plurality of template-processing instructions comprising a first template-processing instruction dependent on a first template parameter associated with input data available only at the first computing device and a second template-processing instruction dependent on a second template parameter associated with input data available only at a second computing device, andan annotation associated with the second template parameter, the annotation indicative of the availability of input data only at the second computing device; identifying the second template-processing instruction for evaluation at the second computing device based at least in part on the annotation; processing the first template at the first computing device based on input data available at the first computing device to generate a second template, wherein processing the first template at the first computing device comprises embedding, at the first computing device, the second template-processing instruction in the second template such that the second template is both a template and a valid document for display at the second computing device, wherein the second template-processing instruction is not evaluated at the first computing device.
地址 Zurich CH