Validating XML file

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
prashob12
Posts: 18
Joined: Thu Oct 25, 2007 1:31 am
Location: India

Validating XML file

Post by prashob12 »

Hi all,

How to validate the xml file against DTD using textpad

Regards,
Prashob N
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

TextPad is a fine text editor but it is only a text editor. It might be able to accomplish your task via an external tool but I cannot recommend any tool at this point.
I choose to fight with a sack of angry cats.
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

PFSchaffner
Posts: 8
Joined: Mon Jul 09, 2007 3:50 pm
Location: Ann Arbor, Michigan
Contact:

XML validation

Post by PFSchaffner »

The most convenient and reliable command-line XML
validators I know of that work in a Windows environment and
can be scripted easily (and therefore invoked as a 'tool'
within TextPad) are xmlstarlet and xmllint, both based
on the libxml libraries and both free.
--
Paul Schaffner | PFSchaffner@umich.edu
Univ. of Michigan Digital Library Production Svc
Post Reply