[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Use XSLT to check a bunch of XHTML files for well

Subject: Re: Use XSLT to check a bunch of XHTML files for well-formedness?
From: "Peter Flynn peter@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Feb 2021 22:25:21 -0000
Re:  Use XSLT to check a bunch of XHTML files for  well
On 16/02/2021 20:53, Roger L Costello costello@xxxxxxxxx wrote:
Hi Folks,

I have a folder containing a large number of XHTML files.

I want to know: for each file, is it well-formed?

What is the easiest and fastest way to see if each file is well-formed?

Install rxp and run


$ for f in *.xhtml; do rxp -xs $f; done

That performs a well-formedness test and outputs only errors.

rxp comes from the Language Technology Group at Edinburgh University,
https://www.ltg.ed.ac.uk/software/rxp/

Peter

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.