Re: [xml] Getting error messages, how?
- From: Rush Manbert <rush manbert com>
- To: "Theodore H. Smith" <delete elfdata com>
- Cc: xml gnome org
- Subject: Re: [xml] Getting error messages, how?
- Date: Mon, 17 Apr 2006 16:04:33 -0700
Theodore H. Smith wrote:
I want to use libxml2 to report what is wrong with some XML. Basically,
to generate an informative error report.
For example something like:
"Badly formed attribute on like 56, <p s=='s'>"
How do I get libxml2 to do this?
Use xmllint, which comes with libxml2. You might have to fool around
with path specifications if you have DTDs, included files, etc. Check
out the online help.
- Rush
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]