Re: XHTML tester

On Fri, 21 Apr 2000, Simon St.Laurent wrote:

> Has anyone built a bit of code that makes it easy to test large numbers of
> XHTML files (and generated documents) for well-formedness, validity, and
> conformance to the XHTML 1.0 spec?
> 
> Just curious - RUWF and the W3C validator don't seem like large-scale
> enough of a solution to recommend to Web application developers.


I suppose you could wrap nsgmls with a shell script wrapper and use the
shell script to batch out things as command line arguments.... something
like

#! /bin/sh
for i in $*
do
   nsgmls -ccatalog_id -o${i}.out ${i}
done

kinda ugly though. Is that a reasonable option? 

Ian

Received on Sunday, 23 April 2000 19:38:31 UTC