当前位置: 首页 > 网络学院 > XML相关教程 > XML > XML 编辑器

XML
XML DHTML行为
XML 相关技术
XML 编辑器
XML 摘要
XML 实例
XML字符编码
xml 文档树
IE和火狐读取XML方法比较

XML 编辑器


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 517 ::
收藏到网摘: n/a

If you are serious about XML, you will benefit from using a professional XML Editor.
如果你对XML的使用非常严谨,那么专业的XML编辑器可以帮你大忙。


XML is Text-based
XML是基于文本的

XML is a text-based markup language.
XML是基于文本的标记语言。

One great thing about XML is that XML files can be created and edited using a simple text-editor like Notepad.
XML挺不错的一点就是可以使用如记事本这样简易的文本编辑器来创建和编辑XML文件。

However, when you start working with XML, you will soon find that it is better to edit XML documents using a professional XML editor.
然而,当你开始编辑XML后,你就会很快地发现,使用专业的XML编辑器来编辑XML文档会更加严谨和方便。


Why Not Notepad?
为什么不使用记事本编辑XML?

Many web developers use Notepad to edit both HTML and XML documents because Notepad is included with the most common OS and it is simple to use. Personally I often use Notepad for quick editing of simple HTML, CSS, and XML files.
许多Web开发者都使用记事本来编辑HTML和XML文档,因为最普通的操作系统都包含记事本,并且易于使用。我本人经常使用记事本编辑简单的HTML、CSS以及XML文件。

But, if you use Notepad for XML editing, you will soon run into problems.
但是,使用记事本编辑XML很容易出问题。

Notepad does not know that you are writing XML, so it will not be able to assist you.
记事本不知道你正在编写XML,所以它并不会协助你。


Why an XML Editor?
为什么需要一个XML编辑器?

Today XML is an important technology, and development projects use XML-based technologies like:
今天XML已经成长为一个非常重要的技术了,发展工程都在使用基于XML的技术,如:

  • XML Schema to define XML structures and data types
    XML Schema 定义一个XML结构和数据形式
  • XSLT to transform XML data
    XSLT 转换XML数据
  • SOAP to exchange XML data between applications
    SOAP 在应用程序间交换XML数据
  • WSDL to describe web services
    WSDL 描述具体的Web服务
  • RDF to describe web resources
    RDF 描述具体的Web资源
  • XPath and XQuery to access XML data
    XPath 和 XQuery 访问XML数据
  • SMIL to define graphics
    SMIL 定义图像

To be able to write error-free XML documents, you will need an intelligent XML editor!
为了实现XML文件编写上的“零错误”,我们需要一个非常智能的XML程序编辑器。


XML Editors
XML 程序编辑器

Professional XML editors will help you to write error-free XML documents, validate your XML against a DTD or a schema, and force you to stick to a valid XML structure.
专业的XML程序编辑器会帮助你实现XML文件编写的“零错误”,通过DTD或一个有效的格式验证XML的有效性,从而使你能够遵循一个正确有效的XML结构去书写XML。

An XML editor should be able to:
一个XML编辑器应该具备下面这些功能:

  • Add closing tags to your opening tags automatically
    存在开始标签的,可以自动生成结束标签
  • Force you to write valid XML
    强制你用有效的XML代码编写
  • Verify your XML against a DTD
    通过DTD验证你所编写的XML代码
  • Verify your XML against a Schema
    通过Schema验证你编写的XML代码
  • Color code your XML syntax
    根据XML不同的语法给不同的XML代码标记不同的颜色

Altova's XMLSpy

At W3Schools we have been using XMLSpy for many years. XMLSpy is our favorite XML editor. These are some of the features we especially like:
我们已经使用 XMLSpy 多年。XMLSpy 是我们最喜欢的XML编辑器。下面列举了XMLSpy的一些具体优点:

  • Easy to use
    使用方便
  • Syntax coloring
    用不同的颜色标记代码
  • Automatic tag completion
    自动生成结束标签
  • Context-sensitive entry helpers 
    与上下文相关的登陆助手
  • Automatic well-formed check
    自动检查格式正误
  • Easy switching between text view and grid view
    实现文本形式和点格形式的交互式浏览
  • Built in DTD and / or Schema validation
    内置 DTD 和/或 Schema 的有效性验证功能
  • Built in graphical XML Schema designer
    内置 XML Schema 图像格式设计器
  • Powerful conversion utilities
    强大的转换功能
  • Database import and export
    数据库输入和输出功能
  • Built in templates for most XML document types
    内置大量的XML文档类型模板
  • Built in XPath 1.0 / 2.0 analyzer
    内置XPath 1.0 / 2.0 分析器
  • XSLT 1.0 / 2.0 editor, profiler, and debugger
    XSLT1.0 / 2.0 编辑器、仿形器和调试器
  • SOAP client and debugger
    SOAP 客户端和调试器
  • Graphical WSDL editor
    图形WSDL编辑器
  • Full SOAP and WSDL capabilities
    具备SOAP和WSDL的全部功能
  • Powerful project management capabilities
    强大的项目管理功能
  • Code generation in Java, C++, and C#
    以 Java、C++ 或 C# 格式生成代码的功能

关于XMLSpy更多的信息

评论 (0) All

登陆 | 还没注册?