Notepad++
Notepad++ has an optional plugin to allow you to validate an XML file against an XSD (this is good because it is a free "gratis" tool).
First, download and install Notepad ++ here
Download and add XML tools plugin for Notepad ++ here
Download the ExternalTools.zip as well from the sourceforge link above and extract the contents to the Notepad++ install folder.
Restart Notepad ++
Open XML file to validate, Click Plugins | XML Tools | Validate now
A window will pop up with errors or validation successfully completed message.
jEdit
jEdit also has optional plugin to validate XML against an XSD.
First download jEdit here
Open jEdit and click Plugins | Plugin Manager
Check the box for XML plugin, click install button
Open the XML file, validation errors appear as red underlines.
Also in jEdit you can open Plugins | XML | Parse as XML will open a window and show a tree navigation of the XML jumping to the first error found if any.
cygwin
An optional package to install in cygwin is called libXML2, this package includes a command line tool named xmllint which can also validate XML against an XSD
$ xmllint --schema /cygdrive/c/path/to/xsd/myschema.xsd /cygdrive/c/path/to/xml/myxml.xml
Sunday, January 2, 2011
Subscribe to:
Posts (Atom)
About Me
blogs
Tags
- Personal (77)
- weigh-in (59)
- development (29)
- Java (23)
- loss (18)
- gain (15)
- tools (15)
- Software Engineering (13)
- Software (12)
- Austin (10)
- eclipse (7)
- J2EE (6)
- Maven (6)
- Family (4)
- XSLT (4)
- Linux (2)
- career (2)
- finance (2)
- gardening (2)
- Belts (1)
- Eleanor (1)
- IE7 (1)
- LDS (1)
- atg (1)
- car (1)
- javascript (1)
- resume (1)
- taxes Personal (1)