首页> 外国专利> Storing valid and invalid markup language in strict and relaxed tables respectively

Storing valid and invalid markup language in strict and relaxed tables respectively

机译:将有效和无效标记语言分别存储在严格表和宽松表中

摘要

The inventive editor allows web authors to edit HTML visually while preserving the HTML source document. The editor preserves the structure and format of the HTML, and permits simultaneous modeless visual and source document editing. When an edit is made with the invention, only the HTML source around that edit is updated, rather than rewriting the whole HTML source document. Furthermore, when an edit is made, the new HTML source code is outputted in a format that is specified by the user. In order to preserve the format of the document, format information is stored in the parsed tree. The format of the node is preserved when its source is regenerated; edits to the node will reformat it according to user preferences. In order to preserve the structure of the document, invalid HTML structures are maintained and not corrected. The invention will either support the invalid structure by reflecting such structure in the parsed tree, and thus allow for editing of the structure, or the invention will not support such a structure, and represent such structures as invalid nodes. Moreover, the invention also maintains structure while editing, as the structure and format of the document is only minimally modified during editing, i.e. only the nodes affected by the edits are restructured and reformatted, and the remainder of the document is unmodified.
机译:本发明的编辑器允许网络作者在保留HTML源文档的同时可视地编辑HTML。编辑器保留HTML的结构和格式,并允许同时进行无模式的可视和源文档编辑。当用本发明进行编辑时,仅围绕该编辑的HTML源被更新,而不是重写整个HTML源文档。此外,当进行编辑时,将以用户指定的格式输出新的HTML源代码。为了保留文档的格式,格式信息存储在解析的树中。重新生成其源时,将保留该节点的格式。对节点的编辑将根据用户首选项对其进行重新格式化。为了保留文档的结构,将维护无效的HTML结构并且不对其进行更正。本发明将通过在解析的树中反映这种结构来支持无效结构,从而允许对该结构进行编辑,或者本发明将不支持这种结构,并且将这种结构表示为无效节点。此外,本发明在编辑时也保持结构,因为在编辑期间仅最小程度地修改了文档的结构和格式,即,仅对受编辑影响的节点进行了重构和重新格式化,而文档的其余部分未修改。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号