Menu

[a72281]: / examples / bigxml-embed-ref  Maximize  Restore  History

Download this file

8 lines (7 with data), 301 Bytes

#!/bin/sh
. ./bigxml
xmldoc '<a>foo</a>' '<!DOCTYPE root SYSTEM "dtd/bigxml.dtd">' \
    | ./xmlstarlet val --embed --err - 2>&1 >/dev/null \
    | ${SED:-sed} -n "$SEDLINUM_PROG" \
    | head -n 1 # a bug in libxml 2.9.0 causes extra errors to be
                # printed, so we take just the first
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.