ÍøÂçѧԺ w3popÉçÇø ÍøÂç×ÊÔ´ ITÐÂÎÅ

w3pop.com :: ÍøÂçѧԺ :: XML :: XML ±à¼­Æ÷

»áÔ±µÇ½

ÕʺÅ

ÃÜÂë

»Ø´ð

¼ÇסÃÜÂë

Íü¼ÇÃÜÂë? ×¢²á

XML
XML DHTMLÐÐΪ
XML Ïà¹Ø¼¼Êõ
XML ±à¼­Æ÷
XML ÕªÒª
XML ʵÀý
XML×Ö·û±àÂë
xml ÎĵµÊ÷
IEºÍ»ðºü¶ÁÈ¡XML·..

XML ±à¼­Æ÷


×÷Õß:w3pop.com ·­Òë/ÕûÀí:w3pop.com ·¢²¼:2007-04-29 ÐÞ¸Ä:2007-08-16 ä¯ÀÀ:3079 :: ::

If you are serious about XML, you will benefit from using a professional XML Editor.
Èç¹ûÄã¶ÔXMLµÄʹÓ÷dz£ÑϽ÷£¬ÄÇôרҵµÄ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