spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / xml / column8

Editing XML: The Good, the Bad, and the Ugly

Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?


If you, through reading this column or otherwise, became an avid backer of XML technology, you face several challenges in adopting it: Immature and missing tools, short supply of XML-knowledgable colleagues, confusing and contradicting industry initiatives. And it all starts with the most fundamental question:

How to safely and comfortably edit XML documents?

Depending on your expectations for editing comfort and the depth of your pockets this question has several answers. In the XML jungle we distinguish the following species:

The Purists

The purists avoid all special-purpose editors. They know their DTDs by heart and match opening and closing tags in the back of their head, up to ten nesting levels deep at least. Trained by programming languages with curly braces or begin-end pairs they benevolently smile at pointy brackets, until they need hours to get their one page XHTML document finally accepted by the W3C validator. The largest family within that species relies on:

Microsoft Notepad and Internet Explorer

Internet Explorer 4 and 5 check XML documents for well-formedness and display them in a textual tree structure with expanding and collapsing branches.

Errors are flagged in the browser window, together with the offending data and the corresponding line number:

Any text editor will do the job, and one with line numbers is extremely helpful when you tend to confuse tag nesting levels. The new Mozilla browser currently lacks a default stylesheet for XML data, so it can only be used for proof-reading with an CSS stylesheet tailored to the XML document type to be edited.

Next are the The Freewarers

.

http://www.internet.com

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business

Produced by Michael Claßen
All Rights Reserved. Legal Notices.

URL: http://www.webreference.com/xml/column8/index.html
Created: Feb. 13, 2000
Revised: Aug. 17, 2000