[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] xsd validation
- From: Daniel Veillard <veillard redhat com>
- To: Aron Stansvik <elvstone gmail com>
- Cc: xml gnome org, Senthil Nathan <rsennat gmail com>
- Subject: Re: [xml] xsd validation
- Date: Tue, 18 Dec 2007 16:01:02 -0500
On Tue, Dec 18, 2007 at 08:09:43PM +0100, Aron Stansvik wrote:
> Hello Senthil.
>
> 2007/12/18, Senthil Nathan <rsennat gmail com>:
> > Hi,
> > I would like to know is there any examples available with libxml2,
> > which validates the xml files against a xsd schema.
> >
> > I guess, xml schema is still under development in libxml2.
> >
> > But please point to me, if there is an example on that.
>
> No example for that on the web site, but if you look at the code for
> the xmllint program [1] that comes with libxml2 you can find an
> example. Look for the code that is used when xmllint is invoked with
> --schema. This is mostly code guarded with if (schema != NULL) I
> think. Maybe some clever searches at codesearch.google.com can come up
> with some examples too.
there is testSchemas.c in the source distribution too,
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]