- 1、本文档共3页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Openlaszlo开发使用工具
Openlaszlo开发使用工具1.?Overview LZX source files are text files. Any standard text editor such as Notepad (on Windows) or TextEdit (on MacOS) can be used to edit them. 1.1.?XML Editors LZX source files are a particular type of text file: they are XML files. An XML-aware editorsuch as Eclipse, /products/bbedit/index.shtmlBBEdit, or /software/emacs/emacs.htmlEmacs(with http://www.lysator.liu.se/projects/about_psgml.htmlpsgml-mode or /download/nxml-mode ) will provide additional editing facilities such as automatic indentation, syntax highlighting (coloring markup characters such as and tag names such as canvas ), and well-formedness checking (letting you know when you have an unbalanced or quotation mark). To configure an XML-aware editor to edit LZX files, you must configure it to edit those files in XML mode. This is done by registering the lzxextension with the XML mode of the editor. How to do this depends on the exact editor; this chapter gives instructions for some popular editors. 2.?XML Schema An XML schemalists the tag and attribute names that can occur within an XML document. Many XML editing tools are schema-aware. These tools can associate an XML document with a schema file, and use the schema file for code completion(to complete a tag or attribute name, or suggest a list of valid attribute values) and validation(to indicate invalid tag or attribute names within the editor, so that you dont have to wait until you compile the file). The method for associating an XML document with a schema file depends on the editor. This chapter gives instructions for some popular editors. 2.1.?Types of Schema There are three types of schemas in popular use: DTDs, XSD, and RNG (and its associated format RNC). The LZX schema is distributed in each of these formats. They can be found in the lps/toolsdirectory. A Document Type Definition(DTD) is the oldest type, and is recognized by the most editors. Unfortunately, the DTD format is very weak compared with the other schema descrip
文档评论(0)