Re: Use XSLT to check a bunch of XHTML files for well-formedness?
| Newsgroups | gmane.text.xml.xsl.general.mulberrytech |
|---|---|
| Message-ID | <[email protected]> |
Hi Roger, If you can do this in linux, you can run xmllint --noout xhtml/*.xhtml if the directory is flat, or find xhtml/ -name '*.xhtml' -print0 | xargs -0 xmllint --noout if the directory has hierarchy. (Using "find -print0" plus "xargs -0" allows filenames with spaces and other special/escaped characters to be handled robustly.) If you're using Windows 10, you can install WSL (Windows Subsystem for Linux) to be able to run linux commands directly in your Windows environment. - Chris --~---------------------------------------------------------------- XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/3329386 or by email: [email protected] --~--