![]() |
|
|||||||||
Validating KML As You GoTo use some of KML's more advanced features (such as, Region, TimeSpan/TimeStamp, and ScreenOverlay), you must author the KML in a text editor. You can use a basic text editor, such as Notepad (Windows) or TextEdit(Mac OS X), however, basic text editors don't provide error-checking. That means that you won't discover mistakes until you try to open the file in Google Earth, and recieve a parse error. jEdit is an open-source, Java-based text editor that works on Windows, Mac OS X, and Linux. Using a few additional plug-ins, jEdit provides as-you-type error checking to ensure that your KML is well-formed and validates against the official KML schema. This tutorial will show you how to set-up jEdit for editing KML and demonstrate some of its error-checking abilities.
Why Use a Validating Editor? (video)This very short video demonstrates the iterative process of editing KML with a basic text editor vs. jEdit. Note: this video does not have sound. Using jEdit to Validate KML as You Go
Before You Start
The following videos show you how to set up jEdit plug-ins to work with XML files and how to properly reference the KML 2.1 schema, so that your documents are validated as you type.
Setting up jEdit Plugins to Validate KML (video)Summary: Set up the jEdit plugins required for this tutorial.
Using jEdit to Validate KML as You Go (video)Summary: Link your document to the KML schema, and practice correcting XML errors and invalid KML.
Discussion / FeedbackHave questions about this tutorial? Want to give us some feedback? Visit the Google Earth Outreach Discussion Group to discuss it with others.
What's Next?Want to test out your new skills? Check out these other tutorials that require some hand-editing of KML: | ||